Giter Club home page Giter Club logo

Comments (13)

zepplock avatar zepplock commented on August 30, 2024

Hello Steve, any update on this issue?

from qrcode.

komone avatar komone commented on August 30, 2024

Looks like it's not the data but the error correction at the root of this. I am thinking currently that the ECC bytes are overriding the data and flipping a bit in the value. Note that $7 = 0x37 and $' = 0x27

from qrcode.

komone avatar komone commented on August 30, 2024

This doesn't look trivial to get to the root of, but I have a quiet period coming up that may help me focus :)

from qrcode.

zepplock avatar zepplock commented on August 30, 2024

Steve, after verifying changes for #8 I found that L Qand H modes are working but now M mode is the only one that fails for a given string (referenced in the original post). Same problem, last character 7 is turned into '

from qrcode.

komone avatar komone commented on August 30, 2024

Yep the issue in #6 and #8 is different to this issue. There's an error correction issue that's causing a bit to flip in the data (overriding the embedded value). Further examples if you find them could perhaps be helpful.

from qrcode.

zepplock avatar zepplock commented on August 30, 2024

Ok, let me see if I can get more strings. Going to be all URL-like strings. I get them 1 in 10 (on average).

from qrcode.

komone avatar komone commented on August 30, 2024

My current hypothesis is that the ec code is causing a bit flip, so will be interesting to see if other examples could be explained by a single bit flip. I do not yet understand root cause.

from qrcode.

zepplock avatar zepplock commented on August 30, 2024

Sent you some more string over email.

from qrcode.

komone avatar komone commented on August 30, 2024

That's useful test data - thank you, Vlad. I should be able to isolate the issue and resolve it with this test data.

from qrcode.

komone avatar komone commented on August 30, 2024

Doing a few "syndrome" checks on the ECC shows that there's an error correction code generation problem... close to a solution

from qrcode.

komone avatar komone commented on August 30, 2024

Vlad, this latest update passes my testing - can you confirm with yours?

from qrcode.

komone avatar komone commented on August 30, 2024

Example production using the latest update and the original issue string (have also validated various others):
qr-issue7

from qrcode.

zepplock avatar zepplock commented on August 30, 2024

Steve, I tried it with M error correction level and it's working great! Can be closed.

from qrcode.

Related Issues (6)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.