-
-
Notifications
You must be signed in to change notification settings - Fork 43
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
Orientation #13
Comments
You'd rotate the image before processing with MLKit. Reference: https://developers.google.com/ml-kit/vision/text-recognition/android |
Thanks, I'm not sure how to determine the rotation though. So what I'm doing right now is rotating it 4 times and running OCR 4 times. Then I present to the user to pick which one is closest. :( |
@Noitidart Can you tell me how you rotate image before OCR ? |
@mlcal I use Expo so I used their
|
In iOS I'm having issue that if I don't take the photo in landscape it won't read the text.
And on Android I'm having issue of it only working in portrait mode.
Is this an expected thing? Is there a way to hint orientation so I don't have to rotate photo?
The text was updated successfully, but these errors were encountered: