Skip to content

Nodejs addon, it uses the opencv library to connect to webcams and the zbar library to scan the images looking for barcodes

License

Notifications You must be signed in to change notification settings

krunalsoni01/node-opencv-zbar

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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
});

About

Nodejs addon, it uses the opencv library to connect to webcams and the zbar library to scan the images looking for barcodes

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 72.3%
  • JavaScript 18.4%
  • Python 7.1%
  • C 2.2%