Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
pub
cams
Commits
9f98f3e8
Commit
9f98f3e8
authored
Jan 07, 2018
by
Neil Gershenfeld
Browse files
wip
parent
d18bfaf9
Changes
5
Show whitespace changes
Inline
Side-by-side
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
Supports
Markdown
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