Commit 33e3dd7c authored by Neil Gershenfeld's avatar Neil Gershenfeld

wip

parent eac6bb3e
...@@ -39,12 +39,12 @@ function update() { ...@@ -39,12 +39,12 @@ function update() {
// //
console.log('\ncapture '+name) console.log('\ncapture '+name)
try { try {
execSync('ffmpeg -y -f v4l2 -s '+image_width+'x'+image_height+' -i /dev/video0 -vframes 1 -vf '+video_filter+' image.jpg') var ret = execSync('ffmpeg -y -f v4l2 -s '+image_width+'x'+image_height+' -i /dev/video0 -vframes 1 -vf '+video_filter+' image.jpg')
} }
catch(err) { catch(err) {
console.log("******************************************") console.log("err")
console.log(err)
} }
console.log("ret "+ret)
// //
// remove prior images // remove prior images
// //
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment