4 ms·
Hey, author of the post here. Detecting the barcode is actually the easy part. Reading the barcode is substantially harder. And there are many different types o
by zionsrogue 12y ago
Hey, author of the post here. Detecting the barcode is actually the easy part. Reading the barcode is substantially harder. And there are many different types of barcode variations. It's not a simple problem, unfortunately. However, this approach could be used to read the barcode. I'll add a post related to reading the barcode to queue though! Thanks for the great feedback.
- mark-r 12y agoIf you restrict yourself to UPC barcodes it's actually quite easy. I've done it in pure Python, don't even need Numpy. Unfortunately it's not ready for prime time yet.
- wiredfool 12y agoI did a python barcode decoder for Code39 a few years ago: http://www.wiredfool.com/2006/07/04/barcode-recognition/ http://www.wiredfool.com/2006/07/04/barcode-recognition/ . Alternate symbologies aren't that hard to do since the decoding instructions are floating about. And helpfully enough, my code needed a pretty good crop on the barcode, and that's what this article gives you.
- zionsrogue 12y agoThis is great, thanks for sharing.