Commit Graph

13 Commits

Author SHA1 Message Date
Nicolas Mowen
687b68246b
Improve comms typing (#18599)
* Enable mypy for comms

* Make zmq data types consistent

* Cleanup inter process typing issues

* Cleanup embeddings typing

* Cleanup config updater

* Cleanup recordings updator

* Make publisher have a generic type

* Cleanup event metadata updater

* Cleanup event metadata updater

* Cleanup detections updater

* Cleanup websocket

* Cleanup mqtt

* Cleanup webpush

* Cleanup dispatcher

* Formatting

* Remove unused

* Add return type

* Fix tests

* Fix semantic triggers config typing

* Cleanup
2025-08-08 07:08:37 -05: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
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
ad5076f645 Refactor TensorRT (#18643)
* Combine base and arm trt detectors

* Remove unused deps for amd64 build

* Add missing packages and cleanup ldconfig

* Expand packages for tensorflow model training

* Cleanup

* Refactor training to not reserve memory
2025-08-07 20:53:50 -06:00
Nicolas Mowen
e87c99946f Classification Model Metrics (#18595)
* Add speed and rate metrics for custom classification models

* Use metrics for classification models

* Use keys

* Cast to list
2025-08-07 20:53:13 -06:00
Nicolas Mowen
698b782ecc Live classification model training (#18583)
* Implement model training via ZMQ and add model states to represent training

* Get model updates working

* Improve toasts and model state

* Clean up logging

* Add back in
2025-08-07 20:53:13 -06:00
Nicolas Mowen
83c4fb5710 Classification Model UI (#18571)
* Setup basic training structure

* Build out route

* Handle model configs

* Add image fetch APIs

* Implement model training screen with dataset selection

* Implement viewing of training images

* Adjust directories

* Implement viewing of images

* Add support for deleting images

* Implement full deletion

* Implement classification model training

* Improve naming

* More renaming

* Improve layout

* Reduce logging

* Cleanup
2025-08-07 20:53:13 -06:00
Nicolas Mowen
97f971abee Implement API to train classification models (#18475) 2025-08-07 20:53:13 -06:00
Nicolas Mowen
80dec7dfa1 Add ability to configure when custom classification models run (#18380)
* Add config to control when classification models are run

* Cleanup
2025-08-07 20:52:32 -06:00
Nicolas Mowen
6608dc6c16 Initial custom classification model config support (#18362)
* Add basic config for defining a teachable machine model

* Add model type

* Add basic config for teachable machine models

* Adjust config for state and object

* Use config to process

* Correctly check for objects

* Remove debug

* Rename to not be teachable machine specific

* Cleanup
2025-08-07 20:52:32 -06:00