Commit 578fb87f authored by Neil Gershenfeld's avatar Neil Gershenfeld

wip

parent e49a70f9
......@@ -2,7 +2,7 @@
// cams.js
// shopcam activity monitor
// Neil Gershenfeld
// 10/8/17
// 12/11/17
//
// to reinitialize: ./init
// to run: node cams.js
......@@ -118,7 +118,7 @@ function update() {
//
// take initial image with camera initialization settings
//
execSync('fswebcam --jpeg '+compression+' --resolution '+image_width+'x'+image_height+' --set "Focus, Auto"=False --set "White Balance Temperature, Auto"=False --set "Exposure, Auto Priority"=False --set Brightness=50% --set Contrast=12% --set Saturation=12% --set Gain=12% --set "White Balance Temperature"=50% --set Sharpness=50% --set "Exposure (Absolute)"=50% --save oldimage.jpg')
execSync('fswebcam --jpeg '+compression+' --resolution '+image_width+'x'+image_height+' --set "Focus, Auto"=False --set "White Balance Temperature, Auto"=True --set "Exposure, Auto Priority"=False --set Brightness=50% --set Contrast=12% --set Saturation=12% --set Gain=12% --set Sharpness=50% --set "Exposure (Absolute)"=50% --save oldimage.jpg')
//
// start update
//
......
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