Comments (13)
Hello Steve, any update on this issue?
from qrcode.
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
from qrcode.
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.
Steve, after verifying changes for #8 I found that L
Q
and 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.
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.
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.
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.
Sent you some more string over email.
from qrcode.
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.
Doing a few "syndrome" checks on the ECC shows that there's an error correction code generation problem... close to a solution
from qrcode.
Vlad, this latest update passes my testing - can you confirm with yours?
from qrcode.
Example production using the latest update and the original issue string (have also validated various others):
from qrcode.
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from qrcode.