mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-05 18:55:23 +03:00
only check if moving at frame time
This commit is contained in:
parent
69434160ab
commit
480a576c05
@ -798,7 +798,6 @@ def process_frames(
|
|||||||
motion_boxes = (
|
motion_boxes = (
|
||||||
motion_detector.detect(frame)
|
motion_detector.detect(frame)
|
||||||
if motion_enabled.value
|
if motion_enabled.value
|
||||||
and ptz_stopped.is_set()
|
|
||||||
and not ptz_moving_at_frame_time(
|
and not ptz_moving_at_frame_time(
|
||||||
frame_time, ptz_start_time.value, ptz_stop_time.value
|
frame_time, ptz_start_time.value, ptz_stop_time.value
|
||||||
)
|
)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user