html5-qrcode icon indicating copy to clipboard operation
html5-qrcode copied to clipboard

Not able to detect the qrcode

Open xiehui999 opened this issue 1 year ago • 1 comments

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Go to https://scanapp.org
  2. Request Camera Permissions
image

Expected behavior The QR code cannot be recognized when scanning it with a mobile phone, but it can fail when uploading images. It can be reproduced using the demo.

Smartphone (please complete the following information):

  • Device: android, ios
  • OS: [e.g. iOS8.1]
  • Browser
  • Version [e.g. 22]

Additional context Currently, the information carried in the QR code is very short. If it is longer, it will be even more difficult to recognize.

xiehui999 avatar Jan 19 '24 10:01 xiehui999

Well I don't know what kind of image this is, but it is not part of the QR Code Standard, so why should a Qr Code Reader read this kind of image? https://www.qrcode.com/en/codes/

Think about it. If you draw a picture that contains coded information but don't tell anyone how to decode it, why are you surprised that no one can find the information it contains?

PS: html5-qrcode uses the Zxing decoder and it doesn't read such a image: https://blog.qr4.nl/Online-QR-Code-Decoder.aspx . I think something like this is called a "frameQr code" and its in no way popular or standard.

SaibotMagd avatar Mar 19 '24 13:03 SaibotMagd