Code Monkey home page Code Monkey logo

angular-qr-scanner's People

Contributors

jamos669 avatar konsumer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

angular-qr-scanner's Issues

Issues on Android

Hey,

I'm having issues on chrome on Android with this qr code scanner, have tried it on Android 4.4 on a Samsung tab 10.1 and on 5.1 on a Moto G, no joy.

When you give access to the camera on the device, the reader takes a still shot and freezes on that first frame, it then passes that first shot through the qr code reader every time (every $interval). I've tried putting a qr code infront of the device camera for that first frame and it works ok, is detecting the code. It does it every interval.

I've tried this with the html5 scanner you have angularfied, and i get the same issue, so its nothing you have done. Just thought i'd give you the heads up

camera freezes

Hi,
I'm testing your camera plugin on my android smartphone (KitKat) with Chrome.
I am asked for camera use authorization, then then camera turns on but video is stuck on the first image it gets. No errors are shown on console. I didn't experienced the same issue when launching the page on desktops.
This is my code:

page html:

controller:
'use strict';
angular.module('quiceroServerApp')
.controller('CreatePostCtrl', function ($scope) {
$scope.onSuccess = function(data) {
window.alert(data);
};
$scope.onError = function(error) {
console.log(error);
};
$scope.onVideoError = function(error) {
console.log(error);
};

});

index.html:
<script src="bower_components/jquery/dist/jquery.js"></script>
<script src="bower_components/angular/angular.js"></script>
<script src="bower_components/angular-qr-scanner/qr-scanner.js"></script>

<script src="bower_components/angular-qr-scanner/src/jsqrcode-combined.min.js"></script>

Thank you.
Best regards.

nothing happing

i used your code in mi laravel app and when i use the demo code in my view nothing happen
can you pleas give me a solution pleasssss

best way to stop scanning when $state.go("aView")

I am using the qr-scanner in a ng-view. When switching back with the arrows keys the view gets destroyed and so the qr-scanner stops scanning as expected. (because your module listens for $destroy if I understand the code correctly).

However, in my particular case I am switching the states/views with state.go().
After the view switched, the qr-scanners interval is still running. How can I stop it from doing so?
I could implement a listener into your code, to listen for a certain event to then clear the interval. But i am not sure, it's the cleanest way to go for.

thanks!
(I am an angular newbie, so excuse me if the answer to the problem is rather simple)

Rear Android Camera

Hello. Can anybody know how to use rear android camera option when scanning qr code ?

Thanks.

getUserMedia() no longer works on insecure origins

Getting that on demo page
getUserMedia() no longer works on insecure origins. To use this feature, you should consider switching your application to a secure origin, such as HTTPS. See https://goo.gl/rStTGz for more details.

qr-scanner directive problem

Hello, there.

I put

<qr-scanner width="400" height="300"></qr-scanner>

on my angular page but result this.

Error: [$compile:multidir] Multiple directives [qrScanner, qrScanner] asking for new/isolated scope on: <qr-scanner>

could anyone help me please ?
Thanks.

TypeError: qrcode.orderBestPatterns is not a function(โ€ฆ)

I'm getting this error when a qr code is recognized. It occurs in line 46 of qr-scanner.js.

Any ideas what this could be? Alternatively, is there an unminified version of jsqrcode-combined.min.js that I could look through to find the problem myself?

Thanks!

$window.localMediaStream.stop();

Looks like

$window.localMediaStream.stop();

No longer works, so I changed it to:

$window.localMediaStream.getVideoTracks()[0].stop();

And it works now. Maybe someone can find this useful.

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.