Git Product home page Git Product logo

Comments (4)

missing avatar missing commented on July 19, 2024

Okay, figured out the issue here. Right now Android devices default to the front-facing camera and we don't have any method to hint at using the read camera, or in the case of Nexus 7 there is no rear camera. However the issue is that the front-facing camera is mirrored, so the image cannot be decoded because you cannot find any root points. You can get around this by flipping your canvas context before drawing the image to the canvas.

from jsqrcode.

rubenswebdev avatar rubenswebdev commented on July 19, 2024

GOOD NEWS

solved the issue,

just add the following line in your qrscanner.js

video.setAttribute('autoplay','');

sembrestels/angular-qr-scanner#5

from jsqrcode.

cfmonk avatar cfmonk commented on July 19, 2024

Dragging up an old issue but I'm still trying to implement this on Android. It needs to work on both iOs and Android. I did the Vertical Stretch fix for iOs but Android will not work with an upload from the camera. It works with a saved photo (taken on the same device) but not an upload. I'm tearing my hair out!

from jsqrcode.

gansky-alexander avatar gansky-alexander commented on July 19, 2024

Hello, guys ! Do you have any solution ?

from jsqrcode.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.