-
Notifications
You must be signed in to change notification settings - Fork 6
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
OCR scan andorid + ios #6
Comments
@thunq96 the library only provides algorithm API. https://github.com/yushulx/flutter_ocr_sdk/blob/main/example/lib/camera/camera_manager.dart mrzDetector.recognizeByBuffer(bytes, width, height, stride, format)
The scanning orientation is determined by the Flutter camera plugin. On Android, the format of the acquired camera frame is NV21, which means it is rotated by 90°, whereas on iOS, the format of the image is bgra8888. That's why you can scan vertically on iOS. |
@thunq96 how can you scan vertically on both Android and iOS? You can decode NV21 to RGB before calling |
@yushulx Thank you, but if I want to scan in multiple dimensions without turning on automatic rotation in the device, can I do that? |
@yushulx Where Can I get trial key for flutter? |
@thunq96 The license key ( |
I try it scan for andorid and IOS but I see , Android only scan horizontal and IOS only scan vertical.
I can andorid + ios scan vertical . Can the library do it?
The text was updated successfully, but these errors were encountered: