Commit 4af35f71 authored by Neil Gershenfeld's avatar Neil Gershenfeld
Browse files

wip

parent c088187b
...@@ -10,6 +10,7 @@ ...@@ -10,6 +10,7 @@
// uses convert to make thumbnails // uses convert to make thumbnails
// uses compare to measure activity // uses compare to measure activity
// can use uvcdynctrl -f to list resolutions // can use uvcdynctrl -f to list resolutions
// can use fswebcam --list-controls to list controls
// can use guvcview to adjust webcam // can use guvcview to adjust webcam
// can use http-server-with-auth to serve // can use http-server-with-auth to serve
// can use Ubuntu MATE on Raspberry Pi 3 // can use Ubuntu MATE on Raspberry Pi 3
...@@ -114,9 +115,9 @@ function update() { ...@@ -114,9 +115,9 @@ function update() {
} }
} }
// //
// take initial image // take initial image with camera initialization settings
// //
execSync('fswebcam --jpeg '+compression+' --resolution '+image_width+'x'+image_height+' --save oldimage.jpg') execSync('fswebcam --jpeg '+compression+' --resolution '+image_width+'x'+image_height+' --save oldimage.jpg' --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%')
// //
// start update // start update
// //
......
foo.jpg

15.8 KB

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