googlesamples / googlesamples/mlkit
[Bug report] Zeros are dropped in barcodes
- Dominant language
- Kotlin
- Stars
- 4.3k
- Forks
- 3.1k
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the bug**
When scanning barcodes with 4 or more zeros in the center of the barcode the return value sometime is missing a zero or two.
**To Reproduce**
Scan any 128 or 39 barcode with 4 or more zeros in the middle. This problem was seen in both our app and the demo app from mlkit.
sample barcodes:

**Expected behavior**
Scan REQ0000001 barcode and we expect to see the value REQ0000001 returned. Instead we sometimes see REQ000001
**SDK Info:**
- SDK Name & Version[ [e.g. com.google.mlkit:face-detection:16.1.3]](com.google.mlkit:barcode-scanning:17.2.0)
**Smartphone:**
- Device/Simulator: Samsung Galaxy Tab S7
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.