From c3896f47d5ded87fb249cd79a208137e28d07136 Mon Sep 17 00:00:00 2001 From: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com> Date: Mon, 9 Oct 2023 17:08:30 -0500 Subject: [PATCH] adjust zoom factor exponent --- frigate/ptz/autotrack.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frigate/ptz/autotrack.py b/frigate/ptz/autotrack.py index 2dfbe79b1..2db26ccb6 100644 --- a/frigate/ptz/autotrack.py +++ b/frigate/ptz/autotrack.py @@ -814,7 +814,7 @@ class PtzAutoTracker: ) ) is not None: # zoom in value - zoom = target_box ** self.zoom_factor[camera] + zoom = target_box ** (self.zoom_factor[camera] / 1.5) if not result: # zoom out