You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On Chrome ZXing based decoder takes 20-25 ms on my Mac book pro 16.
On Chrome BarcodeDetector based decoder takes 8.6-11 ms on my Mac book pro 16.
// How to enable// Note: will only work if browser / OS supports this HTML api.// Read more: https://developer.mozilla.org/en-US/docs/Web/API/BarcodeDetector#browser_compatibilityfunctiononScanSuccess(decodedText,decodedResult){// handle success.}lethtml5QrcodeScanner=newHtml5QrcodeScanner("reader",{fps: 10,qrbox: 250,experimentalFeatures: {useBarCodeDetectorIfSupported: true}});html5QrcodeScanner.render(onScanSuccess);