mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-08 20:25:26 +03:00
Add missing frame_time argument to ObjectTracker.match_and_update()
And some little type hints
This commit is contained in:
parent
a6aa5328aa
commit
fd24ed3d7d
@ -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
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user