Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scan using Android Rear Camera result in inverted camera #70

Open
desmond0412 opened this issue Aug 24, 2017 · 4 comments
Open

Scan using Android Rear Camera result in inverted camera #70

desmond0412 opened this issue Aug 24, 2017 · 4 comments

Comments

@desmond0412
Copy link

Hi, i am trying your live demo using android rear camera. It worked using inverted QR code, is there any way i can call the function to invert it back to normal?

Thanks

@Tieantono
Copy link

Yes please, I also want to know the solution too. The device I'm using is Samsung J7 Pro, and I'm using Firefox for the browser.

@alecpo
Copy link

alecpo commented Sep 1, 2017

Yes please, I also want to know how to fix it! Help us Schmich ! I'm using LG G3 and opera/google brower.

@tsklee
Copy link

tsklee commented Sep 4, 2017

Yes plz help with the inverted iaaue

@michaelneu
Copy link

"Temporary fix": There's a mirror option, which you can pass to the Scanner's constructor like this:

let scanner = new Instascan.Scanner({
  video: document.getElementById('preview'),
  mirror: false // prevents the video to be mirrored
});

Using this option, the rear facing camera will provide the correct, non-mirrored image.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants