Commit Graph

4458 Commits

Author SHA1 Message Date
Nicolas Mowen
04e97e6e52 Cleanup 2025-08-07 21:38:31 -06:00
Nicolas Mowen
103da04bbf Fix semantic triggers config typing 2025-08-07 21:06:55 -06:00
Nicolas Mowen
f7cc92c42a Fix tests 2025-08-07 21:06:55 -06:00
Nicolas Mowen
3eb2bd3f96 Add return type 2025-08-07 21:06:55 -06:00
Nicolas Mowen
288ab442c5 Remove unused 2025-08-07 21:06:55 -06:00
Nicolas Mowen
050b48355c Formatting 2025-08-07 21:06:55 -06:00
Nicolas Mowen
0c5363d4c1 Cleanup dispatcher 2025-08-07 21:06:55 -06:00
Nicolas Mowen
8d7f769eab Cleanup webpush 2025-08-07 21:06:55 -06:00
Nicolas Mowen
f55ed26e54 Cleanup mqtt 2025-08-07 21:06:55 -06:00
Nicolas Mowen
06096a6115 Cleanup websocket 2025-08-07 21:06:55 -06:00
Nicolas Mowen
1d5f02d3db Cleanup detections updater 2025-08-07 21:06:55 -06:00
Nicolas Mowen
1ef8024c0b Cleanup event metadata updater 2025-08-07 21:06:55 -06:00
Nicolas Mowen
e0d1b7ef5c Cleanup event metadata updater 2025-08-07 21:06:55 -06:00
Nicolas Mowen
89d358ee44 Make publisher have a generic type 2025-08-07 21:06:55 -06:00
Nicolas Mowen
a724a022fb Cleanup recordings updator 2025-08-07 21:06:55 -06:00
Nicolas Mowen
7bce78dc13 Cleanup config updater 2025-08-07 21:06:55 -06:00
Nicolas Mowen
1fc8d9e1b6 Cleanup embeddings typing 2025-08-07 21:06:55 -06:00
Nicolas Mowen
a4a91dd848 Cleanup inter process typing issues 2025-08-07 21:06:55 -06:00
Nicolas Mowen
68e0d331fa Make zmq data types consistent 2025-08-07 21:06:55 -06:00
Nicolas Mowen
9eef933224 Enable mypy for comms 2025-08-07 21:06:55 -06:00
Nicolas Mowen
5d2328599f Cleanup 2025-08-07 21:06:42 -06:00
Nicolas Mowen
6db70dc101 Implement start for review item description processor (#19352)
* Add review item data transmission

* Publish review updates

* Add review item subscriber

* Basic implementation for testing review processor

* Formatting
2025-08-07 20:58:34 -06:00
Nicolas Mowen
cd97a8618c Improve the tablet layout (#19320)
* Improve the tablet layout

* Update imports sort

* Fix more imports
2025-08-07 20:58:34 -06:00
Steve Smith
44232d31d8 Add bookworm-backports to the rocm images and upgrade mesa/vaapi to support RDNA4 GPUs (#19312) 2025-08-07 20:58:34 -06:00
Nicolas Mowen
b098a5442e Require setting process priority for FrigateProcess (#19207) 2025-08-07 20:58:34 -06:00
Nicolas Mowen
71e18ae888 Object attribute classification (#19205)
* Add enum for type of classification for objects

* Update recognized license plate topic to be used as attribute updater

* Update attribute for attribute type object classification

* Cleanup
2025-08-07 20:58:34 -06:00
Nicolas Mowen
d5553edd9f Classification train updates (#19173)
* Improve model train button

* Add filters for classification

* Cleanup

* Don't run classification on false positives

* Cleanup filter

* Fix icon color
2025-08-07 20:58:34 -06:00
Josh Hawkins
a8404d6ee1 Dynamically enable/disable GenAI (#19139)
* config

* dispatcher and mqtt

* docs

* use config updater

* add switch to frontend
2025-08-07 20:58:33 -06:00
Josh Hawkins
32f547ab59 Optionally show tracked object paths in debug view (#19025) 2025-08-07 20:57:36 -06:00
Josh Hawkins
ef406ba647 Semantic Search Triggers (#18969)
* semantic trigger test

* database and model

* config

* embeddings maintainer and trigger post-processor

* api to create, edit, delete triggers

* frontend and i18n keys

* use thumbnail and description for trigger types

* image picker tweaks

* initial sync

* thumbnail file management

* clean up logs and use saved thumbnail on frontend

* publish mqtt messages

* webpush changes to enable trigger notifications

* add enabled switch

* add triggers from explore

* renaming and deletion fixes

* fix typing

* UI updates and add last triggering event time and link

* log exception instead of return in endpoint

* highlight entry in UI when triggered

* save and delete thumbnails directly

* remove alert action for now and add descriptions

* tweaks

* clean up

* fix types

* docs

* docs tweaks

* docs

* reuse enum
2025-08-07 20:57:35 -06:00
Nicolas Mowen
397777e176 Classification improvements (#19020)
* Move classification training to full process

* Sort class images
2025-08-07 20:56:54 -06:00
Nicolas Mowen
ece5ac6d77 Improve classification UI (#18910)
* Move threhsold to base model config

* Improve score handling

* Add back button
2025-08-07 20:56:54 -06:00
Nicolas Mowen
09c6c3129e Remove TFLite init logs 2025-08-07 20:56:54 -06:00
Nicolas Mowen
7cfef18f4c Improve object classification (#18908)
* Ui improvements

* Improve image cropping and model saving

* Improve naming

* Add logs for training

* Improve model labeling

* Don't set sub label for none object classification

* Cleanup
2025-08-07 20:56:54 -06:00
Nicolas Mowen
c354b4d110 0.17 tweaks (#18892)
* Set version

* Cleanup more logs

* Don't log matplotlib
2025-08-07 20:56:54 -06:00
Josh Hawkins
1af0f530ff Add ONVIF focus support (#18883)
* backend

* frontend and i18n
2025-08-07 20:56:54 -06:00
Nicolas Mowen
bdbbfada53 Improve logging (#18867)
* Ignore numpy get limits warning

* Add function wrapper to redirect stdout and stderr to logpipe

* Save stderr too

* Add more to catch

* run logpipe

* Use other logging redirect class

* Use other logging redirect class

* add decorator for redirecting c/c++ level output to logger

* fix typing

---------

Co-authored-by: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com>
2025-08-07 20:56:54 -06:00
Josh Hawkins
61407b90ee Don't try to close or join mp manager queues (#18866)
Multiprocessing Manager queues don't have a close() or join_thread() method, and the Manager will clean it up appropriately after we empty it. This prevents an infinite loop when an AttributeError exception fires for Manager AutoProxy queue objects.
2025-08-07 20:56:54 -06:00
Nicolas Mowen
ae12b430db Handle SIGINT with forkserver (#18860)
* Pass stopevent from main start

* Share stop event across processes

* preload modules

* remove explicit os._exit call

---------

Co-authored-by: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com>
2025-08-07 20:56:52 -06:00
Nicolas Mowen
680a141e23 Fix process name 2025-08-07 20:56:08 -06:00
Nicolas Mowen
da2d52645f Classification model cover images (#18843)
* Move to separate component

* Add cover images for clssification models
2025-08-07 20:56:08 -06:00
Josh Hawkins
b17f0c4a30 Catch invalid character index in lpr CTC decoder (#18825) 2025-08-07 20:56:08 -06:00
Josh Hawkins
52e5429b33 Fix birdseye crash when dynamically adding a camera (#18821) 2025-08-07 20:56:08 -06:00
Nicolas Mowen
54bee5ed85 Catch unpickling error 2025-08-07 20:56:08 -06:00
Nicolas Mowen
b142a69c89 Don't fail on unicode debug for config updates 2025-08-07 20:56:08 -06:00
Nicolas Mowen
f6db714016 Don't use staticmethod 2025-08-07 20:56:08 -06:00
Nicolas Mowen
d4ebf467fb Reduce tf initialization 2025-08-07 20:56:08 -06:00
Nicolas Mowen
e4738a2330 Fix go2rtc init (#18708)
* Cleanup process handling

* Adjust process name
2025-08-07 20:56:08 -06:00
Josh Hawkins
3dd7473222 Ensure logging config is propagated to forked processes (#18704)
* Move log level initialization to log

* Use logger config

* Formatting

* Fix config order

* Set process names

---------

Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com>
2025-08-07 20:56:08 -06:00
Josh Hawkins
3065f46856 Add basic camera settings to UI for testing (#18690)
* add basic camera add/edit pane to the UI for testing

* only init model runner if transcription is enabled globally

* fix role checkboxes
2025-08-07 20:56:04 -06:00