Commit 612b53c0 authored by Neil Gershenfeld's avatar Neil Gershenfeld

wip

parent 98b6cab2
...@@ -19,6 +19,7 @@ var settings= '\ ...@@ -19,6 +19,7 @@ var settings= '\
--set "Focus (absolute)"=0% \ --set "Focus (absolute)"=0% \
--set "White Balance Temperature, Auto"=False \ --set "White Balance Temperature, Auto"=False \
--set "White Balance Temperature"=50% \ --set "White Balance Temperature"=50% \
--set "Exposure, Auto"="Manual Mode"\
--set "Exposure, Auto Priority"=False \ --set "Exposure, Auto Priority"=False \
--set "Exposure (Absolute)"=50% \ --set "Exposure (Absolute)"=50% \
--set Brightness=50% \ --set Brightness=50% \
...@@ -51,8 +52,7 @@ function update() { ...@@ -51,8 +52,7 @@ function update() {
// take new image // take new image
// //
console.log('\ncapture '+name) console.log('\ncapture '+name)
//execSync('fswebcam --jpeg '+compression+' --resolution '+image_width+'x'+image_height+' --save image.jpg') execSync('fswebcam --jpeg '+compression+' --resolution '+image_width+'x'+image_height+' --save image.jpg')
execSync('fswebcam --jpeg '+compression+' --resolution '+image_width+'x'+image_height+' '+settings+' --save image.jpg')
// //
// 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