From aa5761f716bd236b0617386531cc472170566808 Mon Sep 17 00:00:00 2001 From: Nick Mowen Date: Fri, 27 May 2022 12:33:08 -0600 Subject: [PATCH] Add bounding box option to trigger --- frigate/config.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/frigate/config.py b/frigate/config.py index 5469fbd16..7beaab45c 100644 --- a/frigate/config.py +++ b/frigate/config.py @@ -289,6 +289,10 @@ class ZoneConfig(BaseModel): default_factory=list, title="List of objects that can trigger the zone.", ) + bounding_box_trigger: str = Field( + default="bottom-center", + title="Point of an objects bounding box that triggers this zone.", + ) _color: Optional[Tuple[int, int, int]] = PrivateAttr() _contour: np.ndarray = PrivateAttr()