Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
pub
cams
Commits
9f98f3e8
Commit
9f98f3e8
authored
Jan 07, 2018
by
Neil Gershenfeld
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wip
parent
d18bfaf9
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
36 additions
and
29 deletions
+36
-29
README.md
README.md
+31
-0
mods/README.md
mods/README.md
+0
-27
node/README.md
node/README.md
+3
-0
tightvncserver.service
tightvncserver.service
+0
-0
xstartup
xstartup
+2
-2
No files found.
README.md
0 → 100644
View file @
9f98f3e8
<pre>
shopcam server
can use Ubuntu MATE on a Raspberry Pi 3 with a Logitech C920 HD Webcam
sudo apt-get update
sudo apt-get dist-upgrade
sudo apt-get install gedit chromium-browser git npm nodejs-legacy guvcview ristretto uvcdynctrl tightvncserver xtightvncviewer openssh-server
System -> Administration -> Time and Date -> Keep synchronized with internet servers
install local web server:
sudo npm install -g http-server-with-auth
clone repos:
git clone https://gitlab.cba.mit.edu/pub/cams.git
git clone https://gitlab.cba.mit.edu/pub/mods.git
git clone https://github.com/novnc/noVNC.git
install vnc service (assuming username is fab):
cd /home/fab/cams
sudo cp tightvncserver.service /lib/systemd/system
sudo systemctl daemon-reload
sudo systemctl enable tightvncserver.service
sudo systemctl start tightvncserver.service
journalctl -u tightvncserver.service
can use:
ristretto to view images
uvcdynctrl -f to list resolutions
guvcview to adjust camera
mods/README.md
deleted
100644 → 0
View file @
d18bfaf9
<pre>
sudo apt-get update
sudo apt-get dist-upgrade
sudo apt-get install gedit chromium-browser git npm nodejs-legacy guvcview geeqie tightvncserver xtightvncviewer openssh-server
systemctl enable ssh
System -> Administration -> Time and Date -> Keep synchronized with internet servers
git clone ssh://git@gitlab.cba.mit.edu:846/pub/cams.git
git clone ssh://git@gitlab.cba.mit.edu:846/pub/mods.git
edit .vnc/xstartup
set tightvncpasswd
sudo cp tightvncserver.service /lib/systemd/system
sudo systemctl daemon-reload
sudo systemctl enable tightvncserver.service
sudo systemctl start tightvncserver.service
journalctl -u tightvncserver.service
ssh -L 5901:127.0.0.1:5901 -N -f -l user_name ip_address
ssh -L 5901:127.0.0.1:5901 -l user_name ip_address
xtightvncviewer 127.0.0.1:1
node/README.md
View file @
9f98f3e8
<pre>
shopcam server, prior node version
to clone: git clone https://gitlab.cba.mit.edu/pub/cams.git
to reinitialize: ./init
...
...
mods/
tightvncserver.service
→
tightvncserver.service
View file @
9f98f3e8
File moved
mods/
xstartup
→
xstartup
View file @
9f98f3e8
...
...
@@ -2,10 +2,10 @@
xrdb
$HOME
/.Xresources
xsetroot
-solid
grey
#x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
#x-window-manager &
# Fix to make GNOME work
export
XKL_XMODMAP_DISABLE
=
1
cd
/home/fab/noVNC
./utils/launch.sh
--vnc
127.0.0.1:5901 &
cd
/home/fab/mods
http-server-with-auth
--username
your_username
--password
your_password &
chromium-browser http://your_username:your_password@127.0.0.1:8080/?program
=
programs/image/motion%20detect&
...
...
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