googlesamples / googlesamples/mlkit
[Bug report] Cannot scan South Carolina IDs PDF-417 barcode
- Dominant language
- Kotlin
- Stars
- 4.3k
- Forks
- 3.1k
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the bug**
My app uses MLKit to scan barcodes in a live camera preview and the barcode scanner really has trouble scanning the PDF-417 barcode present on South Carolina IDs.
**To Reproduce**
Here is a sample of south carolina ID where the PDF-417 code fails to be detected:
[south carolina id sample.pdf](https://github.com/user-attachments/files/24583553/south.carolina.id.sample.pdf)
I've used the following demo app (Barcode Scanning > Batch Mode on > Scan): https://play.google.com/store/apps/details?id=com.geniusscansdk.simpledemo&hl=en
**Expected behavior**
The code should be properly detected, at least when the device is in landscape orientation and the barcode takes almost all the preview size.
**SDK Info:**
com.google.android.gms:play-services-mlkit-barcode-scanning:18.3.1
**Smartphone:**
Pixel 6a - Android 16
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.