dlbeer/quirc

3 out of 4 QR codes in this image give ECC failures

Closed this issue · 5 comments

qr-codes-4

This webapp https://qrcodereader.glitch.me/ I wrote using https://github.com/cozmo/jsQR when run on a phone can find all 4 by just showing the image on the screen of a computer and then having the phone capture it.

NOTE I'm porting quirc to WASM. I already got the the compilation to WASM working and its running a lot faster than jsQR. On my PC it runs a scan within 1-2ms. Will share that when I cleaned it up a bit

OK thanks will have a look.

@dlbeer I am starting to understand the the test_neighbours and test_grouping() functions but I have some problems with the perspective mapping functions. Can you point me what the math is behind this array c[QUIRC_PERSPECTIVE_PARAMS]. It has 8 members. I expected it to have 6 members because I think you are trying to undo an affine transform. There are also the constant 7 and 3.5 in the code. What do these constants represent? I would appreciate some explanation or a good pointer to stuff to read. Thanks

The fix for this issue is in #109