mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-03 09:45:22 +03:00
Add bounding box option to trigger
This commit is contained in:
parent
d999575832
commit
aa5761f716
@ -289,6 +289,10 @@ class ZoneConfig(BaseModel):
|
|||||||
default_factory=list,
|
default_factory=list,
|
||||||
title="List of objects that can trigger the zone.",
|
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()
|
_color: Optional[Tuple[int, int, int]] = PrivateAttr()
|
||||||
_contour: np.ndarray = PrivateAttr()
|
_contour: np.ndarray = PrivateAttr()
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user