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
5.08k stars 978 forks source link

Fix false positive issue in RSS_14 scan properly #223

Open mebjas opened 3 years ago

mebjas commented 3 years ago

While testing https://github.com/mebjas/html5-qrcode/pull/222 an issue was found in the library that once we scan a RSS 14 code format, the Zxing library would repeatedly give false positives on code scan. This is possibly a known issue in ZXing library - https://github.com/zxing-js/library/issues/211

For now the mitigation in https://github.com/mebjas/html5-qrcode/pull/222 has been to reinstantiate the ZXing.MultiFormatReader for every decode(..). This is not an ideal solution.

While testing for performance, I didn't observe major performance hit with the mitigation though.

xxxCam900xxx commented 1 year ago

Any news about this issue?