serratus/quaggaJS

Can't read code

vancrypto opened this issue · 2 comments

Tried multiple images but I am unsure if I have the correct reader. The codes appear to be code_128_reader compatible. The boxes get returned but no codeResult is returned. I've included two samples. Anyone know what I am doing wrong? The samples provided in the test directory work so I am certain that my code is functioning. Perhaps these are not code_128_reader compatible?

img4

img2

i hit a bunch of different online server based barcode decoders, and probably only 50% of them were able to decode it also. ZXing also failed. The ones that had a successful result do say that it's code 128, so it's almost definitely at least some kind of code 128. Might be some extended format or something, or it may just be a difficult to read image. You might try cutting just the barcode out, and placing it onto an all white background to ensure there's enough whitespace to decode, though honestly as wavy as those bars are, i'm pretty surprised it's readable by anything that's not a laser scanner.

i try demo and Did not work or scanned too hard