Cloud native motion detection microservice
Lauri Võsandi
92b6d74ea1
Some checks failed
ci/woodpecker/push/build/1 Pipeline was successful
ci/woodpecker/push/build/2 Pipeline failed
ci/woodpecker/push/manifest unknown status
ci/woodpecker/manual/build/2 Pipeline failed
ci/woodpecker/manual/build/1 Pipeline failed
ci/woodpecker/manual/manifest unknown status
|
||
---|---|---|
.woodpecker | ||
config | ||
log-viewer@b8e9f03b86 | ||
.gitignore | ||
.gitlint | ||
.gitmodules | ||
.pre-commit-config.yaml | ||
camdetect.py | ||
docker-compose.yml | ||
Dockerfile | ||
mongo-init.sh | ||
README.md |
Cloud native motion detection microservice
This software implements the motion detection portion
of well known motion-project as
a microservice. For the tiling counterpart see camera-tiler
repository.
In a nutshell:
- It brings the MJPEG stream into the cluster
- Performs highly optimal JPEG DCT coefficient based motion detection without actually decoding the JPEG frame to a bitmap
- Writes events to MongoDB
- Generates thumbnails based on JPEG DCT coefficents
- Uploads screenshots and corresponding thumbnails to S3
- Exposes endpoint for distributing MJPEG stream inside the cluster,
eg for the
camera-tiler
- Exposes endpoint for inspecting DCT blocks where motion has been detected
Developing
Bundled docker-compose.yml
brings up:
To manually trigger event:
docker kill -sUSR1 camera-motion-detect_camdetect_1