Add missing frame_time argument to ObjectTracker.match_and_update() (#10079)

And some little type hints
This commit is contained in:
JC 2024-02-27 12:48:01 +00:00 committed by GitHub
parent 849f343b25
commit 7eb89ca67c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -5,9 +5,9 @@ from frigate.config import DetectConfig
class ObjectTracker(ABC): class ObjectTracker(ABC):
@abstractmethod @abstractmethod
def __init__(self, config: DetectConfig): def __init__(self, config: DetectConfig) -> None:
pass pass
@abstractmethod @abstractmethod
def match_and_update(self, detections): def match_and_update(self, frame_time: float, detections) -> None:
pass pass