added streamwatcher page
This commit is contained in:
parent
5f4bf36c72
commit
7fc7566e65
6 changed files with 39 additions and 0 deletions
39
content/projects/streamwatcher.md
Normal file
39
content/projects/streamwatcher.md
Normal file
|
@ -0,0 +1,39 @@
|
|||
---
|
||||
title: "StreamWatcher App"
|
||||
date: 2021-01-11T20:45:36+01:00
|
||||
draft: false
|
||||
image: "/img/streamwatcher/main.png"
|
||||
---
|
||||
<!--more-->
|
||||
A web app written in Go to monitor IP cameras for motion, storing moments when motion is detected.
|
||||
|
||||
Primarily made to try out Go web development, repo can be found here:
|
||||
https://gitea.broodjeaap.net/broodjeaap/StreamWatcher
|
||||
|
||||
Should probably not be seriously used, there are better alternatives :)
|
||||
|
||||
## App
|
||||
|
||||
### Streams
|
||||
IP cameras being monitored can be viewed on the main page:
|
||||

|
||||
|
||||
### Stream page
|
||||
The stream view shows the current IP cam view and areas being monitored for motion:
|
||||

|
||||
|
||||
### Stream add area
|
||||
Adding a monitored area is as simple as dragging a square onto the view:
|
||||

|
||||
|
||||
### Stream area view
|
||||
A stream areas moment can be viewed with a web 'player':
|
||||

|
||||
|
||||
## Method
|
||||
|
||||
The day of the week can be caculated by:
|
||||
`(day value + month value + year value + century value + leap year value) % 7`
|
||||
|
||||
Every one of these value comes from a set of constants or is calculable from the date.
|
||||
This app helps you practice memorizing and calculating these values.
|
BIN
static/img/streamwatcher/main.jpg
Normal file
BIN
static/img/streamwatcher/main.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 24 KiB |
BIN
static/img/streamwatcher/stream.jpg
Normal file
BIN
static/img/streamwatcher/stream.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 115 KiB |
BIN
static/img/streamwatcher/stream_add_area.jpg
Normal file
BIN
static/img/streamwatcher/stream_add_area.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 138 KiB |
BIN
static/img/streamwatcher/stream_moment_player.jpg
Normal file
BIN
static/img/streamwatcher/stream_moment_player.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 97 KiB |
BIN
static/img/streamwatcher/streams.jpg
Normal file
BIN
static/img/streamwatcher/streams.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 42 KiB |
Loading…
Add table
Reference in a new issue