socure-inc / socure-docv-sdk-ios

iOS library for the Socure's Document Verification Product - DocV
Other
7 stars 4 forks source link

MLModelCompilation issues (release 3.2.0) #17

Closed empowerRyanFerrell closed 1 year ago

empowerRyanFerrell commented 1 year ago

Thanks for resolving the AVCaptureSession hitch! Noticed a new issue in prepping to bump to 3.2.0:

(1) Three purple main thread warnings have stack traces that tip with [MLModel(MLModelCompilation)compileModelAtURL].

(2) BlurDetection.mlmodelc, CornerDetection, and GlareIntensityCheck pop manifest missing debug warnings. Unsure if there's intent to ship or compile at runtime.

(3) Perhaps compilation can be done eagerly, before camera presentation: there's an animation hitch on first push of the camera capture view from tapping DL/passport buttons, but not on subsequent pushes.

2023-04-25 14:34:54.656294-0700 Empower Dev[37140:11372517] [CoreML] This method should not be called on the main thread as it may lead to UI unresponsiveness.
2023-04-25 14:34:54.657103-0700 Empower Dev[37140:11372517] [coreml] Failed to read model package at file:///var/containers/Bundle/Application/23A79011-FDD9-46D8-A2C1-66C7DE8A7E8F/Empower%20Dev.app/Frameworks/SocureDocV.framework/BlurDetection.mlmodelc/. Error: A valid manifest does not exist at path: /var/containers/Bundle/Application/23A79011-FDD9-46D8-A2C1-66C7DE8A7E8F/Empower Dev.app/Frameworks/SocureDocV.framework/BlurDetection.mlmodelc/Manifest.json
buraksocure commented 1 year ago

Thanks for reporting this! @empowerRyanFerrell We will review and get back to you.

CC: @rburunkayaSocure Please submit a ticket. Thank you!

ailynempower commented 1 year ago

@rburunkayaSocure @buraksocure Hi folks, any updates on this? Thanks!

buraksocure commented 1 year ago

Hi @ailynempower Thanks for following up. We expect this issue will be fixed with our 3.3.0 version and It will be released by end of Q2.

rburunkayaSocure commented 1 year ago

Hi @ailynempower , this issue has been fixed within v4.0.0. Let us know if you need anything else.