Commit Graph
100 Commits
Author SHA1 Message Date
Blake Blackshear 591b50dfa7 Merge remote-tracking branch 'origin/master' into dev 2024-11-02 08:28:34 -05:00
Blake Blackshear 47ad0ca993 Merge remote-tracking branch 'origin/master' into dev 2024-10-05 10:48:14 -05:00
Blake Blackshear 80e8930e73 always release from dev builds 2024-08-08 08:25:19 -05:00
Blake Blackshear 6102e9e5ea Merge remote-tracking branch 'origin/master' into dev 2024-07-13 14:52:42 -05:00
Blake Blackshear 4078a147ef Merge remote-tracking branch 'origin/master' into dev 2024-06-14 06:45:21 -05:00
Blake Blackshear b97e274b6a master sync v2 2024-05-25 11:58:11 -05:00
Blake Blackshear e6b735231d master sync 2024-05-25 11:52:24 -05:00
Blake Blackshear 198dbbdff1 Merge remote-tracking branch 'origin/master' into dev 2024-02-14 18:20:55 -06:00
Blake Blackshear bdebb99b5a Use new UI (#8983)
* fixup build

* swap frontends
2024-01-31 12:56:11 +00:00
Blake Blackshear c80b8140b8 increment version 2024-01-31 06:23:54 -06:00
Blake BlackshearandGitHub d15ab0922b Docs updates (#9476)
* revamp plus docs

* consolidate label guidance

* add some common complete config examples

* clarify zone presence

* bottom center example of mask

* update recommended hardware

* update nav

* update getting started

* add openvino example

* explain why we track stationary objects

* move false positive guide to config folder

* fix link

* update record and parked car guide

* tweaks
2024-01-30 06:14:16 -06:00
Blake Blackshear 61d285ba13 Merge remote-tracking branch 'origin/master' into dev 2024-01-26 07:09:28 -06:00
Blake BlackshearandGitHub a47068922f Update deps (#8872)
* update web deps

* update docs deps

* update gh actions
2023-12-07 06:09:20 -06:00
Blake BlackshearandGitHub f00ced5a33 Show bbox on in_progress events (#8785)
* fix default value in docs

* use default snapshot config for in progress
2023-11-29 23:37:53 +00:00
Blake BlackshearandGitHub a490c375f4 Limit exposed go2rtc api to bare minimum (#8762)
* only permit GET requests to go2rtc

* bare minimum go2rtc passthrough

* support frigate card

* expose go2rtc streams data only
2023-11-27 18:25:47 -06:00
Blake BlackshearandGitHub 5c4501efbc remove mqtt password from config api (#8757) 2023-11-26 15:45:16 -06:00
Blake BlackshearandGitHub a0bc3a3626 clarifications to guide based on feedback (#8727) 2023-11-24 07:33:30 -06:00
Blake BlackshearandGitHub fc186e4d5f update web deps (#8663) 2023-11-19 05:24:52 -06:00
Blake BlackshearandGitHub 4879de263b Docs improvements (#8641)
* go all in on ruff

* upgrade docusaurus

* add netlify toml

* broken link

* fix netlify toml

* start filling out guide

* add debian setup detail

* simplify bash command
2023-11-18 08:04:43 -06:00
Blake BlackshearandGitHub 57a06d2220 fix image tag (#8560) 2023-11-09 19:02:16 -06:00
Blake BlackshearandGitHub 64537672e6 use skopeo to copy images (#8539) 2023-11-08 07:22:23 -06:00
Blake BlackshearandGitHub 65e3e67a83 avoid import error for non-rk builds (#8454)
* avoid import error for non-rk builds

* linter
2023-11-04 07:56:35 -05:00
Blake BlackshearandGitHub aefecad4c0 Update deps (#8426)
* update web deps

* other deps
2023-11-02 13:36:49 +00:00
Blake BlackshearandGitHub 0dd3dd23aa add support for docker secrets (#8409)
* add support for docker secrets

* check for directory first
2023-11-02 05:35:30 -05:00
Blake BlackshearandGitHub 4bd29b2ee8 fix build tag (#8408) 2023-11-02 05:35:19 -05:00
Blake BlackshearandGitHub d1620b4e39 clean passwords when both rtsp and http present (#8399) 2023-10-31 08:04:42 -05:00
Blake BlackshearandGitHub 159fb51518 implement nginx caching (#8333)
* implement nginx caching

* bypass cache from frigate frontend, reduce to 5s

* set cache time to 2s

* cache 200s for 5s

* exclude vod endpoints from cache
2023-10-29 06:47:24 -05:00
Blake BlackshearandGitHub cd64399fe5 add release workflow for images (#8362) 2023-10-28 10:08:53 -04:00
Blake BlackshearandGitHub d72e1c38ae plus docs clarification (#8352) 2023-10-28 10:08:29 -04:00
Blake BlackshearandGitHub 9fc93c72a0 more consistent use of iterators in select queries (#8258) 2023-10-21 10:53:33 -05:00
Blake BlackshearandGitHub e13a176820 Update deps (#8261)
* update web deps

* update python deps

* actions deps
2023-10-21 10:53:21 -05:00
Blake BlackshearandGitHub 1e71e36056 fix route for stats and version (#8263) 2023-10-21 10:40:46 -05:00
Blake BlackshearandGitHub 18545718c1 refactor and disable access logs for stats and version (#8259) 2023-10-21 08:15:24 -05:00
Blake BlackshearandGitHub c8b38bdd47 address codeql scan results (#8260) 2023-10-21 08:08:03 -05:00
Blake BlackshearandGitHub 4469507e5b dont set has_clip to false unless the event is older (#8179) 2023-10-15 13:31:56 -05:00
e545dfc47b Websocket changes (#8178)
* use react-use-websockets

* check ready state

* match context shape

* jsonify dispatch

* remove unnecessary ready check

* bring back h

* non-working tests

* skip failing tests

* upgrade some dependencies

---------

Co-authored-by: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com>
2023-10-15 08:14:20 -05:00
Blake BlackshearandGitHub 9ea10f8541 Don't zero out motion during calibration (#8163)
* don't zero out motion boxes

* define detect resolution to speed up tests
2023-10-14 08:05:44 -04:00
Blake BlackshearandGitHub 14d2b79c72 Security fixes (#8081)
* use safeloader

* use json responses wherever possible

* remove CORS and add CSRF token

* formatting fixes

* add envjs back

* fix baseurl test
2023-10-06 22:20:30 -05:00
Blake BlackshearandGitHub 705ee54315 plus docs update (#7964)
* plus docs update

* add attribute labels
2023-09-27 06:10:53 -05:00
Blake BlackshearandGitHub 0858859939 Dep updates (#7933)
* update actions

* web deps
2023-09-24 07:00:41 -05:00
Blake BlackshearandGitHub cfd04d164e add more robust plus documentation (#7905)
* add more robust plus documentation

* rename page

* note changing circumstances
2023-09-22 07:35:04 -05:00
Blake BlackshearandGitHub 5658e5a4cc more deps (#7712) 2023-09-06 08:32:09 -05:00
Blake Blackshear f682203f9d Merge remote-tracking branch 'origin/master' into dev 2023-09-04 10:48:24 -05:00
Blake BlackshearandGitHub c2e2656407 Update web deps (#7339)
* web dev deps

* update preact

* audit fix
2023-08-01 06:26:01 -05:00
Blake BlackshearandGitHub 7c0d25f9da Attribute scores (#7100)
* rework attributes to get scores

* show sublabel score

* formatting
2023-07-09 11:40:39 -05:00
Blake BlackshearandGitHub 2f401bd8da update deps (#6973)
* update web deps

* update python deps
2023-07-01 07:47:16 -05:00
Blake BlackshearandGitHub d51197eaa2 use a different method for blur and contrast to reduce CPU (#6940)
* use a different method for blur and contrast to reduce CPU

* blur with radius instead

* use faster interpolation for motion

* improve contrast based on averages

* increase default threshold to 30

* ensure mask is applied after contrast improvement

* update opencv

* update benchmark script
2023-06-30 07:27:31 -05:00
Blake BlackshearandGitHub 9e531b0b5b reduce grid size for contrast improvement (#6870) 2023-06-21 08:38:51 -05:00
Blake BlackshearandGitHub 7c1568fcb9 use clahe for contrast improvement (#6835)
* use clahe for contrast improvement

* update tests
2023-06-18 11:56:41 -05:00
Blake BlackshearandGitHub 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
Blake BlackshearandGitHub 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
Blake BlackshearandGitHub d81dd60fef Improve motion detection and region selection (#6741)
* refactor existing motion detector

* implement and use cnt bgsub

* pass fps to motion detector

* create a simplified motion detector

* lightning detection

* update default motion config

* lint imports

* use estimated boxes for regions

* use improved motion detector

* update test

* use a different strategy for clustering motion and object boxes

* increase alpha during calibration

* simplify object consolidation

* add some reasonable constraints to the estimated box

* adjust cluster boundary to 10%

* refactor

* add disabled debug code

* fix variable scope
2023-06-11 08:45:11 -05:00
Blake BlackshearandGitHub 699248d769 Update deps (#6669)
* fix gh host key

* python deps

* update web deps

* update docs deps
2023-06-01 06:59:50 -05:00
Blake BlackshearandGitHub deec5b8bfd fix build (#6668) 2023-06-01 06:30:41 -05:00
Blake BlackshearandGitHub ae0aba44dc Improve tracking (#6516) 2023-05-31 08:12:43 -06:00
Blake BlackshearandGitHub deccc4fd46 fix coral libs (#6558) 2023-05-21 07:14:53 -05:00
Blake Blackshear 42f3ee3de5 sync master 2023-05-19 05:47:49 -05:00
Blake BlackshearandGitHub e3b9998879 Upgrade deps (#6395)
* update js build tools

* update frontend deps

* python updates

* update requests again
2023-05-05 07:45:13 -05:00
Blake BlackshearandGitHub 19890310fe Bug fixes (#6332)
* fix timeline delete

* fix labelmap in config response

* create cache dirs if needed
2023-04-30 14:58:39 -05:00
Blake BlackshearandGitHub 9bf98f908d add plus integration for models (#6328) 2023-04-30 13:32:36 -05:00
Blake BlackshearandGitHub 6dc82b6cef dependency updates (#6246)
* python

* easy web deps
2023-04-26 06:20:29 -05:00
Blake BlackshearandGitHub 0d16bd0144 False positives (#6217)
* add false positive submission

* switch timeline events to x,y,w,h

* update docs

* fix type checks

* convert to upsert

* fix config test
2023-04-24 07:24:28 -05:00
Blake BlackshearandGitHub 98384789d4 update api key for search (#6119) 2023-04-17 07:14:06 -05:00
Blake BlackshearandGitHub 8535213ad9 update python deps (#6101) 2023-04-16 07:20:51 -05:00
Blake BlackshearandGitHub f8f76fcb94 update to 8.3.x (#6100) 2023-04-16 07:09:51 -05:00
Blake BlackshearandGitHub 15415bab10 update deps (#6093)
* update dev deps

* update deps

* docs deps

* python dev deps

* update python deps
2023-04-15 14:17:59 -05:00
Blake BlackshearandGitHub cefbed614f Remove arm32 (#5935)
* remove references to 32bit arm

* scheduled build to maintain actions cache
2023-04-08 09:24:28 -06:00
Blake Blackshear 37db4070ce increment version 2023-04-08 09:52:30 -05:00
Blake BlackshearandGitHub da3e197534 Merge pull request #4055 from blakeblackshear/dev
0.12.0 Release
2023-04-08 09:24:50 -05:00
Blake Blackshear 0e61ea7723 cleanup hardware recommendations 2023-04-08 07:44:02 -05:00
Blake BlackshearandGitHub 2d9556f5f3 set threads to 2 (#5747) 2023-03-17 17:14:57 -05:00
Blake BlackshearandGitHub e82f72a9d3 clarify that mqtt is required in frigate config for home assistant (#5722) 2023-03-15 17:43:36 -05:00
Blake BlackshearandGitHub ce2d589a28 fix config (#5721) 2023-03-14 08:51:09 -05:00
Blake BlackshearandGitHub 750bf0e79a Revert "Update ffmpeg args with low risk improvements (#5519)" (#5715)
This reverts commit 52459bf348.
2023-03-14 08:25:27 -05:00
Blake BlackshearandGitHub c20c982ad0 free up some disk space (#5644) 2023-03-05 09:14:11 -06:00
Blake BlackshearandGitHub 27a31e731f install i965-va-driver-shaders (#5451) 2023-02-11 09:57:15 -06:00
Blake BlackshearandGitHub 3b9bcb356b update presets docs (#5386) 2023-02-05 09:12:40 -06:00
Blake BlackshearandGitHub e10ddb343c additional shutdown optimizations (#5380) 2023-02-04 08:58:45 -06:00
Blake BlackshearandGitHub e8cd25ddf2 Docs tweaks (#5379)
* add note about cameras needing ffmpeg for go2rtc

* clarify error message on GPU stats
2023-02-04 08:47:27 -06:00
624c314335 Fast restart (#5378)
* dont wait so long for queues

* implement stop methods for comms

* set the detection events on exit and return early from processing

* handle the stop event in the broadcast threads

* short circuit the detection process exit code if it already exited

* some logging for stats thread

* just keep the log process alive 1 second after the last log message

* ensure the multiprocessing queues are emptied and closed

* Update frigate/log.py

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

* Update frigate/log.py

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

* mypy fixes

---------

Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com>
2023-02-03 20:15:47 -06:00
Blake BlackshearandGitHub f06e8b47be Docs updates, fix recording warnings, default log level for ws4py (#5294)
* set default log level for ws4py

* proactively cleanup cache in all retain modes

* docs updates

* typo

* fix link

* updates
2023-01-30 17:42:53 -06:00
Blake BlackshearandGitHub 7130d93616 warn if unable to keep up with moving segments (#5264) 2023-01-27 07:32:55 -06:00
Blake BlackshearandGitHub b2a2a9d6c7 only run the latest commit to avoid cache overwrites (#5154) 2023-01-18 17:30:49 -06:00
Blake BlackshearandGitHub 3bec28ffef handle timezones with partial hour offsets (#5115)
* handle timezones with partial hour offsets

* cleanup
2023-01-16 17:17:03 -06:00
Blake BlackshearandGitHub 3cb96091ec update before install (#4966) 2023-01-08 14:39:39 -06:00
1f963ec5aa Fix raspberry pi hwaccel (#4955)
* use ffmpeg from raspbian repo

* dynamically choose timeout param

* invert logic

* Add hwaccel presets for rpi

Co-authored-by: Nick Mowen <nickmowen213@gmail.com>
2023-01-08 07:04:58 -06:00
Blake BlackshearandGitHub 0dbf909ca6 try and further improve caching (#4947) 2023-01-07 08:07:56 -06:00
Blake BlackshearandGitHub ec7aaa18ab try and avoid caching extra large tensorrt layers (#4942) 2023-01-06 19:58:35 -06:00
8410788e99 add information about frigate plus to docs (#4919)
* add information about frigate plus to docs

* Update docs/docs/integrations/plus.md

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

Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com>
2023-01-06 06:51:40 -06:00
12235acd75 Build nginx with tmpfs (#4933)
* Update Dockerfile

* Update Dockerfile

* refactor into script and to be consistent

Co-authored-by: Sergey Krashevich <svk@svk.su>
2023-01-06 06:48:41 -06:00
Blake BlackshearandGitHub e4a79b12eb set env vars needed for nvidia support (#4837) 2022-12-31 09:13:08 -06:00
Blake Blackshear 76bbd838f7 Merge remote-tracking branch 'origin/master' into dev 2022-12-30 16:50:02 -06:00
Blake BlackshearandGitHub fee48e555e easier python deps (#4827)
* easier python deps

* update build wheels deps

* dependencies PRs cant become stale
2022-12-30 16:43:32 -06:00
Blake BlackshearGitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
63260119fb Frontend deps (#4824)
* Bump fake-indexeddb from 4.0.0 to 4.0.1 in /web

Bumps [fake-indexeddb](https://github.com/dumbmatter/fakeIndexedDB) from 4.0.0 to 4.0.1.
- [Release notes](https://github.com/dumbmatter/fakeIndexedDB/releases)
- [Changelog](https://github.com/dumbmatter/fakeIndexedDB/blob/master/CHANGELOG.md)
- [Commits](https://github.com/dumbmatter/fakeIndexedDB/compare/v4.0.0...v4.0.1)

---
updated-dependencies:
- dependency-name: fake-indexeddb
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Bump @types/video.js from 7.3.49 to 7.3.50 in /web

Bumps [@types/video.js](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/video.js) from 7.3.49 to 7.3.50.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/video.js)

---
updated-dependencies:
- dependency-name: "@types/video.js"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Bump @typescript-eslint/eslint-plugin from 5.44.0 to 5.47.1 in /web

Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 5.44.0 to 5.47.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.47.1/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Bump axios from 1.2.0 to 1.2.2 in /web

Bumps [axios](https://github.com/axios/axios) from 1.2.0 to 1.2.2.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v1.2.0...1.2.2)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* json5 vulnerability

* update linters

* reformat

* dev deps

* more deps

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-30 09:48:22 -06:00
Blake BlackshearandGitHub 368c07cc34 Update certs (#4729)
* force upgrade certs

* switch to debian for nginx build
2022-12-17 19:39:42 -06:00
Blake BlackshearandGitHub d999575832 force upgrade certs (#4728) 2022-12-17 18:31:39 -06:00
Blake Blackshear 06bc9bb4dc Merge remote-tracking branch 'origin/master' into dev 2022-12-17 18:07:01 -06:00
Blake BlackshearandGitHub 161991df1f update contributing docs (#4727) 2022-12-17 18:02:14 -06:00
Blake BlackshearandGitHub 047c2408d2 fix support for yuv models (#4523) 2022-11-26 19:15:47 -06:00
Blake BlackshearandGitHub 1f4ce6ff1e fix image build (#4503) 2022-11-24 11:42:25 -06:00