mlkit
mlkit copied to clipboard
Barcode scanning -> ITF, Code 128, and Code 39 returning some wrong values
When i try to scan continuously (without stopping after a successful scan) ITF, Code 128, and Code 39 barcodes, some times the first characters of the barcode are returned wrong. I used the vision-quickstart app and the only change i made was to add a log line in the BarcodeScannerProcessor class to log the barcodes scanned. The issue appeared on com.google.mlkit:barcode-scanning:17.0.0 it doesn't happen on earlier versions
Example: Scanning an ITF barcode with the value 2401234567 it could return the value 1401234567
These are some barcodes with which i manage to reproduce the issue BarcodeTesting.docx
The models on which i manage to reproduce the issue: Pixel 3a Android 11, Pixel Android 10, Xcover 4 Android 7
Thanks for reporting this issue! Just want to double-check to confirm that it happens "sometimes" on com.google.mlkit:barcode-scanning:17.0.0 but not every time, and it didn't happen on earlier versions before, correct?
Yes, exactly
I have the version com.google.mlkit:barcode-scanning:16.0.2 and the same problem happens
https://github.com/googlesamples/mlkit/tree/master/android/vision-quickstart
https://github.com/googlesamples/mlkit/tree/master/android/material-showcase
Hi everyone!
I testing with quickstart project and I have similar error. In my case a partial result is detected (see images below).
Device: Redmi 5 plus OS: 8.1.0 MLKit Library: com.google.mlkit:barcode-scanning MlKiit Library Versions: 16.1.2 and 17.0.0
16.1.2 | 17.0.0 |
---|---|
![]() |
![]() |
Hi 16.2.0 seems to work great, but 17.0.0 is really bad. At least it was when I tried it on Code 39 barcodes.
Hello @SilverDestiny, there is updates about this issue?
comment1 was created a bug and we're working on it. I raised the priority for that.
For https://github.com/googlesamples/mlkit/issues/367#issuecomment-979399927, it looks like this is a different issue with partial barcodes are detected. Could you create another issue for it so that we can work on it separately? Thanks!
comment1 was created a bug and we're working on it. I raised the priority for that.
For #367 (comment), it looks like this is a different issue with partial barcodes are detected. Could you create another issue for it so that we can work on it separately? Thanks!
Hello @SilverDestiny there is a issue created in issue tracker: https://issuetracker.google.com/u/1/issues/207732702
Do you need another issue in github too?
https://issuetracker.google.com/u/1/issues/207732702 this one is enough Thanks for the link! Our internal team is working on it.
I'm afraid with the shift of priority in our team, there is no plan in the near future to address this.