Skip to content

Instantly share code, notes, and snippets.

@shuax
Created February 22, 2024 02:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shuax/cf446a8c05ee8405f4d2bbc9d9ad47ad to your computer and use it in GitHub Desktop.
Save shuax/cf446a8c05ee8405f4d2bbc9d9ad47ad to your computer and use it in GitHub Desktop.
from pyzbar.pyzbar import decode
from PIL import Image
for i in range(1, 38):
x = decode(Image.open('{}.png'.format(i)))
print(x[0].data.decode(), end="")
# break
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment