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

@@ -1651,11 +1651,11 @@ class TestConfig(unittest.TestCase):
runtime_config = frigate_config.runtime_config()
assert runtime_config.cameras["back"].onvif.autotracking.movement_weights == [
0,
1,
1.23,
2.34,
0.50,
"0.0",
"1.0",
"1.23",
"2.34",
"0.5",
]
def test_fails_invalid_movement_weights(self):