Skip to content
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

[ios] Could not recognize image data when object is captured in portrait | landscape mode. #40

Open
k-saparia opened this issue Dec 2, 2022 · 1 comment

Comments

@k-saparia
Copy link
Collaborator

Hello

Our project is using this library to recognize text from an image. Everything is works as expected on android side but on iOS If I capture image in portrait mode, It does not recognize text. However, here is the catch! If I rotate an object (for instance card) or it has text to 270 degree and then I capture image or text and It will be able to recognize text from images accurately.

Following this issue: the possible solution would be to able to detect image in normal view (like portrait mode and orientation set to 6)

does anyone facing same issue on iOS? I can not use expo-image-manipulator before processing to OCR!!

@michaelpol90
Copy link

Yes, IOS have diffrent orientation when you take a picture, check this solution:
#13

I don't tested but meybe it will be work :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants