Barcode Scan with Python -
what want capture barcode of products webcam or usb barcode reader don't have clue begin with.
in case, user scan barcode , based on barcode happen, browser display picture of product.
i have heard zbar, looked @ information on youtube , other places found built products in use.
could me on it?
i haven't played much, zbar seems work ok, long barcodes (including qr codes) of reasonable quality. iirc, got zbar-tools , python-zbar debian repos.
the zbar python documentation pretty minimal, there 2 example programs @ sourcearchive, 1 scanning barcodes /dev/video (i.e. video4linux device) , 1 scanning image file; image file read using imagemagick library, can handle wide range of image file formats.
i don't have scanner, webcam, etc, i've tested zbar image files. tries find & decode in image looks barcode, , doesn't mind if barcodes aren't aligned nicely or little bit noisy.
Comments
Post a Comment