zxing-js / ngx-scanner

Angular QR code, Barcode, DataMatrix, scanner component using ZXing.
https://zxing-js.github.io/ngx-scanner/
MIT License
640 stars 228 forks source link

Unable to scan data matrix code #442

Open shreya-sawardekar opened 2 years ago

shreya-sawardekar commented 2 years ago

Describe the bug In my angular application, I have a requirement to scan the datamatrix codes. I am able to scan the code_128 barcode and QR code as well. But when it comes to data matrix code, the scanning doesnt work.

Expected behavior Data matrix codes should get scanned successfully.

Smartphone (please complete the following information):

I used the demo site as well to try to scan but I wasn't able to.

@werthdavid can you please help? I would really appreciate it.

Attached the data matrix code I am unable to scan.IMG_20211108_164345.jpg

rvalitov commented 2 years ago

Can you try another device? Perhaps related #430 ?

shreya-sawardekar commented 2 years ago

@rvalitov I think since the size of the data matrix code is very small, the scanner takes a lot of time to scan. With proper lighting conditions and moving the camera focus, I could scan the barcode.