Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Library works fine with small json but with jsons upto 4 kb we are not able to decode data back from qrcode. #224

Open
punitaojha opened this issue Apr 21, 2021 · 2 comments

Comments

@punitaojha
Copy link

Here is a google colab link
https://colab.research.google.com/drive/1SToqOjzAyHPtJVeUSJMxnDbPcFUHXtvj?authuser=5#scrollTo=whr2DrzrMGT5

you will see that when we uncomment small json with only two keys we get right results, otherwise with big json either we get some numbers in byte string which cannot be decoded back or empty array.

@Vasiliy566
Copy link

Vasiliy566 commented Aug 18, 2021

i had same @punitaojha
1 I tried to code with qrcode.make() and decodes with qrtools.QR, so it was about 0.05% QR codes with long = 200 that was' not detected
2 I changed qrtools.QR reader to pyzbar.pyzbar.decode - so that issue closed for me that way
https://pypi.org/project/pyzbar/

@turicas
Copy link

turicas commented Aug 25, 2022

There's a limit in the QRcode spec where you can store up to ~2.9kB of data (more info).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants