mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-08-02 09:02:15 +03:00
Autotracking improvements (#17955)
* add zoom time to movement predictions * config migrator * add space to face rename regex * more debug * only calculate zoom time of relative move * fix test * make migrated movement weight a zero * check for str and bool for movestatus support
This commit is contained in:
@@ -63,9 +63,9 @@ class PtzAutotrackConfig(FrigateBaseModel):
|
||||
else:
|
||||
raise ValueError("Invalid type for movement_weights")
|
||||
|
||||
if len(weights) != 5:
|
||||
if len(weights) != 6:
|
||||
raise ValueError(
|
||||
"movement_weights must have exactly 5 floats, remove this line from your config and run autotracking calibration"
|
||||
"movement_weights must have exactly 6 floats, remove this line from your config and run autotracking calibration"
|
||||
)
|
||||
|
||||
return weights
|
||||
|
||||
Reference in New Issue
Block a user