jsWaffleのtestフォルダ(assets/www/test/cameras.html)にサンプルがありますので試してみてください。
===
<h2>Barcode(QR/1D)</h2>
<div class="buttons">
<button onclick="TestBarcode2d()">Scan QRCode</button>
<button onclick="TestBarcodeAuto()">Scan Barcode(Auto)</button>
</div>
<script>
function TestBarcode2d() {
droid.scanQRCode(function(str){
alert(str);
}, true);
}
function TestBarcodeAuto() {
droid.scanBarcode(function(str){
alert(str);
}, true);
}
</script>
===