Open maglub opened 3 years ago
Same Issue #121. It seems that recognition fails if the swiss cross bars have similar height/width as qrcode-squares.
Hej @maglub! I was able to decode all of the images you provided with my OSS project named Koder. It is based on zbar 0.23.90 (compiled into WebAssembly). You can check out the demo here: https://qr.maslick.tech
But it works not on commandline eg "zbarimg pic.png". Tested with lastest version from here (0.23.92).
It seems to have something to do with QR code error correction:
$ zbarimg -v -q qrbill.png
qr_code_decode: Number of errors corrected: -1 (data irrecoverable)
qr_code_decode: Number of errors corrected: -1 (data irrecoverable)
dump_stats: symbol sets allocated = 1
dump_stats: scanner syms in use = 0 recycled = 0
dump_stats: image syms in use = 0 recycled = 0
dump_stats: symbols allocated = 0
dump_stats: recycled[0] = 0
dump_stats: recycled[1] = 0
dump_stats: recycled[2] = 0
dump_stats: recycled[3] = 0
dump_stats: recycled[4] = 0
_zbar_qr_destroy: max finder lines = 127x127
Hi, thank you for the great work. I have the same problem tested on Ubuntu 22.04 and 0.23.92 zbar version.
Is there any news regarding this issue?
Thanks for an amazing tool!
I have one example of a non readable qrcode, a Swiss QR Bill code. These are used on bills in Switzerland, and can be generated here: https://qrportal.ch/one#paymentForm
I found a not so practical workaround in https://github.com/mchehab/zbar/issues/65, meaning that I would edit the QR code to be able to read it.
These are following the ISO standard, and are valid QR code.
Bad, non working image:
When I removed the "swiss" sign in the middle of the QR code, zbarimg can read it.
Working image:
The QR code on page 11 in the specification works:
But the QR code on page 42 does not work:
References