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
The performance of the native BarcodeDetector API 1 can be pretty bad 2, causing animations while scanning to be very choppy. Reducing the maximum number of scans per second helps, a bit. Disabling (or removing) window.BarcodeDetector (before calling .start()) makes QrScanner load the worker script and do its detecting there:
deletewindow.BarcodeDetector;
1: Chrome on non-M1/M2 macOS or Chrome OS or Android only, for now 2: In Chrome on my non-M1/M2 Macbook Pro at least, #YMMV
The text was updated successfully, but these errors were encountered:
☝️ This is more of a tip than an issue:
The performance of the native BarcodeDetector API 1 can be pretty bad 2, causing animations while scanning to be very choppy. Reducing the maximum number of scans per second helps, a bit. Disabling (or removing) window.BarcodeDetector (before calling
.start()
) makes QrScanner load the worker script and do its detecting there:1: Chrome on non-M1/M2 macOS or Chrome OS or Android only, for now
2: In Chrome on my non-M1/M2 Macbook Pro at least, #YMMV
The text was updated successfully, but these errors were encountered: