serratus / quaggaJS

An advanced barcode-scanner written in JavaScript
https://serratus.github.io/quaggaJS/
MIT License
5.03k stars 978 forks source link

Not working with VIN Numbers (Code39) barcodes. #235

Open jamsshhayd opened 6 years ago

jamsshhayd commented 6 years ago

I am trying to build an app using this API that will read the Vehicle Identification Numbers and it does not read anything. here is the sample image that I am trying to read but the barcode app fails on it. VIN NUMBERS

Moreover, I am thinking to use the fileupload technique but it is not reading the code rather it just marks the barcode in a rectangle and does not return any value.

Can you please guide me to the right direction?

thevarunraja commented 6 years ago

I am also trying to decode VIN using file upload technique but it is not reading the code. Any help appreciated.

thevarunraja commented 6 years ago

@jamsshhayd Hey I tried your image using the file upload technique it decoded the barcode for me (1C4RJFAT9CC132581). I used the following options. Barcode-Type: Code 39 VIN Resolution(long side): 1280px

jamsshhayd commented 6 years ago

Hello @heyvarun . It works on file upload but I am trying the QuaggaJS to read on the live mode. It fails on the live mode. Still looking into it.

jamsshhayd commented 6 years ago

Sometimes it reads the image sometime it doesn't. Wondering if there is a way to make it work.

Test Screenshot

saloni29993 commented 6 years ago

Same for me. Sometimes it grabs, sometimes it doesn't. Would grab the barcode when tested using iPhone but wouldn't when using iPad. Has someone found any workaround?

Any help would be appreciated!

jamsshhayd commented 6 years ago

@saloni29993 It is not accurate when working with VIN numbers so I had to purchase the Dynamsoft SDK to accomplish the job. That was actually accurate in decoding the VIN numbers but it costed me a 1000 USD.

patrickmuhi commented 5 years ago

I used scandit SDK

jwosborn commented 2 years ago

@serratus I'm assuming there is no plan to address this issue?

If not, I totally understand, just thought I'd make sure.

ericblade commented 2 years ago

In general, the VIN decoder works, though like all of the decoders, it's often highly dependent on device and settings. Quagga can be especially touchy to noise around the barcodes making it difficult to narrow down the scanning area.