Make sure count of frames in motion is reset during start

master
Lauri Võsandi 6 months ago
parent 5fb3eb4541
commit 05b5bc30f2
  1. 2
      camdetect.py

@ -114,6 +114,8 @@ gauge_build_info.labels(
gauge_queue_frames.labels("download").set(0)
gauge_queue_frames.labels("hold").set(0)
gauge_queue_frames.labels("upload").set(0)
counter_frames.labels("motion").inc(0)
assert SLIDE_WINDOW <= 8 # This is 256 frames which should be enough

Loading…
Cancel
Save