blakeblackshear.frigate/frigate/track/__init__.py

14 lines
297 B
Python
Raw Normal View History

2023-05-31 16:12:43 +02:00
from abc import ABC, abstractmethod
from frigate.config import DetectConfig
class ObjectTracker(ABC):
@abstractmethod
def __init__(self, config: DetectConfig) -> None:
2023-05-31 16:12:43 +02:00
pass
@abstractmethod
def match_and_update(self, frame_time: float, detections) -> None:
2023-05-31 16:12:43 +02:00
pass