언어 설정

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 by: John Ixion on 25 11월, 2014
답변 바로가기

Responses

2 댓글
colin Rao
How to integrate it into Tizen web application? Could you share some demo code here? Thanks!
Mark as answer
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