Например, это работает

Код: Выделить всё
[Decoded(data=b'GOAL', type='QRCODE', rect=Rect(left=16, top=16, width=168, height=168))]

Код: Выделить всё
[]
Код: Выделить всё
decode(image, scan_locations=True)

Код: Выделить всё
[Decoded(data=b'GOAL', type='QRCODE', rect=Rect(left=16, top=16, width=168, height=168))]

Код: Выделить всё
[]
Код: Выделить всё
decode(image, scan_locations=True)