File tree 2 files changed +2
-4
lines changed
2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ cameras:
51
51
snapshot_config:
52
52
# OPTIONAL: but highly recommended, setting the default url for a snapshot to be
53
53
# processed by this camera. This is required for auto detection (Default: none).
54
- snapshot_url : "http://ip.ad.dr.ess/jpg"
54
+ url : "http://ip.ad.dr.ess/jpg"
55
55
# OPTIONAL: Whether or not to save the snapshots of confirmed detections (Default: shown below).
56
56
save_detections: true
57
57
# OPTIONAL: Whether or not to save the snapshots of missed detections (Default: shown below).
Original file line number Diff line number Diff line change @@ -28,15 +28,13 @@ class SnapshotConfig(SwatchBaseModel):
28
28
"""Configuration for saving snapshots."""
29
29
30
30
url : str = Field (title = "Camera Snapshot Url." , default = None )
31
+ mode : SnapshotModeEnum = Field (title = "Snapshot mode." , default = SnapshotModeEnum .ALL )
31
32
save_detections : bool = Field (
32
33
title = "Save snapshots of detections that are found." , default = True
33
34
)
34
35
save_misses : bool = Field (
35
36
title = "Save snapshots of missed detections." , default = False
36
37
)
37
- snapshot_mode : SnapshotModeEnum = Field (
38
- title = "Snapshot mode." , default = SnapshotModeEnum .ALL
39
- )
40
38
retain_days : int = Field (title = "Number of days to retain snapshots." , default = 7 )
41
39
42
40
You can’t perform that action at this time.
0 commit comments