No description
Find a file
2020-07-09 19:57:30 +00:00
static IP cam shot.jpg is now streamed through the web server 2020-06-29 20:12:28 +00:00
templates added http endpoints for previous/current/currentColor from disk 2020-07-09 19:57:30 +00:00
.air.conf added streams dir to air exclude 2020-07-07 18:14:35 +00:00
.drone.yml removed badge, testing is broken... 2020-07-06 18:01:36 +00:00
.gitignore added 'streams' dir to .gitignore 2020-06-30 18:41:03 +00:00
LICENSE Initial commit 2020-06-29 18:44:11 +02:00
main.go added http endpoints for previous/current/currentColor from disk 2020-07-09 19:57:30 +00:00
main_test.go fixed test after moving index.html 2020-06-29 20:16:08 +00:00
README.md removed badge, testing is broken... 2020-07-06 18:01:36 +00:00
requirements.yaml added opencv to requirements.yaml 2020-06-30 20:30:23 +00:00
stream.go added http endpoints for previous/current/currentColor from disk 2020-07-09 19:57:30 +00:00
util.go moved GetStreamDir to util 2020-07-07 19:37:39 +00:00

StreamWatcher

Can watch and record several streams, optionally based on annotated areas.

Setup

Go

Install go:

wget https://golang.org/dl/go1.14.4.linux-amd64.tar.gz
tar -C /usr/local -xzf go1.14.4.linux-amd64.tar.gz
export PATH=$PATH:/usr/local/go/bin

Live Reload (Air)

Install air:
curl -fLo /root/miniconda3/envs/go/bin/air https://git.io/linux_air
chmod +x /root/miniconda3/envs/go/bin/air

Run with:
air