zxing-js / library

Multi-format 1D/2D barcode image processing library, usable in JavaScript ecosystem.
https://zxing-js.github.io/library/
Apache License 2.0
2.47k stars 546 forks source link

ChecksumException #361

Open hamoha31 opened 3 years ago

hamoha31 commented 3 years ago

Describe the bug It takes too long to correctly scan the QR Code. Most of the times this exceptions shown: ChecksumException at Decoder$2.correctErrors (https://mysite.com/js/zxing.js:12888:23) at Decoder$2.decodeBitMatrixParser (https://mysite.com/js/zxing.js:12859:22) at Decoder$2.decodeBitMatrix (https://mysite.com/js/zxing.js:12806:29) at QRCodeReader.decode (https://mysite.com/js/zxing.js:14268:46) at BrowserQRCodeReader.decodeBitmap (https://mysite.com/js/zxing.js:3516:32) at BrowserQRCodeReader.decode (https://mysite.com/js/zxing.js:3470:25) at loop (https://mysite.com/js/zxing.js:3448:41)

I used all recent versions and some old versions too. This bug in version 0.18.3-dev.7656630 https://unpkg.com/@/library@0.18.3-dev.7656630/umd/index.js

It is on every platform (web and mobile)

odahcam commented 3 years ago

This is not a bug, this is just the library's expected behaviour.