mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-07 03:35:26 +03:00
process at most 3 objects per second
This commit is contained in:
parent
83810c0e12
commit
9b707cc9e2
@ -249,9 +249,7 @@ class TrackedObject:
|
||||
significant_change = True
|
||||
|
||||
# update autotrack at most 3 objects per second
|
||||
if self.obj_data["frame_time"] - self.previous["frame_time"] >= (
|
||||
1 / min(self.camera_config.detect.fps, 3)
|
||||
):
|
||||
if self.obj_data["frame_time"] - self.previous["frame_time"] >= (1 / 3):
|
||||
autotracker_update = True
|
||||
|
||||
self.obj_data.update(obj_data)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user