Menu
Sites
Language
barcode-scanner

QuaggaJS is a barcode-scanner entirely written in JavaScript supporting real-time localization and decoding of various types of barcodes such as EAN and CODE128. The library is also capable of using getUserMedia to get direct access to the user's camera stream. 

http://serratus.github.io/quaggaJS/

examples with webcam, etc http://serratus.github.io/quaggaJS/examples/

blog post: http://www.oberhofer.co/how-barcode-localization-works-in-quaggajs/

Edited on 26 11, 2014

Responses

2 Replies
colin Rao
How to integrate it into Tizen web application? Could you share some demo code here? Thanks!
Marco Buettner
var options = {
  readers: ['code_128_reader'],
  locate: true, // try to locate the barcode in the image
  src: dataResult[1] // or 'data:image/jpg;base64,' + data
};

Quagga.decodeSingle(options, function(result){
  console.log(result);
});

Use this on camera snapshot response