From f1978a47e8f72c94aafd2602824d21a6badcd90c Mon Sep 17 00:00:00 2001 From: Nick Mowen Date: Mon, 25 Apr 2022 13:22:23 -0600 Subject: [PATCH] Always set value for motion boxes --- frigate/video.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/frigate/video.py b/frigate/video.py index 4954456a8..c7fc62ad5 100755 --- a/frigate/video.py +++ b/frigate/video.py @@ -515,9 +515,8 @@ def process_frames( logger.info(f"{camera_name}: frame {frame_time} is not in memory store.") continue - if motion_enabled.value: - # look for motion - motion_boxes = motion_detector.detect(frame) + # look for motion if enabled + motion_boxes = motion_detector.detect(frame) if motion_enabled.value else [] regions = []