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

Not working correctly on iOS #35

Open
kodolex opened this issue Aug 30, 2022 · 1 comment
Open

Not working correctly on iOS #35

kodolex opened this issue Aug 30, 2022 · 1 comment

Comments

@kodolex
Copy link

kodolex commented Aug 30, 2022

The module works fine on Android device.
But when I try to use it on iOS it does not seem to work properly with the same pictures. detectFromUri returns only random single letters as a result of text recognition. What could be the problem?

Like this, but there are a lot of text lines in the picture.

[{"bounding":{"height":274,"left":1239,"width":402,"top":649},"cornerPoints":[{"y":649,"x":1266},{"y":691.5904541015625,"x":1640.5865478515625},{"y":922.105224609375,"x":1614.3770751953125},{"y":879.5147705078125,"x":1239.79052734375}],"lines":[{"elements":[{"bounding":{"height":274,"left":1239,"width":402,"top":649},"text":"w","cornerPoints":[{"y":649,"x":1266},{"y":691.5904541015625,"x":1640.5865478515625},{"y":922.105224609375,"x":1614.3770751953125},{"y":879.5147705078125,"x":1239.79052734375}]}],"bounding":{"top":649,"width":402,"left":1239,"height":274},"cornerPoints":[{"x":1266,"y":649},{"x":1640.5865478515625,"y":691.5904541015625},{"x":1614.3770751953125,"y":922.105224609375},{"x":1239.79052734375,"y":879.5147705078125}],"text":"w"}],"text":"w"}]

@mlcal
Copy link

mlcal commented Sep 2, 2022

You must rotate camera to back when you take a photo :)

#13

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