Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
pub
cams
Commits
32038727
Commit
32038727
authored
Dec 12, 2017
by
Neil Gershenfeld
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wip
parent
612b53c0
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
6 deletions
+8
-6
README.md
README.md
+6
-4
cams
cams
+1
-1
cams.js
cams.js
+1
-1
No files found.
README.md
View file @
32038727
...
...
@@ -12,20 +12,22 @@ can use uvcdynctrl -f to list resolutions
can use fswebcam --list-controls to list controls
can use sudo guvcview to adjust camera
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
index is at http://this_address:this_port
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 apt-get install nodejs-legacy npm fswebcam imagemagick
guvcview
sudo npm install -g http-server-with-auth
System -> Administration -> Time and Date -> Keep synchronized with internet servers
can start on boot with cams.service:
can start
cams script
on boot with cams.service:
sudo cp cams.service /lib/systemd/system
sudo systemctl daemon-reload
sudo systemctl enable cams.service
...
...
cams
View file @
32038727
#!/bin/bash
cd
/home/fab/cams
node cams.js &
http-server-with-auth
-p
port
--username
username
--password
password &
http-server-with-auth
-p
set_port_number
--username
set_
username
--password
set_
password &
cams.js
View file @
32038727
...
...
@@ -26,7 +26,7 @@ var settings= '\
--set Contrast=50%
\
--set Saturation=50%
\
--set Gain=50%
\
--set Sharpness=
5
0%
'
--set Sharpness=
10
0%
'
//
// requires
//
...
...
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