mirror of
https://github.com/blakeblackshear/frigate.git
synced 2024-11-21 19:07:46 +01:00
Add missing frame_time argument to ObjectTracker.match_and_update() (#10079)
And some little type hints
This commit is contained in:
parent
849f343b25
commit
7eb89ca67c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user