Autotracking tweaks (#8400)

* optimize motion and velocity estimation

* change recommended fps and fix config validate

* remove unneeded var

* process at most 3 objects per second

* fix test
This commit is contained in:
Josh Hawkins
2023-11-01 06:12:43 -05:00
committed by GitHub
parent d1620b4e39
commit af24eb7dbf
6 changed files with 39 additions and 40 deletions

View File

@@ -171,7 +171,7 @@ class PtzAutotrackConfig(FrigateBaseModel):
timeout: int = Field(
default=10, title="Seconds to delay before returning to preset."
)
movement_weights: Optional[Union[float, List[float]]] = Field(
movement_weights: Optional[Union[str, List[str]]] = Field(
default=[],
title="Internal value used for PTZ movements based on the speed of your camera's motor.",
)