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