From 7eb89ca67c0095534e7d435a4f91c1dccf68c408 Mon Sep 17 00:00:00 2001 From: JC Date: Tue, 27 Feb 2024 12:48:01 +0000 Subject: [PATCH] Add missing frame_time argument to ObjectTracker.match_and_update() (#10079) And some little type hints --- frigate/track/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frigate/track/__init__.py b/frigate/track/__init__.py index 421a968da..3d9e45da2 100644 --- a/frigate/track/__init__.py +++ b/frigate/track/__init__.py @@ -5,9 +5,9 @@ from frigate.config import DetectConfig class ObjectTracker(ABC): @abstractmethod - def __init__(self, config: DetectConfig): + def __init__(self, config: DetectConfig) -> None: pass @abstractmethod - def match_and_update(self, detections): + def match_and_update(self, frame_time: float, detections) -> None: pass