quaggaJS icon indicating copy to clipboard operation
quaggaJS copied to clipboard

Unable to scan code-128 barcode format

Open shreya-sawardekar opened this issue 3 years ago • 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

shreya-sawardekar avatar Apr 21 '21 02:04 shreya-sawardekar

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 avatar Apr 21 '21 14:04 ericblade

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

shreya-sawardekar avatar May 06 '21 12:05 shreya-sawardekar

Same problem here

baeteja avatar Jun 09 '21 09:06 baeteja

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.

ericblade avatar Jun 11 '21 01:06 ericblade

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

kuhlaid avatar Jul 31 '21 20:07 kuhlaid