EddieLa / JOB

A Barcode scanner capapable of reading Code128, Code93, Code39, Standard/Industrial 2 of 5, Interleaved 2 of 5, Codabar and EAN-13 barcodes in javascript.
http://eddiela.github.io/JOB
600 stars 204 forks source link

Commented source code / algorithm description? #19

Closed ghost closed 9 years ago

ghost commented 9 years ago

Is there any chance to get some good comments in your source code or a basic description of the algorithms you're using? I'm impressed with your success in reading barcodes but I'm having a tough time understanding what's going on behind the scenes. I'd like to be able to springboard off some of what you're doing for my own application.

I'm not that interested in the detection/straightening. My application assumes there's a single barcode in the viewfinder and scans directly across the center of it. I would appreciate anything you could offer in regards to thresholding/binarizing and accurately reading the bars. Decoding isn't too hard as long as the data is good.

Thanks!