-
Notifications
You must be signed in to change notification settings - Fork 95
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
Text Recognition Bounds Units #13
Comments
I'm exactly in your same situation. Can't find a way to limitate the area to scan, even using the pixelRation |
@francesco-clementi-92 this was working fine in iOS with pixel ratio, but I am also able to resolve it on android by using format in camera and then calculating pixel ratio using format width by screen width. |
Hi @codeapp17 I'd really appreciate a sample code as I'm fighting with this from weeks now |
@francesco-clementi-92 sorry for the late reply, below link would help |
Any updates on the issue, it seems the link you have provided doesn't give a fix :\ |
Hello.
Currently I am using Text Recognition using react-native-camera library and it returns bounds for x, y coordinates which I can filter for limiting scan area, it works perfectly fine.
But vision-camera-ocr is giving me different coordinates for scanning in the same location in the camera. I have try to use pixel density for converting corner points to dp but that also seems wrong bounds.
Can anybody provide me the information about how can i filter the bounds for limiting the scan area or frame processors give the coordinates in which units.
I am stuck with this for many days, any help would be appreciated.
The text was updated successfully, but these errors were encountered: