10
0
This repository has been archived on 2025-04-18. You can view files and clone it, but cannot push or open issues or pull requests.
2024-08-15 19:54:38 +03:00
2022-02-13 19:53:47 +02:00
2024-08-15 19:54:38 +03:00
2022-02-16 22:33:08 +02:00
2022-07-11 12:34:13 +03:00
2024-08-15 19:54:38 +03:00
2022-02-27 17:02:55 +02:00
2022-07-11 12:34:13 +03:00

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
Description
Cloud native motion detection microservice
Readme 65 KiB
Languages
Python 96.3%
Dockerfile 3.5%
Shell 0.2%