Commit Graph
100 Commits
Author SHA1 Message Date
Nicolas MowenandGitHub f27025aef3 don't fail on go2rtc stream with no url (#8839) 2023-12-03 03:14:30 +00:00
Nicolas MowenandGitHub 595fa3d111 Re-add support for go2rtc webrtc api (#8828) 2023-12-01 06:47:09 -07:00
Nicolas MowenandGitHub 89051c1b90 Create Edgetpu troubleshooting docs (#8827)
* Link to edgetpu troublehsooting

* Add troubleshooting docs for edgetpu

* Add to sidebar

* Add section about dual edge tpu
2023-12-01 07:41:30 -06:00
Nicolas MowenandGitHub 9b003e175d Don't incorrectly overwrite score history (#8795) 2023-11-29 23:37:28 +00:00
Nicolas MowenandGitHub 15644a2b0c Fix dark color scheme for exports (#8770) 2023-11-27 18:13:41 -06:00
Nicolas MowenandGitHub 18062eca06 Don't fail when tz is incorrect (#8723)
* Don't fail when tz is incorrect

* Fix import
2023-11-23 11:43:02 +00:00
Nicolas MowenandGitHub 7d157dfeb0 Set max value for pre_capture (#8656) 2023-11-18 15:37:06 -06:00
Nicolas MowenandGitHub 2da99c2308 Improve periodic sync reliability and make it optional (#8647)
* Improve recordings sync reliability

* Cleanup

* Formatting

* Make logs consistent

* Make syncing optional
2023-11-18 06:06:00 -06:00
Nicolas MowenandGitHub cadb1a6a5b Fix reolink link in recommended hardware (#8628) 2023-11-16 01:25:16 +00:00
Nicolas MowenandGitHub 97c15f7ef3 Update go2rtc to 1.8.3 (#8627) 2023-11-16 01:24:26 +00:00
Nicolas MowenandGitHub 8a010fc1f5 Fix vaapi color mapping (#8604) 2023-11-14 00:35:29 +00:00
Nicolas MowenandGitHub 563fdec211 Fix safari timezone (#8574)
* Fix safari bad time format

* Fix processing
2023-11-10 18:12:48 -06:00
Nicolas MowenandGitHub 3457dcddfe Don't run forever in autotracking (#8579) 2023-11-10 18:12:20 -06:00
Nicolas MowenandGitHub aa93d4fbdd Fix nginx cache (#8558) 2023-11-09 16:09:25 -06:00
Nicolas MowenandGitHub d0036b2f77 Update go2rtc to 1.8.2 (#8459)
* Update go2rtc to 1.8.2

* Update docs for 1.8.2
2023-11-09 06:43:06 -06:00
Nicolas MowenandGitHub 1b57f8c7e2 Show error when clicking on image before mask (#8547) 2023-11-09 06:42:19 -06:00
Nicolas MowenandGitHub fa96ec64e4 Detect Resolution Docs (#8542) 2023-11-09 06:41:50 -06:00
fe6577736e Tuning Motion guide (#6877)
* start working on motion guide

* Update motion_detection.md

* Add to sidebar

* Add title / ID

* Fix typos

* Fix typos and clarify

* Formatting

* Add default values from reference config for each section

* Small grammar fix

* Move to cameras section

* Updates

* Clarify and improve wording

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

---------

Co-authored-by: Blake Blackshear <blakeb@blakeshome.com>
2023-11-08 14:04:27 +00:00
Nicolas MowenandGitHub ef36aabd30 Make output writing asynchronous (#8530)
* Don't wait for frame write in output process

* Formatting

* Handle websocket exception

* Limit camera queeue size to 1 second
2023-11-07 16:24:56 -07:00
Nicolas MowenandGitHub ca84732574 Ensure storage cleanup doesn't fail (#8531) 2023-11-07 23:21:43 +00:00
Nicolas MowenandGitHub 0b828ef1ec Only cache json requests with nginx (#8529)
* Only cache json requests

* Use map instead
2023-11-07 23:18:58 +00:00
Nicolas MowenandGitHub cc5357a31a Remove iterator from recordings events (#8522) 2023-11-07 07:02:02 -07:00
f1b60f76eb Fix go2rtc UDP port default config (#8469)
* Fix go2rtc UDP port

* fix

* Use correct port

* fix comment

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

---------

Co-authored-by: Blake Blackshear <blakeb@blakeshome.com>
2023-11-07 11:33:33 +00:00
Nicolas MowenandGitHub f29e152619 Revert TRT class id filtering (#8497) 2023-11-07 11:32:52 +00:00
Nicolas MowenandGitHub 92906a500a Fix event only datetime check (#8500) 2023-11-07 11:32:31 +00:00
Nicolas MowenandGitHub 257bd89733 Reduce recording info timeout (#8506)
* Decrease timeout

* Use const for queue timeout
2023-11-07 11:32:11 +00:00
Nicolas MowenandGitHub 591b91194a Cleanup existing timeline entries (#8495)
* Cleanup existing timeline entries for beta users

* Formatting
2023-11-06 06:43:26 -07:00
Nicolas MowenandGitHub 2b2c831253 Set the min region size as the model size (#8486) 2023-11-06 06:45:37 -06:00
Nicolas MowenandGitHub a482160691 Cleanup timeline entries (#8489) 2023-11-06 06:42:10 -06:00
Nicolas MowenandGitHub 89dd114da1 Write recording segments to cache with timezone info (#8468)
* Store recording segments with timezone info

* Don't use _

* Use different separator due to timezone
2023-11-05 14:30:29 -06:00
Nicolas MowenandGitHub 4c05ef48a7 Add dependabot to tensorrt python deps (#8455) 2023-11-05 14:29:06 -06:00
Nicolas MowenandGitHub 14c89c9b63 Fix periodic sync check (#8472)
* Fix periodic sync

* Formatting
2023-11-05 09:28:40 -07:00
Nicolas MowenandGitHub 63233a5830 Periodically sync for stale recordings (#8433)
* Periodically cleanup recordings files / DB

* Make automatic sync limited ot last 36 hours
2023-11-04 02:21:29 +00:00
Nicolas MowenandGitHub 4f7b710112 Don't fail on invalid class IDs for TensorRT detector (#8438)
* Don't fail on invalid class IDs

* Fix whitespace

* Make log warning
2023-11-04 02:19:58 +00:00
Nicolas MowenandGitHub 7270eef6bf Don't fail on 0 rms (#8447) 2023-11-04 02:18:23 +00:00
Nicolas MowenandGitHub c57528cbcf Fix rk build (#8430) 2023-11-02 13:36:34 +00:00
Nicolas MowenandGitHub a6279a0337 Clean up RPi ffmpeg presets (#8428)
* Clean up rpi ffmpeg presets

* Remove from docs

* Put back encoding
2023-11-02 12:54:51 +00:00
Nicolas MowenandGitHub cc79cbcadc Improve robustness of storage maintenance (#8411)
* Improve robustness of storage maintenance

* Fix tests

* Fix test
2023-11-01 23:21:59 +00:00
Nicolas MowenandGitHub 89366d7b12 Add endpoint to return camera frame with regions grid overlaid (#8413)
* Add endpoint to view grid overload on camera frame

* Add api to docs

* Formatting
2023-11-01 23:21:30 +00:00
Nicolas MowenandGitHub 8b6e3a0d37 Fix region when no data in grid (#8415)
* Fix region when no data in grid

* Make comment more clear
2023-11-01 23:19:17 +00:00
Nicolas MowenandGitHub 8085ad4b4c Ensure that birdseye error correction uses a resolution that is divisible by 4 (#8398) 2023-11-01 06:13:12 -05:00
Nicolas MowenandGitHub ba603c1937 Make initialization configurable (#8392) 2023-10-30 20:26:31 -04:00
Nicolas MowenandGitHub e89dafa82e Handle recording checks in utc (#8379)
* Handle recording checks in utc

* Formatting
2023-10-30 20:25:21 -04:00
Nicolas MowenandGitHub 9d717b371c Improve logic of birdseye (#8375)
* Improve logic of birdseye

* Formatting
2023-10-30 20:24:42 -04:00
Nicolas MowenandGitHub 3d70d29672 Delete export if it fails (#8381)
* Delete export if it fails

* Fix import
2023-10-30 20:24:11 -04:00
Nicolas MowenandGitHub f1efd8dbe2 Use int for drawing box (#8388) 2023-10-30 19:53:29 -04:00
Nicolas MowenandGitHub 86c59c1722 Fix birdseye layout (#8343) 2023-10-26 18:23:39 -04:00
Nicolas MowenandGitHub 5a46c36380 Add other known birdseye aspect ratios (#8322)
* Add other known birdseye aspect ratios

* Formatting
2023-10-26 06:21:26 -05:00
Nicolas MowenandGitHub cf2b56613f Don't overwrite event while cleaning up expired cameras (#8320) 2023-10-26 06:20:06 -05:00
Nicolas MowenandGitHub 1a9e00ee49 Add count of audio labels to active count (#8310)
* Add count of audio labels to active count

* Formatting
2023-10-24 19:26:46 -04:00
Nicolas MowenandGitHub 823550eed3 Reduce zones for timeline (#8300) 2023-10-24 19:24:59 -04:00
Nicolas MowenandGitHub c141362614 Use norfair uninitialized score history for tracked object and update false positive docs (#8299)
* Update docs

* Use norfair score history to start object history

* Formatting
2023-10-24 19:24:30 -04:00
Nicolas MowenandGitHub 0b858419d1 re-enable init delay (#8283) 2023-10-23 20:50:22 -04:00
Nicolas MowenandGitHub 2fb7200fb7 Revamp object consolidation logic (#8289)
* Separate object reduction to own function and reduce confidence of boxes on edge of region

* Add tests for different scenarios

* Formatting
2023-10-23 20:20:21 -04:00
Nicolas MowenandGitHub e9376ca285 Fix bug on bad storage stats read (#8275) 2023-10-22 13:35:19 -05:00
Nicolas MowenandGitHub cff4b9651f Fix long webrtc connections failing (#8273)
* Fix webrtc timing out

* Only close pc
2023-10-22 13:34:56 -05:00
Nicolas MowenandGitHub 29f82add72 Fix player height (#8270) 2023-10-22 09:40:32 -05:00
Nicolas MowenandGitHub cb3990a0ac Catch ws reset error (#8266)
* Catch ws reset error

* Formatting
2023-10-22 06:23:31 -04:00
Nicolas MowenandGitHub e80b6d9e5b Use different consolidation requirement depending on label (#8249) 2023-10-20 19:29:52 -04:00
Nicolas MowenandGitHub 0c2f3a9702 Adjust motion calibration to be more dynamic (#8250)
* Adjust motion calibration to be more dynamic

* isort
2023-10-20 19:22:38 -04:00
Nicolas MowenandGitHub a3c0e30502 Use existing bounding box for region when object is stationary (#8248) 2023-10-20 19:21:34 -04:00
Nicolas MowenandGitHub b4d5a3ef14 Fix dangling webrtc connections (#8251)
* fix dangling webrtc connections

* Make more efficient

* Close pc as well
2023-10-20 19:20:38 -04:00
Nicolas MowenandGitHub 12487b3b60 Sync stationary object checks (#8238)
* Sync stationary object checks for all objects on a camera

* Formatting
2023-10-19 17:14:33 -05:00
Nicolas MowenandGitHub 91f7d67c5e Smarter Regions (#8194)
* Smarter Regions

* Formatting

* Cleanup

* Fix motion region checking logic

* Add database table and migration for regions

* Update region grid on startup

* Revert init delay change

* Fix mypy

* Move object related functions to util

* Remove unused

* Fix tests

* Remove log

* Update the region daily at 2

* Fix logic

* Formatting

* Initialize grid before starting processing frames

* Move back to creating grid in main process

* Formatting

* Fixes

* Formating

* Fix region check

* Accept all but true

* Use regions grid for startup scan

* Add clarifying comment

* Fix new grid requests

* Add tests

* Delete stale region grids from DB
2023-10-18 18:21:52 -05:00
Nicolas MowenandGitHub 98200b7dda Fix recording segment management (#8220)
* Fix timing error

* Downgrade logs
2023-10-18 18:18:22 -05:00
Nicolas MowenandGitHub 282cbf8f40 Add FAQ item for cameras with bad sub streams (#8224) 2023-10-18 18:17:53 -05:00
Nicolas MowenandGitHub 126aed2798 Include non-free in hwaccel deps types (#8203) 2023-10-17 21:18:50 -04:00
Nicolas MowenandGitHub efbc094bbc Fixes for ongoing events (#8208)
* Refresh ongoing and standard events

* Collapse ongoing when props are set

* Fix
2023-10-17 21:18:06 -04:00
Nicolas MowenandGitHub c7b2c6b95d Pin all hwaccel deps (#8191) 2023-10-17 06:37:40 -05:00
Nicolas MowenandGitHub 1bdfc380c3 Delete timeline items along with event (#8192) 2023-10-17 06:37:07 -05:00
8626160df2 Show ongoing events at top of events page (#8168)
* Show ongoing events separately

* Separate to separate event function

* Change icon type

* Hide in progress when date range search occurs

* Collapse in progress when filtering

* Fix event overlay

* Make tooltip more clear

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

---------

Co-authored-by: Blake Blackshear <blakeb@blakeshome.com>
2023-10-15 13:01:44 -04:00
Nicolas MowenandGitHub d4d2bb2521 Remove sizing on summary icons (#8169) 2023-10-15 08:14:44 -05:00
fa6c6c50d0 Support ManagedMediaSource and update docs to reflect iOS 17.1+ supports MSE (#8160)
* Refactor media source handling in MsePlayer.js and Birdseye.jsx to support ManagedMediaSource

* lint

* Update docs to reflect iOS supporting mse

---------

Co-authored-by: Sergey Krashevich <svk@svk.su>
2023-10-13 19:17:09 -05:00
Nicolas MowenandGitHub 4c7ea01137 Don't print ffprobe stdout logs (#8153) 2023-10-13 17:04:38 -05:00
Nicolas MowenandGitHub 34b315cc8c Fix bug forcing rtsp for audio detection ffmpeg process (#8156)
* Fix forcing rtsp for audio process

* Send as list
2023-10-13 17:03:04 -05:00
Nicolas MowenandGitHub 9b687d77ce Add support for nvidia decoder and encoder utilization stats (#8150)
* Add encoder and decoder stats to nvidia hwaccel stats

* Fix

* Fix
2023-10-13 09:44:18 -05:00
Nicolas MowenandGitHub e19c0668e7 Require init delay (#8126) 2023-10-13 06:16:36 -05:00
Nicolas MowenandGitHub 869bb2b177 clarifications and fixes for live go2rtc example (#8132)
* clarifications and fixes for live go2rtc example

* fix
2023-10-13 06:15:39 -05:00
Nicolas MowenandGitHub 3869b274e2 Add note about recording retention to manual event docs (#8141) 2023-10-13 06:14:55 -05:00
Nicolas MowenandGitHub 2379e6fd1b Support TiB in storage calculation (#8142) 2023-10-13 06:14:24 -05:00
Nicolas MowenandGitHub dcafcc1320 Fix Config success message (#8121)
* Fix saved message

* Fix save mask
2023-10-10 08:23:18 -05:00
Nicolas MowenandGitHub d508088bd0 Add audio role to camera config docs (#8113) 2023-10-09 18:16:34 -05:00
Nicolas MowenandGitHub 68ebd55425 Lower min scores for person and car in plus docs (#8114) 2023-10-09 18:15:23 -05:00
Nicolas MowenandGitHub d7ddcea951 Show settings cog for camera toggles on mobile (#8098)
* Show settings cog on mobile

* Cleanup ui and remove label

* Fix tests
2023-10-08 14:49:41 -05:00
Nicolas MowenandGitHub e1a6398219 Fix trt build (#8091) 2023-10-07 09:51:02 -05:00
Nicolas MowenandGitHub 7f5fba08b7 Fix export name (#8090) 2023-10-07 08:40:20 -06:00
Nicolas MowenandGitHub 49e7723405 Add debug logs for audio labels (#8080) 2023-10-07 09:23:11 -05:00
Nicolas MowenandGitHub 52cc707eb8 Consider new attribute a significant change (#8054)
* Consider new attribute a significant change

* Update object_processing.py
2023-10-07 09:22:45 -05:00
Nicolas MowenandGitHub 8cc7acd591 Zone docs (#8047)
* Update zone docs

* Document zone inertia in zone docs
2023-10-07 09:19:56 -05:00
Nicolas MowenandGitHub 8bde914939 Fix a couple bugs (#8045) 2023-10-07 09:18:34 -05:00
Nicolas MowenandGitHub 08ef69bac4 Add recordings timeline entry for frigate+ attributes (#8063)
* Add attribute item to timeline

* Add face icon

* Add support for other icons

* Cleanup

* Ensure attributes are only updated once

* don't show _ in attributes
2023-10-07 09:17:18 -05:00
Nicolas MowenandGitHub 79fabbb6b0 Fix recording snapshot time range (#8073)
* Fix recording snapshot time range

* Formatting

* Formatting
2023-10-07 09:16:12 -05:00
Nicolas MowenandGitHub 8941aa5311 Ensure deleted export file name is safe (#8089)
* Ensure deleted export file name is safe

* Fix import
2023-10-07 09:12:48 -05:00
Nicolas MowenandGitHub 9a4f970337 Set default min score for attributes labels to 0.7 (#8001)
* Set min score for attributes to 0.7

* Allow other fields to be set
2023-09-30 07:38:15 -05:00
Nicolas MowenandGitHub 37379e6fba Update autotracking gif (#8002) 2023-09-29 20:08:15 -05:00
Nicolas MowenandGitHub 232588636f Force birdseye to standard aspect ratio (#7994)
* Force birdseye to standard aspect ratio

* Make rounding consistent

* Formatting
2023-09-29 17:53:45 -05:00
Nicolas MowenandGitHub 0048cd5edc Pull radeon driver from bookworm (#7983) 2023-09-28 18:20:48 -05:00
Nicolas MowenandGitHub 9f3ac19e05 Limit max player height (#7974) 2023-09-28 18:01:23 -05:00
Nicolas MowenandGitHub 08eefd8385 Fix frame height default value in docs (#7947) 2023-09-27 06:11:23 -05:00
Nicolas MowenandGitHub e26bb94007 Add seconds to exports (#7955) 2023-09-27 06:10:37 -05:00