mirror of
https://github.com/blakeblackshear/frigate.git
synced 2024-11-21 19:07:46 +01:00
Add fire alarm to default audio labels (#7854)
* Add fire alarm to default audio list * Update docs for default audio label list * Update audio detectors with default label list
This commit is contained in:
parent
3797340efa
commit
5d30944d6e
@ -50,13 +50,14 @@ cameras:
|
|||||||
|
|
||||||
### Configuring Audio Events
|
### Configuring Audio Events
|
||||||
|
|
||||||
The included audio model has over [500 different types](https://github.com/blakeblackshear/frigate/blob/dev/audio-labelmap.txt) of audio that can be detected, many of which are not practical. By default `bark`, `speech`, `yell`, and `scream` are enabled but these can be customized.
|
The included audio model has over [500 different types](https://github.com/blakeblackshear/frigate/blob/dev/audio-labelmap.txt) of audio that can be detected, many of which are not practical. By default `bark`, `fire_alarm`, `scream`, `speech`, and `yell` are enabled but these can be customized.
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
audio:
|
audio:
|
||||||
enabled: True
|
enabled: True
|
||||||
listen:
|
listen:
|
||||||
- bark
|
- bark
|
||||||
|
- fire_alarm
|
||||||
- scream
|
- scream
|
||||||
- speech
|
- speech
|
||||||
- yell
|
- yell
|
||||||
|
@ -151,6 +151,7 @@ audio:
|
|||||||
# Optional: Types of audio to listen for (default: shown below)
|
# Optional: Types of audio to listen for (default: shown below)
|
||||||
listen:
|
listen:
|
||||||
- bark
|
- bark
|
||||||
|
- fire_alarm
|
||||||
- scream
|
- scream
|
||||||
- speech
|
- speech
|
||||||
- yell
|
- yell
|
||||||
|
@ -48,7 +48,7 @@ DEFAULT_TIME_FORMAT = "%m/%d/%Y %H:%M:%S"
|
|||||||
FRIGATE_ENV_VARS = {k: v for k, v in os.environ.items() if k.startswith("FRIGATE_")}
|
FRIGATE_ENV_VARS = {k: v for k, v in os.environ.items() if k.startswith("FRIGATE_")}
|
||||||
|
|
||||||
DEFAULT_TRACKED_OBJECTS = ["person"]
|
DEFAULT_TRACKED_OBJECTS = ["person"]
|
||||||
DEFAULT_LISTEN_AUDIO = ["bark", "speech", "yell", "scream"]
|
DEFAULT_LISTEN_AUDIO = ["bark", "fire_alarm", "scream", "speech", "yell"]
|
||||||
DEFAULT_DETECTORS = {"cpu": {"type": "cpu"}}
|
DEFAULT_DETECTORS = {"cpu": {"type": "cpu"}}
|
||||||
DEFAULT_DETECT_DIMENSIONS = {"width": 1280, "height": 720}
|
DEFAULT_DETECT_DIMENSIONS = {"width": 1280, "height": 720}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user