mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-09-26 20:58:58 +03:00
Add audio labelmap grouping (#24004)
Allow audio classes to be grouped under a shared configured label. Keep audio overrides separate from object labels and retain only the highest-scoring grouped detection. Refs #23967
This commit is contained in:
committed by
Nicolas Mowen
parent
6ba9dd92e4
commit
fd76eb6c6f
@@ -31,6 +31,10 @@
|
||||
"label": "Listen types",
|
||||
"description": "List of audio event types to detect (for example: bark, fire_alarm, speech, yell)."
|
||||
},
|
||||
"labelmap": {
|
||||
"label": "Audio labelmap customization",
|
||||
"description": "Overrides or remapping entries to merge into the standard audio labelmap."
|
||||
},
|
||||
"filters": {
|
||||
"label": "Audio filters",
|
||||
"description": "Per-audio-type filter settings such as confidence thresholds used to reduce false positives.",
|
||||
|
||||
@@ -533,6 +533,10 @@
|
||||
"label": "Listen types",
|
||||
"description": "List of audio event types to detect (for example: bark, fire_alarm, speech, yell)."
|
||||
},
|
||||
"labelmap": {
|
||||
"label": "Audio labelmap customization",
|
||||
"description": "Overrides or remapping entries to merge into the standard audio labelmap."
|
||||
},
|
||||
"filters": {
|
||||
"label": "Audio filters",
|
||||
"description": "Per-audio-type filter settings such as confidence thresholds used to reduce false positives.",
|
||||
|
||||
@@ -31,7 +31,7 @@ const audio: SectionConfigOverrides = {
|
||||
detection: ["listen", "filters"],
|
||||
sensitivity: ["min_volume", "max_not_heard"],
|
||||
},
|
||||
hiddenFields: ["enabled_in_config"],
|
||||
hiddenFields: ["enabled_in_config", "labelmap"],
|
||||
advancedFields: ["min_volume", "max_not_heard", "num_threads"],
|
||||
uiSchema: {
|
||||
filters: {
|
||||
|
||||
Reference in New Issue
Block a user