Worker Interface
app.application.interfaces.tracking.worker_interfaceInterface contract for background tracking worker implementations.
See Also
TrackingWorker— implements this worker contract in the backgroundTrackingWorkerFactoryAdapter— constructs the concrete worker
Layer: Application. Context: Defines protocol boundaries consumed by application orchestration.
TrackingWorkerInterface
Bases: Protocol
Abstraction boundary for background multi-object tracking workers.
Layer: Application. Context: Coordinates use-case behavior through domain services and application contracts.
get_tracked_data() -> ListOfBoxesByFrameIndexAsDict
Return tracked results keyed by frame index.
| RETURNS | DESCRIPTION |
|---|---|
ListOfBoxesByFrameIndexAsDict
|
Mapping from frame indices to the tracked boxes for those frames. |
isRunning() -> bool
Return True while the tracking thread is active.
| RETURNS | DESCRIPTION |
|---|---|
bool
|
|
start() -> None
Start the tracking thread.
stop() -> None
Request the tracking thread to stop.