Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
pub
cams
Commits
1c306d0a
Commit
1c306d0a
authored
Dec 12, 2017
by
Neil Gershenfeld
Browse files
wip
parent
f13e08f2
Changes
2
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
1c306d0a
start this
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
cams.js
View file @
1c306d0a
...
...
@@ -4,23 +4,6 @@
// Neil Gershenfeld
// 12/11/17
//
// 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
//
// settings
//
var
image_width
=
1600
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment