Commit Graph

1901 Commits

Author SHA1 Message Date
Andrew Reiter
b0d94a0ce7 Add Jetson ffmpeg hwaccel 2023-07-18 13:30:15 -04:00
Andrew Reiter
288828750c Add tensorrt images for Jetson boards 2023-07-18 13:14:37 -04:00
Andrew Reiter
8829dc26e2 Prepare for multi-arch tensorrt build 2023-07-18 13:13:39 -04:00
Andrew Reiter
ffaaa77115 Non-Jetson changes
Required for later commits:
- Allow base image to be overridden (and don't assume its WORKDIR)
- Ensure python3.9
- Map hwaccel decode presets as strings instead of lists
Not required:
- Fix existing documentation
- Simplify hwaccel scale logic
2023-07-18 12:48:25 -04:00
Nick Mowen
91cd44e85c Add back --load 2023-07-18 08:10:52 -06:00
Nick Mowen
a2634895d6 Move requirements files and set intermediate targets 2023-07-18 07:39:10 -06:00
Nick Mowen
630334c520 Update key and fix rpi local 2023-07-18 07:39:10 -06:00
Nick Mowen
84adb7ef83 Move dev container to trt 2023-07-18 07:39:10 -06:00
Nick Mowen
b3ce493a16 Add wheels target 2023-07-18 07:38:51 -06:00
Nick Mowen
f146c91c9f Fix syntax 2023-07-17 15:13:07 -06:00
Nick Mowen
11e455f118 Fix build 2023-07-17 15:07:48 -06:00
Nick Mowen
03d6512bcc Set targets 2023-07-17 14:58:28 -06:00
Nick Mowen
175ca43b1f Fix devcontainer 2023-07-17 14:21:31 -06:00
Nick Mowen
fb20e36a46 Fix path 2023-07-17 14:14:34 -06:00
Nick Mowen
410c1d3c83 Add ci/cd for bake 2023-07-17 14:14:03 -06:00
Nick Mowen
50b6b925a4 Setup to use docker bake 2023-07-17 14:14:03 -06:00
Nick Mowen
0e434e7cb5 Cleanup docker build file system 2023-07-17 14:13:27 -06:00
Nick Mowen
22a22e668d Cleanup and add default github ref name 2023-07-17 09:31:13 -06:00
Nick Mowen
1230d2a340 Add arm build for rpi 2023-07-17 09:31:13 -06:00
Nicolas Mowen
56da8154a4 fix typos, improve wording 2023-07-17 09:31:13 -06:00
Nick Mowen
567efe2a3a Add push build for rpi 2023-07-17 09:31:13 -06:00
Nick Mowen
eb2dd3b726 Remove manual build 2023-07-17 09:31:13 -06:00
Nick Mowen
26f805a643 remove target from rpi build 2023-07-17 09:31:13 -06:00
Nick Mowen
8db5560d0e Update pr branch for testing 2023-07-17 09:31:13 -06:00
Nick Mowen
6009d2f640 Fix docs build 2023-07-17 09:31:13 -06:00
Nick Mowen
5ef4a2afe1 Fix docker build 2023-07-17 09:31:13 -06:00
Nick Mowen
b7ba4f83ba Add boards to sidebar 2023-07-17 09:31:13 -06:00
Nick Mowen
1cc03be313 Add docs 2023-07-17 09:31:13 -06:00
Nick Mowen
2e57e92dcd Make main frigate build non rpi specific and build rpi using base image 2023-07-17 09:31:13 -06:00
Nicolas Mowen
c5b8d13beb
Save audio scores and add audio filter config (#7185)
* Send and save score for external events

* Add audio filters config

* Fix access

* Add docs

* Cleanup
2023-07-17 06:07:15 -05:00
Nicolas Mowen
dacf45cd88
Add tests for recordings retention and fix bug (#7183)
* Add tests for segment info

* Fix logic
2023-07-16 13:07:15 -05:00
Nicolas Mowen
c6d0e93157
Allow customization of tooltip capitalization (#7172) 2023-07-16 07:44:05 -05:00
Nicolas Mowen
662025a961
Remove faster_fifo (#7181)
* Remove faster_fifo

* Remove const
2023-07-16 07:42:56 -05:00
Nicolas Mowen
07155b1fa9
Show / Download Exported recordings UI (#7171)
* Start with getting list of exports

* List downloadable exports in export page

* Fix downloading

* use swr instead of effect
2023-07-15 15:13:53 -05:00
Nicolas Mowen
8e584cf844
Add option for enabling sync recordings (#7169) 2023-07-15 08:38:21 -05:00
Nicolas Mowen
d0873631cc
Fix logic (#7165) 2023-07-14 20:46:01 -05:00
Nicolas Mowen
dfd3fcdff6
Publish audio detections (#7159)
* Send mqtt message when audio is detected

* Fix value

* Add audio topics to mqtt docs and add mqtt headers

* Use existing standard for values

* Update mqtt.md
2023-07-14 19:06:00 -05:00
Nicolas Mowen
00016b7499
Save average dBFS and retain segment with dBFS in motion mode (#7158)
* Hold audio info queue for recordings

* Add dBFS to db

* Cleanup

* Formatting

* Fix check
2023-07-14 19:05:14 -05:00
Nate Meyer
5bb5e2dc5a
Add check for valid label index for object detection (#7149) (#7164) 2023-07-14 19:01:53 -05:00
Josh Hawkins
dc2e786a6f
remove sleeps and improve queue logic (#7163) 2023-07-14 19:01:10 -05:00
Nicolas Mowen
598ae98bfe
Fix incorrect import in Config (#7157) 2023-07-14 06:32:17 -06:00
Sergey Krashevich
ce3a544ecd
Feature: automatic camera resolution configuration (#6810)
* Add auto configuration for height, width and fps in detect role

* Add auto-configuration for detect width, height, and fps for input roles with detect in the CameraConfig class in config.py

* Refactor code to retrieve video properties from input stream in CameraConfig class and add optional parameter to retrieve video duration in get_video_properties function

* format

* Set default detect dimensions to 1280x720 and update DetectConfig to use the defaults

* Revert "Set default detect dimensions to 1280x720 and update DetectConfig to use the defaults"

This reverts commit a1aed0414d.

* Add default detect dimensions if autoconfiguration failed and log a warning message

* fix warn message spelling on frigate/config.py

Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com>

* Ensure detect height and width are not None before using them in camera configuration

* docs: initial commit

* rename streamInfo to stream_info

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

* Apply suggestions from code review

Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com>

* Update docs

* handle case then get_video_properties returns 0x0 dimension

* Set detect resolution based on stream properties if available, else apply default values

* Update FrigateConfig to set default values for stream_info if resolution detection fails

* Update camera detection dimensions based on stream information if available

---------

Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com>
Co-authored-by: Blake Blackshear <blakeb@blakeshome.com>
2023-07-14 06:56:03 -05:00
Sergey Krashevich
6ac36e8436
Fix: Add limit to event query (#7108)
* Add limit to event query for fetching latest event with specified label and camera name

* Refactor the label_thumbnail function in frigate/http.py to simplify the event_query logic and improve code readability
2023-07-14 06:30:47 -05:00
Nicolas Mowen
5c12762cb5
Fix Birdseye Width & PTZ control panel (#7118)
* Cleanup birdseye UI

* Cleanup

* Fix reversed condition
2023-07-14 06:29:57 -05:00
Nicolas Mowen
3a0c36e8db
Refactor ff queue size (#7116)
* Refactor queue size

* Only use enabled cameras

* Formatting
2023-07-14 06:29:11 -05:00
Nicolas Mowen
6adc810145
Sub label api score (#7113)
* Support setting sub label scores via API

* Update docs

* Update docs

* Formatting

* Throw error when score is outside expected bounds

* Fix / cleanup
2023-07-14 06:28:16 -05:00
Sergey Krashevich
6d34f2229b
WebUI: Show label & sub labels values next to the score (#7121)
* Refactor event label and sub-label score display in Events.jsx to include the event label and sub-label percentage

* Revert "Refactor event label and sub-label score display in Events.jsx to include the event label and sub-label percentage"

This reverts commit 87c23adf1e.

* Refactor event label and sub label score display in Events component
2023-07-14 06:25:53 -05:00
jpverdejo
b909ff4ecb
Expose dBFS when doing audio analysis (#6979)
* Expose dBFS when doing audio analysis

* Implement metadata communicator

* revert test changes

* Reverting the tests changes. For real this time

* Address feedback

* Address feedback

* Address feedback

* Address feedback
2023-07-13 19:52:33 -05:00
Sergey Krashevich
2d52fbd8e8
go2rtc v1.6.0 (#7122) 2023-07-13 05:40:44 -05:00
Josh Hawkins
c9254b256a
Autotracking: reset motion estimator (#7129)
* reset motion estimator after returning to preset

* small tweaks and a bugfix
2023-07-13 05:32:51 -05:00