blakeblackshear.frigate/frigate
Nicolas Mowen c3b313a70d
Audio events (#6848)
* Initial audio classification model implementation

* fix mypy

* Keep audio labelmap local

* Cleanup

* Start adding config for audio

* Add the detector

* Add audio detection process keypoints

* Build out base config

* Load labelmap correctly

* Fix config bugs

* Start audio process

* Fix startup issues

* Try to cleanup restarting

* Add ffmpeg input args

* Get audio detection working

* Save event to db

* End events if not heard for 30 seconds

* Use not heard config

* Stop ffmpeg when shutting down

* Fixes

* End events correctly

* Use api instead of event queue to save audio events

* Get events working

* Close threads when stop event is sent

* remove unused

* Only start audio process if at least one camera is enabled

* Add const for float

* Cleanup labelmap

* Add audio icon in frontend

* Add ability to toggle audio with mqtt

* Set initial audio value

* Fix audio enabling

* Close logpipe

* Isort

* Formatting

* Fix web tests

* Fix web tests

* Handle cases where args are a string

* Remove log

* Cleanup process close

* Use correct field

* Simplify if statement

* Use var for localhost

* Add audio detectors docs

* Add restream docs to mention audio detection

* Add full config docs

* Fix links to other docs

---------

Co-authored-by: Jason Hunter <hunterjm@gmail.com>
2023-07-01 08:18:33 -05:00
..
comms Audio events (#6848) 2023-07-01 08:18:33 -05:00
detectors Add isort and ruff linter (#6575) 2023-05-29 05:31:17 -05:00
events Audio events (#6848) 2023-07-01 08:18:33 -05:00
images Replace green screen with error message and force camera_fps to 0 (#4544) 2022-11-28 21:47:20 -06:00
motion use a different method for blur and contrast to reduce CPU (#6940) 2023-06-30 07:27:31 -05:00
record Audio events (#6848) 2023-07-01 08:18:33 -05:00
test use clahe for contrast improvement (#6835) 2023-06-18 11:56:41 -05:00
track Fix max_frames, improve stationary objects in masked areas (#6815) 2023-06-16 07:32:43 -05:00
__init__.py app container and config schema 2021-01-26 21:40:33 -06:00
__main__.py Add isort and ruff linter (#6575) 2023-05-29 05:31:17 -05:00
app.py Audio events (#6848) 2023-07-01 08:18:33 -05:00
config.py Audio events (#6848) 2023-07-01 08:18:33 -05:00
const.py Audio events (#6848) 2023-07-01 08:18:33 -05:00
ffmpeg_presets.py Audio events (#6848) 2023-07-01 08:18:33 -05:00
http.py Audio events (#6848) 2023-07-01 08:18:33 -05:00
log.py Performance: multiprocessing improvement (#6936) 2023-06-28 05:39:39 -05:00
models.py Optimization of Sync Records: Implementing Pagination and Temporary Table (#6585) 2023-06-11 08:01:50 -05:00
mypy.ini update deps (#6093) 2023-04-15 14:17:59 -05:00
object_detection.py Fix max_frames, improve stationary objects in masked areas (#6815) 2023-06-16 07:32:43 -05:00
object_processing.py Apply zone filter before inertia (#6854) 2023-06-30 07:15:55 -05:00
output.py Audio events (#6848) 2023-07-01 08:18:33 -05:00
plus.py Add isort and ruff linter (#6575) 2023-05-29 05:31:17 -05:00
ptz.py Add isort and ruff linter (#6575) 2023-05-29 05:31:17 -05:00
stats.py update deps (#6973) 2023-07-01 07:47:16 -05:00
storage.py Refactor storage stats calculation to use powers of 2 for more accurate values (#6765) 2023-06-11 14:49:13 -05:00
timeline.py Performance: multiprocessing improvement (#6936) 2023-06-28 05:39:39 -05:00
types.py Audio events (#6848) 2023-07-01 08:18:33 -05:00
util.py optimize frame-per-second calculations (#6887) 2023-06-28 05:55:53 -05:00
video.py configurable ffmpeg timeout (#6897) 2023-06-30 07:14:39 -05:00
watchdog.py update deps (#6973) 2023-07-01 07:47:16 -05:00