Created
September 15, 2020 07:09
-
-
Save wfng92/a5e089d78df23d92c0c5e1201379489e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from pyzbar.pyzbar import decode | |
from PIL import Image | |
img = Image.open('qrcode.png') | |
result = decode(img) | |
for i in result: | |
print(i.data.decode("utf-8")) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment