Comments (4)
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.
GOOD NEWS
solved the issue,
just add the following line in your qrscanner.js
video.setAttribute('autoplay','');
sembrestels/angular-qr-scanner#5
from jsqrcode.
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.
Hello, guys ! Do you have any solution ?
from jsqrcode.
Related Issues (20)
- Doesnt work in Iphone devices HOT 4
- color
- Barkod Okuyucu
- prompt to ‘ flash.ccCapture is not a function’
- Failed to load the image HOT 1
- Can support 2D Data Matrix Code read HOT 1
- How to call the method from canvas using getusermedia HOT 1
- failed to load the image
- QR code unable to read HOT 2
- Here is a tutorial on how to use this library HOT 6
- [SOLVED]ios 11 - ios 12 black screen
- is not work on ios HOT 1
- What kind of tool is this ?
- Abnormal parsing result HOT 1
- Unable to open in chrome (not secure) http:// HOT 1
- Flashlight turn off on mobile HOT 1
- QR code containing Japanese characters HOT 1
- JavaScript Error HOT 1
- Can not decode QR code on iOS 13.1
- How to create a QRCode ? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jsqrcode.