-
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
PDF417 and Driver License Scan not detected #11
Comments
There is a known issue with driver's licenses from certain states (for example, Illinois) not conforming to the PDF417 spec. We have developed a fix and hope to release it soon. |
Awesome, great to hear! Thank you. |
You can capture all barcodes and process only the type you need.
How can I only recognize one specific barcode type?— |
hanzo3: We're getting off-topic, but this isn't entirely correct: detector = new BarcodeDetector.Builder(getActivity().getApplicationContext()) setBarcodeFormats() only works with the barcode format constants (e.g. Barcode.PDF417). DRIVER_LICENSE is a value format type that is only used in the detector output via Barcode.valueFormat. |
Oh yeah, good catch. I was going to test that as it seemed odd since DL is PDF417 but never got the Drivers License to work in my state. I did get it to work from an online example from a different state and should have read the doc instead of assuming with code assist. Thanks! |
The PDF417 decoding fix was released with Play Services 8.3: https://developers.google.com/vision/release-notes For drivers license parser improvements, please refer to issue #77. |
I have tried this sample after implementing other camera solutions (cwac-cam2, native camera). I have not successfully been able to decode a pdf417 or Driver License bar code. I have no problem with 1D or QR codes.
The text was updated successfully, but these errors were encountered: