qr2eascii
qr2eascii copied to clipboard
use more robust scanner to allow for blurry/crooked qr codes
the squares in the corners of the qr code are missing a block
this is how it looks:
██ ██ ████ ████ ████████
████████████ ████████ ██████ ██ ██████████ ████████████
██ ██ ████ ██ ██ ██ ██ ██ ████ ██ ██
██ ██ ██████ ██ ████ ████ ██ ██ ██ ██
██ ██ ██████ ██ ██ ██ ██ ██ ██ ██
██ ████ ██████ ██ ██ ██ ██ ██ ████ ██ # here
████████████ ████ ██ ██ ████ ██ ████ ██ ████████████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██████████████████ ████ ██ ████ ██ ████ ████████████████████
██ ██ ████ ████ ████ ██████ ██ ████████████
████ ████████ ████ ████ ██ ██████ ██ ██████ ██ ██
████ ████ ██ ████████ ████ ████
██ ████ ██ ██████████████ ██ ██ ████████ ██ ██ ████ ████
████████ ██ ████ ██████ ████████ ██ ████████
████████ ██ ████ ██████ ████████ ██ ████████
██ ████████ ██ ██ ████ ██ ████ ██ ██ ████████████
██ ████████ ████████████████ ██████████████ ██ ████████
██ ██████████ ██ ████ ██ ██ ██████████████ ██
████ ██████ ██████ ████ ██████ ██████████ ██
██ ████████ ██ ████████ ██ ██ ████ ██ ████
██ ████████ ████ ██ ██ ██████████
██ ██ ████████ ██ ██ ██ ██ ██ ██ ████████████████
████ ████████ ████ ██ ██ ██ ████████ ████ ████████████
████ ████████ ████ ██ ██ ██ ████████ ████ ██████████
██████ ██████ ████ ██ ████ ██████ ██████ ██ ██
██ ██ ██ ██████ ██ ██ ████ ██ ██ ██ ████
██ ██ ██████ ██ ██ ████████████ ██ ██████ ████
██ ██ ██████ ██ ██ ██████ ████ ██
██████████████████ ██ ████ ████████████████ ██████ ██
████████ ██ ██ ██ ██ ██ ██ ██████
████████████ ████████ ████████ ████ ████ ██████ ████
██ ████ ██ ████████████ ████ ██ ████ ████ ██ # here
██ ██ ██ ████████████ ████ ██ ████ ████ ██
██ ██ ██ ██ ██ ████████████████████
██ ██ ████ ████████ ██ ██ ██ ██ ████
████████████ ██ ██ ██ ██ ██ ██████ ████████████
██ ████ ██ ██ ██ ██████
this is how it should be:
██ ██ ████ ████ ████████
████████████ ████████ ██████ ██ ██████████ ████████████
██ ██ ████ ██ ██ ██ ██ ██ ████ ██ ██
██ ██ ██████ ██ ████ ████ ██ ██ ██ ██
██ ██ ██████ ██ ██ ██ ██ ██ ██ ██
██ ██ ██████ ██ ██ ██ ██ ██ ██ ██ # here
████████████ ████ ██ ██ ████ ██ ████ ██ ████████████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██████████████████ ████ ██ ████ ██ ████ ████████████████████
██ ██ ████ ████ ████ ██████ ██ ████████████
████ ████████ ████ ████ ██ ██████ ██ ██████ ██ ██
████ ████ ██ ████████ ████ ████
██ ████ ██ ██████████████ ██ ██ ████████ ██ ██ ████ ████
████████ ██ ████ ██████ ████████ ██ ████████
████████ ██ ████ ██████ ████████ ██ ████████
██ ████████ ██ ██ ████ ██ ████ ██ ██ ████████████
██ ████████ ████████████████ ██████████████ ██ ████████
██ ██████████ ██ ████ ██ ██ ██████████████ ██
████ ██████ ██████ ████ ██████ ██████████ ██
██ ████████ ██ ████████ ██ ██ ████ ██ ████
██ ████████ ████ ██ ██ ██████████
██ ██ ████████ ██ ██ ██ ██ ██ ██ ████████████████
████ ████████ ████ ██ ██ ██ ████████ ████ ████████████
████ ████████ ████ ██ ██ ██ ████████ ████ ██████████
██████ ██████ ████ ██ ████ ██████ ██████ ██ ██
██ ██ ██ ██████ ██ ██ ████ ██ ██ ██ ████
██ ██ ██████ ██ ██ ████████████ ██ ██████ ████
██ ██ ██████ ██ ██ ██████ ████ ██
██████████████████ ██ ████ ████████████████ ██████ ██
████████ ██ ██ ██ ██ ██ ██ ██████
████████████ ████████ ████████ ████ ████ ██████ ████
██ ██ ██ ████████████ ████ ██ ████ ████ ██ # here
██ ██ ██ ████████████ ████ ██ ████ ████ ██
██ ██ ██ ██ ██ ████████████████████
██ ██ ████ ████████ ██ ██ ██ ██ ████
████████████ ██ ██ ██ ██ ██ ██████ ████████████
██ ████ ██ ██ ██ ██████
can you provide the prompt and specific input (image or text) where it breaks?

py converter.py -i qrcode.png --invert
I tried all correction methods
yes, the whole output is broken anyway (can also see that in the timing lines) but as the image is blurry and the conversion being extremely crude, it is expected behavior for now, see Notes when converting images in the README.md could be solved by using an actual qr code scanner, labeled this issue accordingly as a tracker for that