Skip to content

modules.vision.tracking.base_tracker

Classes Diagram

Classes

BaseTracker

Inherits from: abc.ABC

Abstract base class for all tracking algorithm implementations.

Define the interface and common utilities expected from tracking algorithm implementations.
Concrete tracker classes (e.g., PID, ...) must inherit from this class
and implement the abstract methods.

Methods

update(self, box: list[float]) → tuple[float, float, float] | tuple[int, int, int] | None

@abstractmethod

Update the tracker state based on new detection results.