reading barcode from an image using javascript

前端 未结 2 1372
野趣味
野趣味 2020-12-22 20:05

I need a javascript code that will read/ extract barcode from an image. for example, the image may be embedded in a web page and i wan to pass the image to the Javascript f

2条回答
  •  时光取名叫无心
    2020-12-22 20:47

    There is QuaggaJS library (open source) for reading barcodes, all done in JavaScript.

    It currently supports EAN, CODE 128, CODE 39, EAN 8, UPC-A, UPC-C, and CODABAR

    I suspect it will meet your needs.

提交回复
热议问题