My code goes like this
import cv2import pyzbar.pyzbar as pyzbarimg = 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 :
My code goes like this![pic](https://user-images.githubusercontent.com/35267863/76640153-74993c80-6575-11ea-9bb9-b79e0baca010.png)
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 :