only check if moving at frame time

This commit is contained in:
Josh Hawkins 2023-07-10 16:16:06 -05:00
parent 69434160ab
commit 480a576c05

View File

@ -798,7 +798,6 @@ def process_frames(
motion_boxes = (
motion_detector.detect(frame)
if motion_enabled.value
and ptz_stopped.is_set()
and not ptz_moving_at_frame_time(
frame_time, ptz_start_time.value, ptz_stop_time.value
)