mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-02 17:25:22 +03:00
Always set value for motion boxes
This commit is contained in:
parent
c419a6e38a
commit
f1978a47e8
@ -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 = []
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user