Connect to multiple RTSP based streams (IP cameras) and save timestamped clips to a local directory as specified within the configuration. Future features include: motion detection, facial detection, object categorization, zones, playback.
{
"debug": true,
"cameras": [
{
"disabled": false,
"title": "Back2",
"fps": 30,
"address": "rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mov",
"seconds_per_clip": 2,
"persist_location": "/Users/adam/Movies/clips"
}
]
}
Found here
At this time this project will need to be built before being able to run.
- Go
- GoCV library which has additional setup instructions
Install Go
Download this repo via go get
go get github.com/tauraamui/dragondaemon
Run the setup process for GoCV to install and build OpenCV deps on your host
cd $GOPATH/gocv.io/x/gocv
make install
Running the tests just as normal
go test -v ./...
Run the main.go or build and run compiled version. By default it will look for a local dd.config file.
Compile
go build -o dragondaemon
Run
./dragondaemon
You can install the built binary as a service by running
./dragond install
Run it via
./dragond start
Stop it via
./dragond stop
Check the status with
./dragond status
Uninstall with
./dragond remove
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
We use SemVer for versioning. For the versions available, see the tags on this repository.
- Adam Prakash Stringer - Initial work - tauraamui
See also the list of contributors who participated in this project.
This project is licensed under the MIT License - see the LICENSE.md file for details
- Many thanks to the GoCV team without whom this would not have been possible
- My wife for putting up with me spending evenings on this instead of with her