-
Notifications
You must be signed in to change notification settings - Fork 945
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
Issue when using UIImagePickerControllerOriginalImage (large images #47
Comments
I've tested even bigger images, panorama images, and everything worked well. |
Thanks for the reply Cyril - The only preprocessing I was doing was just a black and white conversion. But you’re right, the photo must have been too noisy, scaling down and back to the original size seems to do the trick, I get a better recognition rate as well on strings that have fractions (such as 1/4). anyway let me know if there is (or if you have) a special list of special image transforms I should apply to enhance the recognition. thanks again for the help!
|
Take a look here: #42. |
ah! excellent! Doing an adaptive Threshold Filter did the trick. Lower res photos have issues (I have a couple that are 600px wide) but changing the contrast, some adaptive threasholding and most of the camera taken photos get great recognition rate now. Thanks for the help!
|
I guess, it could be closed. |
It seems the lib is having issues with large images. If I use the original size pict (2448x3244) the lib just returns garbage. Resizing the image to something more human (like <1024) seems to return good results. Maybe this is by design but I could not find any explications anywhere so I'm just reporting the issue in case someone else wonders why getting the UIImage using UIImagePickerControllerOriginalImage return garbage..) thanks!
The text was updated successfully, but these errors were encountered: