frigate/frigate/detectors
Josh Hawkins c16e536b46
Fixes (#18338)
* improve spacing of face selection in mobile drawer

* fix spacing

* sort face names alphabetically

* Improve face selection dialog

* Use a state to track when face image loads

The naturalWidth and naturalHeight will always be 0 until the image loads. So we use onLoad and a state to track loading and then calculate the area after it has loaded

* Verify that a camera only tracks objects that are possible to track

* Fix test

* genai docs tweak

* Disable openvino model cache

* Clenaup

* Sanitize floats for estimated speed and angle

Users can configure speed zones in such a way that velocity estimates from Norfair cause a value of inf to be stored as an estimated speed. FastAPI doesn't serialize inf as a float, so trying to return this value would result in an API error. Sanitizing the value before storing should correct this.

---------

Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com>
2025-05-22 09:38:14 -06:00
..
plugins Fixes (#18338) 2025-05-22 09:38:14 -06:00
__init__.py Add isort and ruff linter (#6575) 2023-05-29 05:31:17 -05:00
detection_api.py Implement YOLOx for RKNN (#17788) 2025-04-18 14:44:02 -06:00
detector_config.py Fix various typing issues (#18187) 2025-05-13 08:27:20 -06:00
detector_types.py Add isort and ruff linter (#6575) 2023-05-29 05:31:17 -05:00