Zbar doesn't work

wggjcmho report abuse

Hello! I’m trying to use ZBar with Python (I’m using pyzbar module for Python 3) to find barcodes and it doesn’t work. I load a picture to cv2, run decode() function on it and it finds nothing. I have clear images with good quality and distinctly looking barcodes on them.

Answers

KristaBel report abuse

Hi! I had a similar problem. Zbar is not adopted for big image size. It’s looking for small barcodes. Probably your images are very large. You should try to resize images to smaller sizes until it works.

wggjcmho report abuse

Thank you very much! It finds 4 of 6 barcodes now.

DBerlinger report abuse

You can blur them a bit also. It somehow helps.

Add Answer

Need support?

Just drop us an email to ... Show more