ensure stationary interval is greater than 0

This commit is contained in:
Blake Blackshear 2021-11-20 09:15:03 -06:00
parent 173eaabddf
commit c50e9d48bf

View File

@ -154,7 +154,8 @@ class DetectConfig(FrigateBaseModel):
title="Maximum number of frames the object can dissapear before detection ends."
)
stationary_interval: Optional[int] = Field(
title="Frame interval for checking stationary objects."
title="Frame interval for checking stationary objects.",
ge=1,
)