node-opencv-zbar

1.0.15 • Public • Published

node-opencv-zbar

This nodejs addon uses the opencv library to connect to webcams or video files and the zbar library to scan the images looking for barcodes.

Requirements

  • [Nodejs]
  • [Nan]
  • [OpenCV]
  • [Zbar]

Installation

To use node-opencv-zbar you have to install OpenCV and Zbar

npm install node-opencv-zbar

Usage

var barcodeReader = require('node-opencv-zbar');

barcodeReader.readData(addres_to_file | address_to_ip_cam | id_device, [time_interval], function(data) {
    console.log(data); // Barcode captured
});

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.15
    3
    • latest

Version History

Package Sidebar

Install

npm i node-opencv-zbar

Weekly Downloads

3

Version

1.0.15

License

ISC

Last publish

Collaborators

  • friveros