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

Scanning of big QR codes does not work in html5-qrcode, but works with ZXing demos #380

Open
StenGruener opened this issue Jan 3, 2022 · 11 comments

Comments

@StenGruener
Copy link

Describe the bug
I cannot scan this big QR code: https://user-images.githubusercontent.com/25526781/53473345-76778700-3a6a-11e9-9ee4-2b72e19d691a.PNG

To Reproduce
Scan.

Expected behavior
I expect same output as with the ZXing demo: https://zxing-js.github.io/library/examples/multi-camera/

Screenshots
If applicable, add screenshots to help explain your problem.

Smartphone (please complete the following information):

  • OS: iOS
  • Browser Safari
  • Version 5.2

Additional context
Will updating ZXing dependency help?

@ibalaji777
Copy link

facing same problem

@mebjas
Copy link
Owner

mebjas commented Jan 8, 2022

At a library level I can see that the underlying library is able to decode the QR Code.

One potential issue could be due to the QR box size which only covers a small portion of the viewfinder and thus to get the full qrcode you have to move a lot back and the QR code gets blurred due to filtering.

I'll check with an option for full size QR Scanning.

@StenGruener
Copy link
Author

@mebjas ping, any updates here?

@angelocuartel
Copy link

I'm actually facing the same issue right now.

@StenGruener
Copy link
Author

bump

@StenGruener
Copy link
Author

@mebjas ping, we are facing a bad-blocker by this issue any idea how to adjust viewfinder?

@mebjas mebjas self-assigned this Feb 10, 2022
@mebjas
Copy link
Owner

mebjas commented Feb 10, 2022

I was able to reproduce this well - the shared QR code couldn't get decoded with file based scanning either.

One idea that come to mind is by using a larger hidden canvas, I'll try that.

@mebjas
Copy link
Owner

mebjas commented Feb 10, 2022

I can verify that the zxing demo is able to scan the code, investigating further.

@noelho
Copy link

noelho commented Feb 16, 2022

I just tried this and I managed to scan the QR code, however, I had to set my QRBox to at least 500px.

I was also having trouble scanning large sized QR codes, but it looks like increasing the QR box size resolves this issue. However, the downside is my capture screen becomes larger and larger.

I assume this has to do with the resolution of the image making it easier for the QR code to be decoded?

@StenGruener
Copy link
Author

Ping and bump

@mbrotos
Copy link

mbrotos commented Oct 3, 2023

Still an issue

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

No branches or pull requests

6 participants