oostendo / python-zxing

python wrapper for the ZXing barcode library
http://code.google.com/p/zxing
273 stars 103 forks source link

Pass image instead of image path #24

Open jgtjerry opened 5 years ago

jgtjerry commented 5 years ago

Hello,

I want to pass the image directly instead of the image path.

img=cv2.imread('IMG_1736.JPG')

barcode_reader(str(img)

How can I do that