From 3444d340f91f44c0dd3c073439933ffea96c2b08 Mon Sep 17 00:00:00 2001 From: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com> Date: Wed, 8 May 2024 09:21:02 -0500 Subject: [PATCH] revert --- frigate/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frigate/config.py b/frigate/config.py index 98f961dcd..008176956 100644 --- a/frigate/config.py +++ b/frigate/config.py @@ -606,7 +606,7 @@ class ZoneConfig(BaseModel): if explicit: self.coordinates = ",".join( [ - f"{int(points[i]) / frame_shape[1]},{int(points[i + 1]) / frame_shape[0]}" + f"{round(int(points[i]) / frame_shape[1], 3)},{round(int(points[i + 1]) / frame_shape[0], 3)}" for i in range(0, len(points), 2) ] )