mirror of
https://github.com/blakeblackshear/frigate.git
synced 2024-11-21 19:07:46 +01:00
45e9030358
* Output frame name to frames processor * Finish implementing round robin * Formatting
16 lines
350 B
Python
16 lines
350 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_name: str, frame_time: float, detections: list[dict[str, any]]
|
|
) -> None:
|
|
pass
|