-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Barcode.EAN_13 not recognized #7
Comments
This may be a camera focus issue -- some of the barcode formats work better when the camera is fully in focus. Is your app using CameraSource? As discussed in another thread, this initial release does not have an auto camera focus option on CameraSource, but this will be added in a future release. In the meantime, you might try the workaround suggested by Aeefire in this thread: |
I don't see the
Source: http://android-developers.blogspot.co.uk/2015/08/barcode-detection-in-google-play.html Update1: I tried myself and |
We have recently open sourced the CameraSource class: This version includes an auto-focus option, which will probably help. |
I am new in android .i have try QR_Code sample it is working fine . When I try to scan an EAN_13 barcode it is not working.i add this line in |
If you are using CameraSource, you'd enable focus mode by calling this builder method: |
While trying out the sample code:
works as expected.
When I try to scan an EAN_13 barcode:
Also I tried to configure a specific barcode variant, but this resulted in same behaviour:
The text was updated successfully, but these errors were encountered: