-
Notifications
You must be signed in to change notification settings - Fork 35
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
Terminated due to memory issue on physical device #22
Comments
I am having exact same issue. If anyone has a solution, I would like to know. |
I'm also having the same issue, except I'm on an iPhone 4s with iOS 9.2.1. |
iOS 9.3, iPhone 6 |
I managed to fix it by copying the contents of the openalpr.conf.defaults (from here) to the openalpr.conf that should be linked in the project. When I say it works i mean it crashes after 4 detections (memory) and takes like 20 seconds instantiating the PlateScanner object, but it works. Maybe the settings defined in the file should be tweaked for better performance, but I'm really new at this detection business. |
I believe the issue was: max_detection_input_width = 1280 It now works for me as well - at least with one iteration. Second iteration never works. No errors, but it never recognizes plates even when using the exact same image. |
Same issue here. Any working solution? |
Same issue here. @alvinbaena solution above worked for me |
as @alvinbaena 's solution, now i can build project to device but It can not recognize plate even when I used to do in simulator |
I've ran openalpr-ios on the simulator with success. Now I'm trying to run the project on an iPhone 6s (9.3.1) and each time I get the following output in my debug console:
I've enabled the "Address Sanitizer" under the "Diagnostics" tab to determine if I could find where the memory issue is occurring. After enabling, Address Sanitizer break points in PlateScanner.mm at this point in the code:
Address Sanitizer outputs this error in the console:
I've noticed the app loads okay so long as I don't provide it an image, but this doesn't help me much. I'm not sure how to go about this issue.
The text was updated successfully, but these errors were encountered: