瀏覽代碼

stop forcing detection all the way to stationary_threshold

Blake Blackshear 3 年之前
父節點
當前提交
c14f986fae
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      frigate/video.py

+ 2 - 2
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