/docker-movement-detection

Performs motion/movement detection on RTSP video streams using OpenCV and Python and sends detection events to an MQTT topic.

Primary LanguagePython

docker-movement-detection

Performs motion/movement detection on RTSP video streams using OpenCV and Python and sends detection events to an MQTT topic.

Requirements

  • Docker
  • docker-compose

Configuration

Copy config.py.example to config.py and edit

Building

docker compose build --pull

Running

docker compose up -d

Local Development and Testing

Run main.py

Or shell straight into the running Docker container

docker exec -it <id> /bin/bash

Teardown

docker compose down -v

References

  • Motion - an alternative motion detection system