instascan
instascan copied to clipboard
Scanned object is being inverted
Hi there, when I scan the qr code, the screen is inverted from left to right. How can I fix this? Thank you
The constructor accepts a mirror
option which flips the video horizontally when set to true
. The default is true
but it sounds like you want it set to false
instead.
const scanner = new Instascan.Scanner({
mirror: false,
// ... other options
});
The constructor accepts a
mirror
option which flips the video horizontally when set totrue
. The default istrue
but it sounds like you want it set tofalse
instead.const scanner = new Instascan.Scanner({ mirror: false, // ... other options });
You saved my life... Thanks