Created
January 15, 2017 19:30
-
-
Save appellation/3729a8bd5348a8fc59063227738332cc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
await new Promise((resolve, reject) => { | |
exec(`fswebcam --fps 15 -S 8 -r ${imgW}x${imgH} --no-banner selfie.jpg`, (error) => { | |
if (error) return reject(error); | |
return resolve(); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment