clarifying comment

This commit is contained in:
Josh Hawkins 2023-10-24 08:01:48 -05:00
parent 96c0db5018
commit 4406272d18

View File

@ -629,6 +629,7 @@ def process_frames(
] ]
# only add in the motion boxes when not calibrating and a ptz is not moving via autotracking # only add in the motion boxes when not calibrating and a ptz is not moving via autotracking
# ptz_moving_at_frame_time() always returns False for non-autotracking cameras
if not motion_detector.is_calibrating() and not ptz_moving_at_frame_time( if not motion_detector.is_calibrating() and not ptz_moving_at_frame_time(
frame_time, frame_time,
ptz_metrics["ptz_start_time"].value, ptz_metrics["ptz_start_time"].value,