Clarify zone presence behavior

Co-authored-by: Blake Blackshear <blakeb@blakeshome.com>
This commit is contained in:
Nicolas Mowen 2023-06-11 06:51:21 -06:00 committed by GitHub
parent a3235e0c0e
commit 8b458d1d1e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -467,7 +467,7 @@ cameras:
# 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.
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
# Optional: List of objects that can trigger this zone (default: all tracked objects)
objects:

View File

@ -328,7 +328,7 @@ class ZoneConfig(BaseModel):
)
inertia: int = Field(
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,
le=10,
)