mebjas / html5-qrcode

A cross platform HTML5 QR code reader. See end to end implementation at: https://scanapp.org
https://qrcode.minhazav.dev
Apache License 2.0
4.7k stars 935 forks source link

open QR code parse error, error = D: No MultiFormat Readers were able to detect the code. #823

Open ks1990cn opened 10 months ago

ks1990cn commented 10 months ago

I am writting following code: https://openjavascript.info/2022/12/10/qr-code-scanner-with-html5-qrcode-js/

But getting an error: open QR code parse error, error = D: No MultiFormat Readers were able to detect the code.

Gone through https://github.com/mebjas/html5-qrcode/issues/202 but when I put some changes, it stops giving me this error instead it stops decoding it completely.

I am facing same issue with Demo site, its not scanning anything.

I am doing this on desktop google crome.

KaviHarjani commented 10 months ago

+1

Facing the same issue

m42e commented 10 months ago

I experience a similar one, the qr code could be detected with all other scanners I have tried:

Bildschirmfoto 2023-09-07 um 05 48 04
mmis1000 commented 9 months ago

I experience a similar one, the qr code could be detected with all other scanners I have tried:

Bildschirmfoto 2023-09-07 um 05 48 04

I have the similar problem, the scanner does not work if I use file upload with some specific qrcode. And I found a workaround. For some reason. If I rotate the code slightly (1 degree or something) with canvas. Then it works as expected.

Not sure if it is the same with your case

RaneWallin commented 9 months ago

I'm seeing the same error even though the code is detected and decoded. I removed the console.warn() from the onScanFailure callback for now.