From 35f2951d1b21891ec30fc8c64f70dc7547b67a62 Mon Sep 17 00:00:00 2001 From: Blake Blackshear Date: Fri, 11 Feb 2022 07:34:42 -0600 Subject: [PATCH] stop forcing detection all the way to stationary_threshold --- frigate/video.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frigate/video.py b/frigate/video.py index 8ae0271f1..26b99176f 100755 --- a/frigate/video.py +++ b/frigate/video.py @@ -507,8 +507,8 @@ def process_frames( stationary_object_ids = [ obj["id"] for obj in object_tracker.tracked_objects.values() - # if there hasn't been motion for N frames - if obj["motionless_count"] >= detect_config.stationary_threshold + # if there hasn't been motion for 10 frames + if obj["motionless_count"] >= 10 # and it isn't due for a periodic check and ( detect_config.stationary.interval == 0