From df2aae51696002b5fe67119d842c101f7f14379f Mon Sep 17 00:00:00 2001 From: Ryan Press Date: Wed, 19 Aug 2020 09:14:42 -0400 Subject: [PATCH] Fix zone filters --- frigate/object_processing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frigate/object_processing.py b/frigate/object_processing.py index 3bb2cf254..bc7cb8fda 100644 --- a/frigate/object_processing.py +++ b/frigate/object_processing.py @@ -156,7 +156,7 @@ class TrackedObjectProcessor(threading.Thread): continue # check if the object is in the zone and not filtered if (cv2.pointPolygonTest(current_contour, bottom_center, False) >= 0 - and not zone_filtered(obj, self.zone_config[name][camera].get('filters', {}))): + and not zone_filtered(obj, self.zone_config[name][camera])): current_objects_in_zones[name].append(obj['label']) ###