imagesnap is an OSX 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).
- this is OSX specific! execution of the binary will fail on other systems.
- Using imageSnap v0.2.5
- If you enjoyed this package, please star it on Github.
- You are invited to Open an issue on Github.
- For other matters, my email address can be found on my NpmJS page, my Github page, or my website.
- Provide feedback or support for imageSnap itself from imageSnap's page.