cozmo / jsQR

A pure javascript QR code reading library. This library takes in raw images and will locate, extract and parse any QR code found within.
https://cozmo.github.io/jsQR/
Apache License 2.0
3.64k stars 602 forks source link

Fails to read larger QR code Versions #155

Open RokLenarcic opened 4 years ago

RokLenarcic commented 4 years ago

The component (I've tried it myself and also on the demo page), can detect the presence of larger QR code versions but the returned data is empty.

It fails to read the following QR code, yet https://zxing.org/w/decode.jspx can.

Photo-on-09-03-2020-at-21-34-3

RokLenarcic commented 4 years ago

I think the problem might be the encoding or some other mode. Here is the technical details of this QR:

- Version 15 (77x77 modules).
- Byte data (Mode Byte, Binary).
- ECC (and ECL) level M (Error Correction Level M).
- ECI (Extended Channel Interpretation).
- (ECI value 000004)
- encoding ISO-8859-2.
- module size 0,42333 mm x 0,42333 mm.
- code size 32,59676 mm x 32,59667 mm.

perhaps the encoding here is the problem?

cozmo commented 4 years ago

Thanks for the detailed report!

ch3njust1n commented 2 years ago

Any updates on this?

RokLenarcic commented 2 years ago

Yeah, I changed from jsQR to zxing-js for my QR reader