NaturalHistoryMuseum / pyzbar

Read one-dimensional barcodes and QR codes from Python 2 and 3.
MIT License
724 stars 175 forks source link

Giving empty list as output! #75

Open snehitvaddi opened 4 years ago

snehitvaddi commented 4 years ago

My code goes like this import cv2 import pyzbar.pyzbar as pyzbar img = cv2.imread('C:\\Users\\vsneh\\OneDrive\\Desktop\\pic.png',0) objs = pyzbar.decode(img) print(objs) This is returning empty list '[ ]'. I have specified all the loactions correctly. My image looks like this : pic

tugbakara commented 1 year ago

I had a same issue, do you which type of data pyzbar can handle my input dtype is uint8?

harivamsi9 commented 1 year ago

Facing the same issue. img1 I am not getting the bounding box. need help!