imagesnapjs

An npm/nodejs wrapper for imagesnap

npm install imagesnapjs
1 downloads in the last day
7 downloads in the last week
13 downloads in the last month

imagesnapjs

An npm/nodejs wrapper for imagesnap

imagesnap is a tool for capturing webcam photos from the command line, written by Robert Harder. (Thanks!)

imagesnapjs is first a wrapper, for making imagesnap installation as easy as npm i -g imagesnapjs, and second, an npm dependency for capturing webcam shots from nodejs applications.


As a command line tool

Installation
$ npm install -g imagesnapjs
Usage

see the original documentation or just type imagesnap -h.


As an npm dependency

Installation
$ npm install imagesnapjs

Or require it from your package.json

Usage
var imagesnapjs = require('imagesnapjs');

imagesnapjs.capture('/Users/dany/image.jpg', function(err) {
  console.log(err ? err : 'Success!');
});

(To be further developed).


Notes

  • Using imageSnap v0.2.5

Feedback

  • If you enjoyed this tool, please star it on Github!
  • I'd love to get any feedback you might have! Mail me at danyshaanan@gmail.com, or open an issue.
  • More material appreciation is welcome in the form of bitcoins. My address can be found on this page.
  • Provide feedback or support for imageSnap itself from imageSnap's page.
npm loves you