Merricx / qrazybox

QR Code Analysis and Recovery Toolkit
https://merricx.github.io/qrazybox/
MIT License
367 stars 42 forks source link

Perfect QR cannot be decoded #17

Open PSLLSP opened 7 months ago

PSLLSP commented 7 months ago

I have found a QR code that is not damaged but QRazyBox cannot decode it; error is Couldn't find enough finder patterns (found 2). I tried zbarimg and barcode can be decoded, no issue:

$ zbarimg --version
0.23

$ zbarimg QR-mp-testX.png 
QR-Code:testX
scanned 1 barcode symbols from 1 images in 0.01 seconds

QR was generated with qrencode -l M -t utf8 -c 'testX', QRazyBox cannot decode it:

QR-mp-testX

Similar QR code, no issue, encoded string is test0 and test5... QR-mp-test0 QR-mp-test5

Merricx commented 7 months ago

Similar issue with https://github.com/Merricx/qrazybox/issues/16. Need to update/replace jsqrcode library.

Temporary workaround is to reconstruct QR code manually and decode it via Reed-solomon decoder.