Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Python Script to Read QR Code

from pyzbar.pyzbar import decode
from PIL import Image
d = decode(Image.open("path-to-qr-code.png"))
# print(d)
print(d[0].data.decode())
Source by medium.com #
 
PREVIOUS NEXT
Tagged: #Python #Script #Read #QR #Code
ADD COMMENT
Topic
Name
1+8 =