ericblade / quagga2

An advanced barcode-scanner written in Javascript and TypeScript - Continuation from https://github.com/serratus/quaggajs
MIT License
748 stars 85 forks source link

EAN-13 Barcode is not scannable #393

Closed Qwoon closed 2 years ago

Qwoon commented 2 years ago

Hi, we faced the issue, that some ean-13 barcodes are not scannable, even after using the official example of quagga js. Most of the issue that are posted here (like #392) are working perfectly fine.

Here is the example of an "unscannable" barcode: photo_2022-01-26_16-07-00

github-actions[bot] commented 2 years ago

Thank you for filing an issue! Please be patient. :-)

ericblade commented 2 years ago

As far as I can tell, this one's not a UPC -- several readers that do decode it say it's a Code128.

The amount of shadows on the right hand side of this image specifically seem to prevent Quagga from decoding it, but it does locate the barcode square until that shadow gets too dark on the right.

I'm pretty confident that if you added code128 to your readers and improved the lighting a bit, that it would find it.

ericblade commented 2 years ago

@Qwoon i'm going to close soon if there's no further issue

ericblade commented 2 years ago

@Qwoon closing this issue, as there's nothing that I can find here to do on our end. Please come back to us if there's any further issues/discussion to be had :)