Open kunal3210 opened 4 years ago
I have the same problem
Check the errors result, and/or validate that the barcode scanned is valid, before passing it on. Especially from a LiveStream, your input image may have significant differences between scans, maybe your autofocus hardware/software is figuring it out at the same time the reader is scanning, the position is different, etc. It's going to be a lot more stable if you feed it the identical image repeatedly.
@ericblade Thanks for your reply, i solved it by mentioning all the possible parameters for readers
as
decoder : {
readers : ["code_128_reader","ean_reader","ean_8_reader","code_39_reader","code_39_vin_reader","codabar_reader","upc_reader","upc_e_reader","i2of5_reader","2of5_reader","code_93_reader"]
},
Probably not a good idea to have ALL of the barcode readers, but hey, if it works, go for it
Why is it returning different results for same barcode.I really don't understand the reason behind it.
Here is an image of different results i have only scanned one barcode and have got many different values.
And here's my code
Please tell me what to do next.