diff --git a/docs/docs/configuration/index.md b/docs/docs/configuration/index.md index c2ee60c1d..37b4d0512 100644 --- a/docs/docs/configuration/index.md +++ b/docs/docs/configuration/index.md @@ -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: diff --git a/frigate/config.py b/frigate/config.py index 3f1493ccd..1ad4a45f3 100644 --- a/frigate/config.py +++ b/frigate/config.py @@ -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, )