forked from Github/frigate
Add missing frame_time argument to ObjectTracker.match_and_update() (#10079)
And some little type hints
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user