mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-04-05 22:57:40 +03:00
Add missed config helper text
This commit is contained in:
parent
2343cd3973
commit
42e442246b
@ -35,17 +35,17 @@ class SnapshotsConfig(FrigateBaseModel):
|
|||||||
timestamp: bool = Field(
|
timestamp: bool = Field(
|
||||||
default=False,
|
default=False,
|
||||||
title="Timestamp overlay",
|
title="Timestamp overlay",
|
||||||
description="Overlay a timestamp on saved snapshots.",
|
description="Overlay a timestamp on snapshots from API.",
|
||||||
)
|
)
|
||||||
bounding_box: bool = Field(
|
bounding_box: bool = Field(
|
||||||
default=True,
|
default=True,
|
||||||
title="Bounding box overlay",
|
title="Bounding box overlay",
|
||||||
description="Draw bounding boxes for tracked objects on saved snapshots.",
|
description="Draw bounding boxes for tracked objects on snapshots from API.",
|
||||||
)
|
)
|
||||||
crop: bool = Field(
|
crop: bool = Field(
|
||||||
default=False,
|
default=False,
|
||||||
title="Crop snapshot",
|
title="Crop snapshot",
|
||||||
description="Crop saved snapshots to the detected object's bounding box.",
|
description="Crop snapshots from API to the detected object's bounding box.",
|
||||||
)
|
)
|
||||||
required_zones: list[str] = Field(
|
required_zones: list[str] = Field(
|
||||||
default_factory=list,
|
default_factory=list,
|
||||||
@ -55,7 +55,7 @@ class SnapshotsConfig(FrigateBaseModel):
|
|||||||
height: Optional[int] = Field(
|
height: Optional[int] = Field(
|
||||||
default=None,
|
default=None,
|
||||||
title="Snapshot height",
|
title="Snapshot height",
|
||||||
description="Height (pixels) to resize saved snapshots to; leave empty to preserve original size.",
|
description="Height (pixels) to resize snapshots from API to; leave empty to preserve original size.",
|
||||||
)
|
)
|
||||||
retain: RetainConfig = Field(
|
retain: RetainConfig = Field(
|
||||||
default_factory=RetainConfig,
|
default_factory=RetainConfig,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user