mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-05 10:45:21 +03:00
Clarify zone presence behavior
Co-authored-by: Blake Blackshear <blakeb@blakeshome.com>
This commit is contained in:
parent
a3235e0c0e
commit
8b458d1d1e
@ -467,7 +467,7 @@ cameras:
|
|||||||
# Required: List of x,y coordinates to define the polygon of the zone.
|
# Required: List of x,y coordinates to define the polygon of the zone.
|
||||||
# NOTE: Presence in a zone is evaluated only based on the bottom center of the objects bounding box.
|
# NOTE: Presence in a zone is evaluated only based on the bottom center of the objects bounding box.
|
||||||
coordinates: 545,1077,747,939,788,805
|
coordinates: 545,1077,747,939,788,805
|
||||||
# Optional: Set the inertia required for an object to be considered present in the zone. Allowed values are 0 < inertia < 10 (default: shown below)
|
# Optional: Number of consecutive frames required for object to be considered present in the zone. Allowed values are 1-10 (default: shown below)
|
||||||
inertia: 3
|
inertia: 3
|
||||||
# Optional: List of objects that can trigger this zone (default: all tracked objects)
|
# Optional: List of objects that can trigger this zone (default: all tracked objects)
|
||||||
objects:
|
objects:
|
||||||
|
|||||||
@ -328,7 +328,7 @@ class ZoneConfig(BaseModel):
|
|||||||
)
|
)
|
||||||
inertia: int = Field(
|
inertia: int = Field(
|
||||||
default=3,
|
default=3,
|
||||||
title="Number of frames required for object to be considered present in the zone.",
|
title="Number of consecutive frames required for object to be considered present in the zone.",
|
||||||
gt=0,
|
gt=0,
|
||||||
le=10,
|
le=10,
|
||||||
)
|
)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user