From 5ade0cda2c180dba4c9aeec6746760c4c2520f80 Mon Sep 17 00:00:00 2001 From: Nick Mowen Date: Tue, 20 Jun 2023 06:34:18 -0600 Subject: [PATCH] Formatting --- frigate/object_processing.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/frigate/object_processing.py b/frigate/object_processing.py index 22b07b141..e69210cce 100644 --- a/frigate/object_processing.py +++ b/frigate/object_processing.py @@ -189,9 +189,7 @@ class TrackedObject: # check if the object is in the zone if cv2.pointPolygonTest(contour, bottom_center, False) >= 0: # if the object passed the filters once, dont apply again - if name in self.current_zones or not zone_filtered( - self, zone.filters - ): + if name in self.current_zones or not zone_filtered(self, zone.filters): self.zone_presence[name] = zone_score + 1 # an object is only considered present in a zone if it has a zone inertia of 3+