-
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
Cannot recognise texts when the orientation is not portrait #5
Comments
I find out that by modifying this line for Android :
To :
The OCR can recognize text vertically. I am also looking forward to changing the orientation by passing a param. I don't know if that's something that could be added to this package. |
Hey @Nazort, thanks for your reply. I'm working on iOS at the moment, so as a workaround I removed the lines ` // TODO: Get camera orientation state |
Hi, can you share the code? I'm having the issue, almost 2 years later |
I've installed the plugin correctly and it works pretty well if the orientation of the device is 'portrait'. However, when I either turn the text or device, it doesn't recognise the texts. Although I played a bit with the orientation property of the camera, no improvements achieved so far. When I looked into the pod of VisionCameraOCR, I came across with a todo as:
` @objc
public static func callback(_ frame: Frame!, withArgs _: [Any]!) -> Any! {
I'd highly appreciate any advices or hints. Thanks in advance!
The text was updated successfully, but these errors were encountered: