From 70167a34b682d5ee7fa8f6bd94c8a0603dd4a8d2 Mon Sep 17 00:00:00 2001 From: Blake Blackshear Date: Mon, 18 Jan 2021 06:38:26 -0600 Subject: [PATCH] fix zone config --- frigate/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frigate/config.py b/frigate/config.py index da7390372..3bce9c6a0 100644 --- a/frigate/config.py +++ b/frigate/config.py @@ -765,7 +765,7 @@ class DetectConfig(): class ZoneConfig(): def __init__(self, name, config): self._coordinates = config['coordinates'] - self._filters = { name: FilterConfig(c) for name, c in config['filters'].items() } + self._filters = { name: FilterConfig(c, c) for name, c in config['filters'].items() } if isinstance(self._coordinates, list): self._contour = np.array([[int(p.split(',')[0]), int(p.split(',')[1])] for p in self._coordinates])