quaggaJS
quaggaJS copied to clipboard
Bar-code is not detected on this picture
I think I had tried all the settings, but quaggaJS doesn't read the bar-code on this picture.
Doesn't work on the examples here https://serratus.github.io/quaggaJS/v1.0.0-beta.1/examples/file-input/ and https://serratus.github.io/quaggaJS/examples/file_input.html .
Do you have any advice?
Might try with the singleChannel setting, i believe it's called. I'm not real sure. My first inclination was that maybe it's not actually valid, but server-based location/decoding seems to work when i send it to another site that does that sort of thing. I suspect that Quagga's locator is probably having issues finding it.. but i'm not real sure how any of that works to try to suggest improvements.. another thing might be loading the image into photoshop or gimp and adjusting various parameters until you find something quagga can recognize.. at least then it would give us an idea.
I think the problem lies at the core of the algorithm. The traditional image processing was used, which has a limited number of parameters to capture complex natural scenes. A new approach that I have seen so far is to use deep learning at the cost of the processing time.
I don't mean to discourage from input, but that's not exactly a helpful or meaningful reply -- basically saying "no, you can't do it". Suggesting some methods for figuring out why it doesn't work, would be helpful. Or even for figuring out what part isn't working. Clearly, we're not even getting past the barcode location. Is it because of the shadow? Is it because there's not enough whitespace? Does it decode if you tell the decoder where you expect the barcode to be (using the "area" parameters) ?
I've had issue like this when printing labels. Some of our scanners cant read them if they're too close to the edge, it appears as if they see the edge of the label (or edge of your postit) as part of the start/stop bits for the barcode and then cant make sense of the rest of the barcode. Do the other barcodes on that label scan? how close are they to the edge? try trimming the label to minimise additional shadows/lines that could be read as an edge. I know its not much use when you're working with labels you have no control over but we found that if we drifted too close to the edge of a label, some scanners wouldnt be able to read them