Skip to content

karinashenaz/bc-qr-reader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bc-qr-reader

QR Code reader directive for AngularJS.

It uses webcam-directive to access the camera and Lazarsoft QR reader to process the QR code.

Install

bower install --save blockchain/bc-qr-reader

Usage

Include dist/bc-qr-reader.js as well as bower_components/webcam-directive/app/scripts/webcam.js. Add the webcam module to your application.

bc-qr-reader(active="cameraRequested", on-result="processURLfromQR" on-error="onError" camera-status="cameraIsOn")

Development

npm install
cd src && git clone https://github.com/Sjors/jsqrcode

Update bower package

npm install
grunt dist