mlkit icon indicating copy to clipboard operation
mlkit copied to clipboard

MLKit Vision is reading code128 barcodes poorly

Open leoroh opened this issue 1 year ago • 1 comments

Describe the bug I performed the tests with the project: https://github.com/googlesamples/mlkit/tree/master/android/vision-quickstart

To Reproduce

This is working image

These are not working. image

If applicable, please include code snippet and sample input(image, video, text, etc)

Expected behavior A clear and concise description of what you expected to happen.

SDK Info:

  • 'com.google.mlkit:barcode-scanning:17.2.0'

Smartphone:

  • Device zebra tc57
  • android 10

leoroh avatar Aug 15 '23 13:08 leoroh

We have a similar experience building and executing the barcode scanner sample project provided in mlkit_code_scanner_sample. The result is poor for the following codes (also code128 length 22 digits)

barcode128 Screenshot 2023-10-19 at 17 38 04 Screenshot 2023-10-19 at 17 38 17

We have the similar wrong results in barcode-scanning:17.2.0 mentioned in this bug report.

Devices: Samsung Galaxy S10 (SM-G973F/DS) Android 12, Nokia 7.2 model TA-1196 Android 11

andreaMOnline avatar Oct 19 '23 15:10 andreaMOnline