From 9142210b746cf740bbc776a969378a76826b776b Mon Sep 17 00:00:00 2001 From: Blake Blackshear Date: Thu, 15 Jun 2023 07:11:51 -0500 Subject: [PATCH] dont consider stationary until the threshold --- frigate/video.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frigate/video.py b/frigate/video.py index 291347ba3..17a83b626 100755 --- a/frigate/video.py +++ b/frigate/video.py @@ -769,8 +769,8 @@ def process_frames( stationary_object_ids = [ obj["id"] for obj in object_tracker.tracked_objects.values() - # if there hasn't been motion for 10 frames - if obj["motionless_count"] >= 10 + # if it has exceeded the stationary threshold + if obj["motionless_count"] >= detect_config.stationary.threshold # and it isn't due for a periodic check and ( detect_config.stationary.interval == 0