Commit Graph

1842 Commits

Author SHA1 Message Date
JP Verdejo
39a33f6143 Expose dBFS when doing audio analysis 2023-06-26 19:33:11 +00:00
Nick Mowen
ba3c7f59e5 Simplify if statement 2023-06-25 20:40:07 -06:00
Nick Mowen
23f1b51455 Use correct field 2023-06-25 20:39:46 -06:00
Nick Mowen
f553cb053a Cleanup process close 2023-06-22 17:08:38 -06:00
Nick Mowen
b087d55580 Remove log 2023-06-22 16:28:04 -06:00
Nick Mowen
7f106976c0 Handle cases where args are a string 2023-06-20 06:19:23 -06:00
Nick Mowen
5494aa7631 Fix web tests 2023-06-19 17:01:52 -06:00
Nick Mowen
6fa001d82e Fix web tests 2023-06-19 16:55:17 -06:00
Nick Mowen
0fa7c744ba Formatting 2023-06-19 16:52:08 -06:00
Nick Mowen
9f8e2fd51c Isort 2023-06-19 16:50:30 -06:00
Nick Mowen
edd7e14237 Close logpipe 2023-06-19 16:47:32 -06:00
Nick Mowen
f8b2643ca8 Fix audio enabling 2023-06-19 16:29:53 -06:00
Nick Mowen
2555232f45 Set initial audio value 2023-06-19 16:20:54 -06:00
Nick Mowen
85cc348751 Add ability to toggle audio with mqtt 2023-06-19 16:19:55 -06:00
Nick Mowen
8198165fa7 Add audio icon in frontend 2023-06-19 15:44:21 -06:00
Nick Mowen
8444cc450d Cleanup labelmap 2023-06-19 15:23:38 -06:00
Nick Mowen
c73118ae49 Add const for float 2023-06-19 15:13:23 -06:00
Nick Mowen
cc11cf1737 Only start audio process if at least one camera is enabled 2023-06-19 08:12:33 -06:00
Nick Mowen
b89c6c30f7 remove unused 2023-06-19 08:10:57 -06:00
Nick Mowen
4239110af5 Close threads when stop event is sent 2023-06-19 08:05:26 -06:00
Nick Mowen
5c230ee0f5 Get events working 2023-06-19 08:00:47 -06:00
Nick Mowen
cc0cb3a78d Use api instead of event queue to save audio events 2023-06-19 07:50:02 -06:00
Nick Mowen
f0a59da933 End events correctly 2023-06-19 07:32:31 -06:00
Nick Mowen
5748efb352 Fixes 2023-06-19 07:11:49 -06:00
Nick Mowen
6c1fda11f6 Stop ffmpeg when shutting down 2023-06-19 06:57:11 -06:00
Nick Mowen
936cba75fb Use not heard config 2023-06-19 06:44:43 -06:00
Nick Mowen
1f1917742f End events if not heard for 30 seconds 2023-06-19 06:44:05 -06:00
Nick Mowen
734eb07a23 Save event to db 2023-06-18 17:11:11 -06:00
Nick Mowen
b5acd6a287 Get audio detection working 2023-06-18 16:34:38 -06:00
Nick Mowen
c017ceabf7 Add ffmpeg input args 2023-06-18 13:59:35 -06:00
Nick Mowen
16b6bcca9a Try to cleanup restarting 2023-06-18 13:50:06 -06:00
Nick Mowen
7e1ca34fc6 Fix startup issues 2023-06-18 13:42:15 -06:00
Nick Mowen
10e194b0d1 Start audio process 2023-06-18 13:37:52 -06:00
Nick Mowen
386e388f75 Fix config bugs 2023-06-18 13:30:13 -06:00
Nick Mowen
bf4cb22118 Load labelmap correctly 2023-06-18 13:04:41 -06:00
Nick Mowen
b6bb1cd185 Build out base config 2023-06-18 12:51:49 -06:00
Nick Mowen
87a4d1d15b Add audio detection process keypoints 2023-06-17 17:14:43 -06:00
Nick Mowen
2a83a3626c Add the detector 2023-06-17 16:48:41 -06:00
Nick Mowen
e43a7e65f9 Start adding config for audio 2023-06-17 16:20:42 -06:00
Nick Mowen
8055fbc6e8 Merge branch 'dev' of github.com:blakeblackshear/frigate into audio-events 2023-06-17 09:55:57 -06:00
Nick Mowen
021ed5c141 Cleanup 2023-06-17 09:54:29 -06:00
Nick Mowen
51e1e5b7a5 Keep audio labelmap local 2023-06-17 09:49:45 -06:00
Nicolas Mowen
09cc4251f0
Fix dict getting overwritten (#6830) 2023-06-17 10:31:35 -05:00
Blake Blackshear
793fe251b9
Label attributes (#6829)
* pass attribute labels as attributes

* add label attrs to events and snapshots

* incorporate area of license_plate and face into snapshot selection

* populate sublabels for cars with logos
2023-06-17 09:56:22 -05:00
Nicolas Mowen
2be2050d57
Don't fail to save segment when cv2 fails (#6823)
* Don't fail when cv2 fails

* Clean up exception handling
2023-06-17 09:56:00 -05:00
Nicolas Mowen
0996883a98
Add docs for annotation offset (#6824) 2023-06-16 18:00:49 -06:00
Nicolas Mowen
b66810247e
Optimize stacked recordings (#6809)
* Make camera recordings mover asynchronous

* Formatting

* Move to using cv2 instead of external ffmpeg process

* Use ffprobe if cv2 failed

* Formatting

* Fix bad access

* Formatting

* Update frigate/record/maintainer.py

Co-authored-by: Blake Blackshear <blakeb@blakeshome.com>

* Update name of caller

---------

Co-authored-by: Blake Blackshear <blakeb@blakeshome.com>
2023-06-16 07:09:13 -06:00
Nicolas Mowen
0592cedcde
Rewrite birdseye auto layout (#6818)
* Prefer horizontal layout to vertical

* Rewrite birdseye to use aspect ratios instead of resolutions as layout configurator

* Improve layout with slightly larger than 16:9 cameras

* Remove manual 2 camera layout

* Lint

* Remove log
2023-06-16 07:35:36 -05:00
Blake Blackshear
ca7853c087
Fix max_frames, improve stationary objects in masked areas (#6815)
* fix issue with max_frames

* dont consider stationary until the threshold

* require a stationary interval

* try to fix formatter issues
2023-06-16 07:32:43 -05:00
Sergey Krashevich
3efa77f302
Round the timestamp value read from .vacuum file to prevent potential errors caused by float values (#6800) 2023-06-14 17:19:26 -05:00