4 ms·
Funnily enough I was mucking about last night trying to get some bar code detection stuff going with python and it seemed everyone uses ZBar for that. Would tha
by tim333 12y ago
Funnily enough I was mucking about last night trying to get some bar code detection stuff going with python and it seemed everyone uses ZBar for that. Would that have done the job in this case? I guess the article is more of a teaching project than an attempt to read barcodes...
( https://pypi.python.org/pypi/zbar https://pypi.python.org/pypi/zbar )
- zionsrogue 12y agoI have heard of ZBar but have never used it. It looks like the Python package wraps a binary, correct? Anyway, it looks like it could do the job.
- tim333 12y agoYeah, it's basically written in C. Supposed to work quite well though I was having tech issues getting it up on the macbook.
- lftl 12y agoYep, I've used Zbar for barcode detection in photographs before. It wasn't particularly fast for my usage, but a lot of the photos I was scanning weren't particularly well cropped around the bar code. I'd be interested in seeing some benchmarks between this approach and Zbar. Also, a ton of the barcode scanning mobile apps use zbar as well (they all use zbar's default interface unchanged).