mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-02 17:25:22 +03:00
Fix motion breaking frames
This commit is contained in:
parent
5c0207d3b9
commit
da5b217403
@ -511,15 +511,13 @@ def process_frames(
|
||||
f"{camera_name}{frame_time}", (frame_shape[0] * 3 // 2, frame_shape[1])
|
||||
)
|
||||
|
||||
if not motion_enabled.value:
|
||||
continue
|
||||
|
||||
if frame is None:
|
||||
logger.info(f"{camera_name}: frame {frame_time} is not in memory store.")
|
||||
continue
|
||||
|
||||
# look for motion
|
||||
motion_boxes = motion_detector.detect(frame)
|
||||
if motion_enabled.value:
|
||||
# look for motion
|
||||
motion_boxes = motion_detector.detect(frame)
|
||||
|
||||
regions = []
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user