From d34dd3f491d13aab09a237bb5239236794c951b2 Mon Sep 17 00:00:00 2001 From: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com> Date: Mon, 2 Oct 2023 15:56:50 -0500 Subject: [PATCH] fix area zoom logic --- 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 9d4b6bf88..ca8cc0cf1 100644 --- a/frigate/ptz/autotrack.py +++ b/frigate/ptz/autotrack.py @@ -714,7 +714,7 @@ class PtzAutoTracker: and abs(obj.obj_data["area"] - obj.previous["area"]) / obj.obj_data["area"] < 0.3 - and zoom >= zoom_level + and zoom <= zoom_level ): zoom = 0