blakeblackshear.frigate/frigate/util
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
..
__init__.py Custom classes for Process and Metrics (#13950) 2024-09-27 07:53:23 -05:00
builtin.py Fixes (#18338) 2025-05-22 09:38:14 -06:00
config.py Fix various typing issues (#18187) 2025-05-13 08:27:20 -06:00
downloader.py Fix facedet download (#15811) 2025-02-08 12:47:01 -06:00
image.py Fix various typing issues (#18187) 2025-05-13 08:27:20 -06:00
model.py Fix various typing issues (#18187) 2025-05-13 08:27:20 -06:00
object.py Fix various typing issues (#18187) 2025-05-13 08:27:20 -06:00
path.py Improve Face Library Management (#17213) 2025-03-17 16:57:46 -05:00
process.py Added stop_event to util.Process (#14142) 2024-10-03 11:03:43 -06:00
services.py Remove hardcoded usage of /dev/dri/card0 in call to intel_gpu_top (#18236) 2025-05-14 20:54:06 -06:00
velocity.py Estimated object speed for zones (#16452) 2025-02-10 13:23:42 -07:00