README.md 781 Bytes
Newer Older
Neil Gershenfeld's avatar
wip    
Neil Gershenfeld committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
to reinitialize: ./init

to run: node cams.js

uses fswebcam for screen capture

uses convert to make thumbnails

uses compare to measure activity

can use uvcdynctrl -f to list resolutions

can use fswebcam --list-controls to list controls

can use http-server-with-auth to serve
http-server-with-auth -p port --username username --password password
http-server-with-auth -p port --username username --password password --ssl --cert cert.pem --key key.pem

last image is at http://this_address:this_port/oldimage.jpg

can use Logitech C920 HD Webcam

can use Ubuntu MATE on Raspberry Pi 3
sudo apt-get install nodejs-legacy npm fswebcam imagemagick
sudo npm install -g http-server-with-auth
System -> Administration -> Time and Date -> Keep synchronized with internet servers