Files
2026-07-13 12:10:44 +08:00

20 lines
419 B
Python

from abc import ABC, abstractmethod
from typing import Any
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[tuple[Any, Any, Any, Any, Any, Any]],
) -> None:
pass