Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Barcode and Qrcode scanning using Angular js HTML5

I require to scan Barcode and Qrcode on Android /iphone/ipad devices. The Project is completely based on Angular JS and HTML5.It is mobile website.

Below is the requirement. It should not download any third party native application on device.So unable to use native Zxing application.

So,is there any way in javascript/HTML5/jquery/Angular js through which we can scan barcode using native camera?

We tried below javascript library but found not useful as it is only for QRcode and not opening camera as well. https://github.com/LazarSoft

Please Help!!

like image 256
user2425109 Avatar asked Jul 30 '13 06:07

user2425109


2 Answers

Please read through this plugin, should help you achieve what you are looking for. Try the DEMO LINK - This is a cross platform jQuery library to create a QRcode reader for HTML5 compatible browser.

like image 86
Sunil Kumar Avatar answered Nov 07 '22 17:11

Sunil Kumar


I adapted html5-qrcode plugin as AngularJS directive.

You can find it in this repo:

https://github.com/sembrestels/angular-qr-scanner

like image 39
Sem Avatar answered Nov 07 '22 15:11

Sem