googlesamples / mlkit

A collection of sample apps to demonstrate how to use Google's ML Kit APIs on Android and iOS
Apache License 2.0
3.57k stars 2.93k forks source link

[Bug report] Valid Datamatrix code not recognized #487

Closed EvgenyParfenov closed 1 year ago

EvgenyParfenov commented 2 years ago

Android, com.google.mlkit:barcode-scanning v.17.0.2 PXL_20220417_124505385

ananth10 commented 2 years ago

Hi, @calren I have tried barcode scanner from material show case sample app Barcode Scanner. scanner is working for most of standard barcode & QR code but the scanner is not working for Data Matrix barcode like Data Matrix (GS1) format. and i have tried to scan the above 2D Data matrix format given by @EvgenyParfenov and also few other barcode(attached images) but the scanner is not detecting it. it would be very great if you suggest a solution/ workaround to make scanner to scan Data Matrix (GS1) format code. please check attached barcode images. Thanks

barcode_1 barcode_2
disjustin commented 1 year ago

May I suggest this as a feature request, not a bug report? All supported barcode formats are provided here and GS1 DataMatrix is not the same as DataMatrix as specified here

Links: https://developers.google.com/android/reference/com/google/mlkit/vision/barcode/common/Barcode.BarcodeFormat https://www.gs1.org/standards/gs1-datamatrix-guideline/25#1-Introduction-to-GS1-DataMatrix

miworking3 commented 1 year ago

Yeah, it is on our radar as a feature request.

miworking3 commented 1 year ago

I'm afraid with the shift of priority in our team, there is no plan in the near future to address this.