Skip to content

Latest commit

 

History

History
22 lines (17 loc) · 576 Bytes

README.md

File metadata and controls

22 lines (17 loc) · 576 Bytes

qrcodereader

It is a refactoring of another project : https://github.com/LazarSoft/jsqrcode

var a =new QRCodeReader(document.getElementById('mycanvas'||'myimage'||'myvideo'),{
onDetected:callback1,
onError:calback2
autostop:true,
outputCanvas:canvas // canvas where you show laser
});
a.decode();//just current image
a.startScanner();
a.stopScanner();
//no other objects are visible in window 

Use bindep tool for generating the code in your page;

npm install bindep

Active preprocessor in bindep tag