mcgraths
4/20/2015 - 11:13 AM

Capture and download photo from DLSR using Node and gphoto2

Capture and download photo from DLSR using Node and gphoto2

var sys = require('sys')
var exec = require('child_process').exec;
function puts(error, stdout, stderr) { sys.puts(stdout) }
exec("cd ~/Desktop && gphoto2 --capture-image-and-download", puts);