README.md 795 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
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

Neil Gershenfeld's avatar
wip    
Neil Gershenfeld committed
15
16
17
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  
Neil Gershenfeld's avatar
wip    
Neil Gershenfeld committed
18
19
20
21
22

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

can use Logitech C920 HD Webcam

Neil Gershenfeld's avatar
wip    
Neil Gershenfeld committed
23
24
25
26
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  
Neil Gershenfeld's avatar
wip    
Neil Gershenfeld committed
27