1
0
mirror of https://github.com/blakeblackshear/frigate.git synced 2025-03-13 00:17:15 +01:00
blakeblackshear.frigate/frigate/track/__init__.py
Nicolas Mowen 45e9030358
Round robin SHM management ()
* Output frame name to frames processor

* Finish implementing round robin

* Formatting
2024-11-16 16:00:19 -07:00

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