mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-08-04 09:58:51 +03:00
Masks and zones improvements (#22163)
* migrator and runtime config changes * component changes to use rasterized_mask * frontend * convert none to empty string for config save * i18n * update tests * add enabled config to zones * zones frontend * i18n * docs * tweaks * use dashed stroke to indicate disabled * allow toggle from icon * use filelock to ensure atomic config updates from endpoint * enforce atomic config update in the frontend * toggle via mqtt * fix global object masks * correctly handle global object masks in dispatcher * ws hooks * render masks and zones based on ws enabled state * use enabled_in_config for zones and masks * frontend for enabled_in_config * tweaks * i18n * publish websocket on config save * i18n tweaks * pydantic title and description * i18n generation * tweaks * fix typing
This commit is contained in:
@@ -348,6 +348,9 @@
|
||||
"label": "Object mask",
|
||||
"description": "Mask polygon used to prevent object detection in specified areas."
|
||||
},
|
||||
"raw_mask": {
|
||||
"label": "Raw Mask"
|
||||
},
|
||||
"genai": {
|
||||
"label": "GenAI object config",
|
||||
"description": "GenAI options for describing tracked objects and sending frames for generation.",
|
||||
@@ -860,6 +863,12 @@
|
||||
"label": "Zone name",
|
||||
"description": "A user-friendly name for the zone, displayed in the Frigate UI. If not set, a formatted version of the zone name will be used."
|
||||
},
|
||||
"enabled": {
|
||||
"label": "Whether this zone is active. Disabled zones are ignored at runtime."
|
||||
},
|
||||
"enabled_in_config": {
|
||||
"label": "Keep track of original state of zone."
|
||||
},
|
||||
"filters": {
|
||||
"label": "Zone filters",
|
||||
"description": "Filters to apply to objects within this zone. Used to reduce false positives or restrict which objects are considered present in the zone.",
|
||||
|
||||
@@ -1475,6 +1475,9 @@
|
||||
"label": "Object mask",
|
||||
"description": "Mask polygon used to prevent object detection in specified areas."
|
||||
},
|
||||
"raw_mask": {
|
||||
"label": "Raw Mask"
|
||||
},
|
||||
"genai": {
|
||||
"label": "GenAI object config",
|
||||
"description": "GenAI options for describing tracked objects and sending frames for generation.",
|
||||
|
||||
Reference in New Issue
Block a user