Created
October 30, 2022 14:17
-
-
Save mebjas/3717ab520b4e8f4a4f473b9cdf5c0032 to your computer and use it in GitHub Desktop.
Config for enabling torch with Html5QrcodeScanner
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let html5QrcodeScanner = new Html5QrcodeScanner( | |
"reader", | |
{ | |
fps: 10, | |
qrbox: {width: 250, height: 250}, | |
rememberLastUsedCamera: true, | |
aspectRatio: 1.7777778, | |
showTorchButtonIfSupported: true | |
}); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment