Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cams
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pub
cams
Commits
782e5156
Commit
782e5156
authored
6 years ago
by
Neil Gershenfeld
Browse files
Options
Downloads
Patches
Plain Diff
Update README.md
parent
c10b3814
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+0
-57
0 additions, 57 deletions
README.md
with
0 additions
and
57 deletions
README.md
+
0
−
57
View file @
782e5156
<<<<<<< HEAD
shopcam projects
=======
<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 tightvncserver xtightvncviewer openssh-server
sudo systemctl enable ssh
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
set VNC password:
tightvncpasswd
configure VNC:
cp /home/fab/cams/xstartup /home/fab/.vnc/
gedit /home/fab/.vnc/xstartup
set the local Web server username and password
can use https certificates
configure noVNC:
cd /home/fab/noVNC
./utils/launch.sh --listen 6789 --vnc 127.0.0.1:5901 &
configure network
reboot
connect to VNC:
http://your_ip_address:6789/vnc.html
once connected:
approve browser request to use camera and download multiple files
can use ristretto to view images
can use guvcview to adjust camera
to make a persistent change to the threshold,
edit the motion detect module initialization,
save it as a local program,
and change the path in xstartup
>>>>>>> parent of 345db9c... Update README.md
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment