From acac54054529af878b901438fd66105f05c3dce5 Mon Sep 17 00:00:00 2001 From: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com> Date: Mon, 16 Oct 2023 08:42:57 -0500 Subject: [PATCH] zoom out if above area threshold --- frigate/ptz/autotrack.py | 1 + 1 file changed, 1 insertion(+) diff --git a/frigate/ptz/autotrack.py b/frigate/ptz/autotrack.py index ddeaf829c..cb226b8f8 100644 --- a/frigate/ptz/autotrack.py +++ b/frigate/ptz/autotrack.py @@ -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