mirror of
https://github.com/blakeblackshear/frigate.git
synced 2024-11-26 19:06:11 +01:00
7eb89ca67c
And some little type hints
14 lines
297 B
Python
14 lines
297 B
Python
from abc import ABC, abstractmethod
|
|
|
|
from frigate.config import DetectConfig
|
|
|
|
|
|
class ObjectTracker(ABC):
|
|
@abstractmethod
|
|
def __init__(self, config: DetectConfig) -> None:
|
|
pass
|
|
|
|
@abstractmethod
|
|
def match_and_update(self, frame_time: float, detections) -> None:
|
|
pass
|