forked from Github/frigate
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:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user