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

wip

parent 231babd7
......@@ -8,6 +8,7 @@
// to run: node cams.js
// uses fswebcam for screen capture
// uses convert to make thumbnails
// can use Ubuntu MATE on Raspberry Pi 3
// can use uvcdynctrl -f to list resolutions
// can use guvcview to adjust webcam
// can use http-server-with-auth to serve
......@@ -19,6 +20,7 @@ var image_height = 1080
var thumbnail_size = 100
var compression = 50
var activity_threshold = 250
var milliseconds_between_images = 60000
//
// requires
//
......@@ -77,8 +79,8 @@ function update() {
oldsize = newsize
}
//
// set one minute update interval
// set update interval
//
update()
setInterval(update,60000)
setInterval(update,milliseconds_between_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