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 scanner not scanning PDF417 barcode on south african driving license #53
Comments
I am able to reproduce the same thing using my California driver's license. And I can confirm that other barcodes, like QR codes, scan in the app. Let me report this to the ML Kit team. |
I am also experiencing similar issues with license PDF417 scanning. When scanning an Ontario Canada license it will return the result as |
Reported internally b/135923143 |
any further updates on this bug? |
Experiencing same thing, this bug was opened on 28th Feb, it's now basically Oct. How much time is needed to get some kinda fix or feedback? |
Any update on that ?? Not even working for Bangladesh National ID |
Any update on this?? Not working for Uganda National ID as well |
Experiencing same issue with Ontario Health card Pic taken from Ohip manual |
Hi! Any update on this? Same issue with argentinean license |
Hi! I am also curious to see if any work has been done on this. What i have seen is it works on older SA driver license not newer ones. Not sure if its a change in the PDF417's that's not catered for in ML kit |
same issue |
Tested PDF417 decoding (US DL) from camera feed and it was not working at the beginning. |
YES, BUT IT STILL DIDNT WORK FOR ME. CAN YOU SHARE YOUR IMAGE, SO I CAN TRY
SCANNING IT AND SEE IF ISSUE IS RESOLVED. THANKS
…On Sun, Mar 8, 2020 at 12:59 AM zeckyUs ***@***.***> wrote:
Tested PDF417 decoding (US DL) from camera feed and it was not working at
the beginning.
I had to raise the picture resolution (switched from 480x360 to 1280x720)
to make it work. Did you try increasing the picture resolution?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<https://github.com/firebase/quickstart-android/issues/819?email_source=notifications&email_token=AF2XO5F5JJ6UYXM2UXRIBC3RGKOCRA5CNFSM4G24OMSKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEOEDP6Y#issuecomment-596129787>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AF2XO5FCLTFEEPIY6LQLU53RGKOCRANCNFSM4G24OMSA>
.
--
Best Regards
Ankit Ostwal
|
I am facing the same issue as described above for the new Florida DL. Almost one year that this bug was reported but there is not a feedback from firebase_ml_vision team. Please, this feature is really important for us. Thank you |
So i managed to get the DL scanning using image processing. This is not the best solution as it reduces the speed of the capturing process significantly. The Issue i am speculating with the DL above is basically FB is looking for the Start and End but can't find it. @ANY FIRE BASE ADMIN. I would love to test this out. Is there a way i can pull the PDF417 code? I am sure this will help a lot of people. |
Any updates on this bug? This was reported a year ago. |
Have you tried the new bundled model version which has better accuracy & latency but size is bigger though? It's mentioned at the top of this page (https://firebase.google.com/docs/ml-kit/android/read-barcodes) and requires a new dependency ("firebase-ml-vision-barcode-model") in addition to "firebase-ml-vision". |
@zhouyiself I tried with I tired the Barcode Scanning in |
@rohitr308 Thanks for the confirmation! Any chance you can share a test image that didn't work? |
BTW, be aware of that the input image should not be too small for these denser formats. |
I think that is the problem. It works when the input images are large. Sorry for the wrong information. |
The SA drivers license (first post) has the following information (Andoid App that I am working on that uses the Android Mobile Vision scanner): License type 1: EB |
Any solution here? |
Has anybody found a way to scan this barcode ? |
I had to switch to zxing |
Zxing is it working for you? |
Did this work for anyone? I am also facing this issue, the workaround I did was adjusting the zoom ratio of camera to 0.8F and used 1920x1080 for the size but it does not 100% work fully, especially on complex PDF417 like stated above. Should I consider using zxing? or anyone have a better solution? Thank you in advance! |
Unfortunately I have not come right, I have also not tried XZing yet. I used the normal google vision library and it worked 100% everytime on a Samsung A2 Core but not on newer devices for somereason. I am busy switching to MLKit at the moment and if that doesn't work I am going to try ZXing |
Do you have any solution for this issue ? facing same issue |
Hey there, I am trying to scan format PDF 417 as well and it always recognizes it as a TYPE_TEXT. When I scanned my own drivers license it does recognize it was a TYPE_DRIVER_LICENSE. This is weird does anyone know why? |
You have to use Zxing for barcode scanning and MLkit for everything else such as text-in-image scanning. As for Uganda national Id, Zxing can to a good accuracy (around 90%) scan the bar code of the Uganda National ID but ffor other things like scanning National Id Number, Name, Village etc, please use MLKit. |
My company (https://www.sprinthive.com) has a commercial service for decoding of the ZA driver's licence (both the alphanumeric and image data - all versions) from the base64-encoded string. |
Has anybody found a way to scan this RSA drivers license barcode ? |
Yes on Android and Windows. both the image and DL information |
Apr 2024, Has anybody found a workaround? |
Yes, I will have to go look for my code. but I had used MLKIT to do it with the correct optimizations. |
Sorted, I was using the wrong resolution, the license requires a larger resolution. https://developers.google.com/ml-kit/vision/barcode-scanning/android#input-image-guidelines |
Step 1: Describe your environment
Step 2: Describe the problem:
I am not able to scan PDF417 barcode on south african driving license (attached below) . It dosent scan anything. I am using default mlkit project of github. I have added Firebase to the project.
Following are dependencies used.
Steps to reproduce:
Observed Results:
There are constant recurring logs.
2019-02-28 21:10:34.172 3508-3746/com.google.firebase.samples.apps.mlkit D/MIDemoApp:CameraSource: Process an image
2019-02-28 21:10:34.172 3508-3746/com.google.firebase.samples.apps.mlkit D/skia: onFlyCompress
Expected Results:
Scan the PDF417 barcode and show appropriate result in context to it. I scanned the same driving license via. Microblink app and it scans perfectly.
Relevant Code:
Used the mlkit code on github.
The text was updated successfully, but these errors were encountered: