-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FaceDetector randomly crashing APP on iOS #18
Comments
Yes. I have the same issue with this plugin. |
Mee tooooooo.... |
I am trying to replicate the crash, can you supply the face detector code you are using? |
Same issue here!
Then I use mlCameraImage and mlMetaData as input values for face detection algorithm. Actually I can't share my full code, but after some tests I found that it seems like the crash occurs only when a portion of the face is processed (for example, when the picture contains only half of user's face). My detector is
My lib version is google_ml_vision: ^0.0.5, and my device is an iPhone 6 with iOS 12.5.3. |
Edit no.1: Checked through Crashlytics tool, seems like the crash is located here:
Hope this might help you. |
*** -[NSMutableArray addObjectsFromArray:]: array argument is not an NSArray
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[NSMutableArray addObjectsFromArray:]: array argument is not an NSArray'
*** First throw call stack:
(0x19998586c 0x1ae9a0c50 0x1999f5e1c 0x1999fc0ec 0x19986f1f4 0x106c23054 0x106c22334 0x19957824c 0x199579db0 0x1995877ac 0x19990111c 0x1998fb120 0x1998fa21c 0x1b14c6784 0x19c33aee8 0x19c34075c 0x104283b84 0x1995ba6b0)
libc++abi.dylib: terminating with uncaught exception of type NSException
frame #0: 0x00000001c78da414 libsystem_kernel.dylib`__pthread_kill + 8
The text was updated successfully, but these errors were encountered: