Vision BarcodeDetector doesnt read Data Matrix barcodes


Vision BarcodeDetector doesnt read Data Matrix barcodes



It reads QR codes just fine. but cant read datamatrix at all! i saw here that it did work for someone else when the barcode was in the center of the frame, but it doesnt work for me too.



I built it so it should read DATA_MATRIX :


detector =
new BarcodeDetector.Builder(ctx)
.setBarcodeFormats(Barcode.DATA_MATRIX | Barcode.QR_CODE)
.build();



Any1 dealt with this issue?









By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Popular posts from this blog

How to add background colour in existing image using Swift?

Moria Casán

How to make file upload 'Required' in Contact Form 7?