serratus/quaggaJS

Unable to scan code-128 barcode format

Opened this issue · 5 comments

I am trying to scan a barcode of format code 128. But the library is not scanning the barcode correctly.

I tried using the demo page: https://serratus.github.io/quaggaJS/examples/live_w_locator.html

I have attached the barcode.

Environment used:
Mobile : One plus 8
OS: Android 11
Browser: Chrome 90
barcode

fwiw, inlite can read it (https://online-barcode-reader.inliteresearch.com), so the code is good. i dont have time to fiddle with it in quagga right now, but my suspicion is that quagga might need a little more discernible whitespace around it, although some settings might be tweakable to get there...

@ericblade can you please let me know what settings i need to tweak?

Same problem here

Whenever I encounter problems with a particular type or on a particular hardware, i take an image of the barcode and feed it to the live demo page, and then start adjusting things. Sorry i don't have better advice.

Scanning the barcode image on the examples page gives different results (shown below)
OnPaste 20210731-160929