mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-08-02 17:12:16 +03:00
Always set value for motion boxes
This commit is contained in:
+2
-3
@@ -515,9 +515,8 @@ def process_frames(
|
|||||||
logger.info(f"{camera_name}: frame {frame_time} is not in memory store.")
|
logger.info(f"{camera_name}: frame {frame_time} is not in memory store.")
|
||||||
continue
|
continue
|
||||||
|
|
||||||
if motion_enabled.value:
|
# look for motion if enabled
|
||||||
# look for motion
|
motion_boxes = motion_detector.detect(frame) if motion_enabled.value else []
|
||||||
motion_boxes = motion_detector.detect(frame)
|
|
||||||
|
|
||||||
regions = []
|
regions = []
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user