serratus / quaggaJS

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

Combine all EAN barcodes... #238

Open quantaxproj opened 6 years ago

quantaxproj commented 6 years ago

Hi Guys, I'm asking if is possible to combine all the EAN codes together in search. Basically, I'd like to scan EAN_13, EAN_8 (reader should figures out if is 13 or 8). (one barcode at a time). Is this possible with quagga ?

Thank you.

lakshman2891 commented 6 years ago

Hey @quantaxproj ! i am working on this from last two month's and yes you can use ean_reader. but the chances of getting false positives is more. and set half-sample to false. i think this will work.

quantaxproj commented 6 years ago

sho

Thanks @lakshman2891 . Did you mean this configuration? Because in this way it recognizes only EAN_13 not EAN_8

lakshman2891 commented 6 years ago

Hey @quantaxproj , i am talking about scanning EAN-13 bar code type. when scanning EAN-13, there is a chances of reading it wrongly, like instead of 13 characters- it will read 8 characters.

lakshman2891 commented 6 years ago

@quantaxproj sorry for sound! are you talking about printing the barcode type in the console or webpage??

quantaxproj commented 6 years ago

@Iakshman2891 My goal is to create a web app that uses quagga. The user launch quagga, without select ean type..., I need only ean13 and ean8, quagga should recognize the ean type and print resulta in webpage. The user scans one barcode at a time, and only ean13 or ean8 types. The goal is make this without use select optino box Ean (for 13) or ean_8 (for 8)...

lakshman2891 commented 6 years ago

@quantaxproj i understand now. if you use ean_8_reader and ean_reader in your decoder config file. this will work. but recognizing the ean_13 bar code types provide lot of false positives.