mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-09-28 10:56:52 +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
@@ -41,6 +41,11 @@ class AudioConfig(FrigateBaseModel):
|
||||
title="Listen types",
|
||||
description="List of audio event types to detect (for example: bark, fire_alarm, speech, yell).",
|
||||
)
|
||||
labelmap: dict[int, str] = Field(
|
||||
default_factory=dict,
|
||||
title="Audio labelmap customization",
|
||||
description="Overrides or remapping entries to merge into the standard audio labelmap.",
|
||||
)
|
||||
filters: dict[str, AudioFilterConfig] | None = Field(
|
||||
None,
|
||||
title="Audio filters",
|
||||
|
||||
Reference in New Issue
Block a user