mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-03-10 10:33:11 +03:00
tweaks
This commit is contained in:
parent
637a38fc0f
commit
eecc00865d
@ -119,7 +119,7 @@ class OnvifConfig(FrigateBaseModel):
|
||||
)
|
||||
autotracking: PtzAutotrackConfig = Field(
|
||||
default_factory=PtzAutotrackConfig,
|
||||
title="PTZ config",
|
||||
title="Autotracking",
|
||||
description="Automatically track moving objects and keep them centered in the frame using PTZ camera movements.",
|
||||
)
|
||||
ignore_time_mismatch: bool = Field(
|
||||
|
||||
@ -141,7 +141,7 @@ class CustomClassificationConfig(FrigateBaseModel):
|
||||
)
|
||||
save_attempts: int | None = Field(
|
||||
default=None,
|
||||
title="Saved attempts",
|
||||
title="Save attempts",
|
||||
description="How many classification attempts to save for recent classifications UI.",
|
||||
ge=0,
|
||||
)
|
||||
@ -283,7 +283,7 @@ class FaceRecognitionConfig(FrigateBaseModel):
|
||||
save_attempts: int = Field(
|
||||
default=200,
|
||||
ge=0,
|
||||
title="Saved attempts",
|
||||
title="Save attempts",
|
||||
description="Number of face recognition attempts to retain for recent recognition UI.",
|
||||
)
|
||||
blur_confidence_filter: bool = Field(
|
||||
|
||||
@ -786,7 +786,7 @@
|
||||
"description": "Skip TLS verification and disable digest auth for ONVIF (unsafe; use in safe networks only)."
|
||||
},
|
||||
"autotracking": {
|
||||
"label": "PTZ config",
|
||||
"label": "Autotracking",
|
||||
"description": "Automatically track moving objects and keep them centered in the frame using PTZ camera movements.",
|
||||
"enabled": {
|
||||
"label": "Enable Autotracking",
|
||||
|
||||
@ -29,7 +29,7 @@
|
||||
"description": "Score threshold used to change the classification state."
|
||||
},
|
||||
"save_attempts": {
|
||||
"label": "Saved attempts",
|
||||
"label": "Save attempts",
|
||||
"description": "How many classification attempts to save for recent classifications UI."
|
||||
},
|
||||
"object_config": {
|
||||
|
||||
@ -30,7 +30,7 @@
|
||||
"description": "Minimum number of face recognitions required before applying a recognized sub-label to a person."
|
||||
},
|
||||
"save_attempts": {
|
||||
"label": "Saved attempts",
|
||||
"label": "Save attempts",
|
||||
"description": "Number of face recognition attempts to retain for recent recognition UI."
|
||||
},
|
||||
"blur_confidence_filter": {
|
||||
|
||||
@ -22,7 +22,7 @@
|
||||
"description": "Skip TLS verification and disable digest auth for ONVIF (unsafe; use in safe networks only)."
|
||||
},
|
||||
"autotracking": {
|
||||
"label": "PTZ config",
|
||||
"label": "Autotracking",
|
||||
"description": "Automatically track moving objects and keep them centered in the frame using PTZ camera movements.",
|
||||
"enabled": {
|
||||
"label": "Enable Autotracking",
|
||||
|
||||
@ -19,6 +19,11 @@ export const CameraMqttSection = createConfigSection({
|
||||
hiddenFields: [],
|
||||
advancedFields: ["height", "quality"],
|
||||
overrideFields: [],
|
||||
uiSchema: {
|
||||
required_zones: {
|
||||
"ui:widget": "zoneNames",
|
||||
},
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
|
||||
@ -13,12 +13,25 @@ export const OnvifSection = createConfigSection({
|
||||
"user",
|
||||
"password",
|
||||
"tls_insecure",
|
||||
"autotracking",
|
||||
"ignore_time_mismatch",
|
||||
"autotracking",
|
||||
],
|
||||
hiddenFields: ["autotracking.enabled_in_config"],
|
||||
advancedFields: ["tls_insecure", "autotracking", "ignore_time_mismatch"],
|
||||
hiddenFields: [
|
||||
"autotracking.enabled_in_config",
|
||||
"autotracking.movement_weights",
|
||||
],
|
||||
advancedFields: ["tls_insecure", "ignore_time_mismatch"],
|
||||
overrideFields: [],
|
||||
uiSchema: {
|
||||
autotracking: {
|
||||
required_zones: {
|
||||
"ui:widget": "zoneNames",
|
||||
},
|
||||
track: {
|
||||
"ui:widget": "objectLabels",
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
|
||||
@ -7,12 +7,12 @@ export const TimestampSection = createConfigSection({
|
||||
sectionPath: "timestamp_style",
|
||||
i18nNamespace: "config/timestamp_style",
|
||||
defaultConfig: {
|
||||
fieldOrder: ["position", "format", "color", "thickness", "effect"],
|
||||
fieldOrder: ["position", "format", "color", "thickness"],
|
||||
fieldGroups: {
|
||||
appearance: ["color", "thickness", "effect"],
|
||||
appearance: ["color", "thickness"],
|
||||
},
|
||||
hiddenFields: ["enabled_in_config"],
|
||||
advancedFields: ["thickness", "effect"],
|
||||
advancedFields: [],
|
||||
},
|
||||
});
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user