zoom out if above area threshold

This commit is contained in:
Josh Hawkins 2023-10-16 08:42:57 -05:00
parent 8eb561dedc
commit acac540545

View File

@ -722,6 +722,7 @@ class PtzAutoTracker:
# object is moving too quickly
if (
zoom_out_hysteresis
and not below_area_threshold
or not below_dimension_threshold
or (not away_from_edge and below_distance_threshold)
or not below_velocity_threshold