Closed mlove4u closed 2 years ago
OS: macOS Big Sur 11.2.2 Python: 3.7.4 pyzbar: 0.1.8
This two images cause the problem: https://github.com/mchehab/zbar/blob/master/examples/sqcode1-generated.png https://github.com/mchehab/zbar/blob/master/examples/sqcode1-scanned.png
My code:
from PIL import Image from pyzbar.pyzbar import decode file1 = "sqcode1-generated.png" print(decode(Image.open(file1)))
Thanks very much.
Thanks @mlove4u
OS: macOS Big Sur 11.2.2 Python: 3.7.4 pyzbar: 0.1.8
This two images cause the problem: https://github.com/mchehab/zbar/blob/master/examples/sqcode1-generated.png https://github.com/mchehab/zbar/blob/master/examples/sqcode1-scanned.png
My code:
Thanks very much.