Motion detection and recording
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Ben de Graaff 01f1025e95 Fixes after valgrind pass 4 months ago
wh-video Fixes after valgrind pass 4 months ago
.gitignore Initial experimentation with motion detection 4 months ago
README.md Initial experimentation with motion detection 4 months ago

README.md

Waakhond

Motion detection and recording.

Goals:

  • Power efficient: don’t do more than necessary, efficient detection algorithms.
  • Capture the original video feed without transcoding.
  • Easy deployment.

Video config:

  • Source URL
  • Zone bitmap (triggers, excluded areas)
  • Minimum time to buffer (for history recall when triggering record)
  • Minimum recording time
  • Minimum activity time until recording is triggered

Video buffer implementation:

  • Live stream buffering stores frames in memory and only expires old frames when a new keyframe matches the minimum time to buffer.
  • Start recording events from oldest keyframe.

Future work:

  • Record compressed bitmap of motion trigger
  • External alarm trigger (motion sensor, scripts)
    • Skip expensive frame decoding altogether (feasible?)
  • Web interface to view events, live stream
    • Probably need to do real-time transcoding here.
    • Hooks into processing pipeline decode state?
    • Optionally overlay motion data.