Result Processor
app.application.services.tracking.result_processorResult processing collaborator for worker-produced tracking outputs.
See Also
TrackingPostProcessor— refines raw tracking outputTrackingWorker— produces the tracking results processed here
Layer: Application. Context: Coordinates domain state and infrastructure to complete application use cases.
TrackingResultProcessor
Refresh Layer C and replace Layer D machine boxes while preserving edits.
| PARAMETER | DESCRIPTION |
|---|---|
session_repo
|
Interface used to retrieve a session and persist post-processed tracking boxes.
TYPE:
|
__init__(session_repo: UIApplicationInterface) -> None
overwrite_layer_c(s_id: SessionId, tracked_data: ListOfBoxesByFrameIndexAsDict) -> None
Overwrite Layer C and refresh Layer D across the session frame range.
| PARAMETER | DESCRIPTION |
|---|---|
s_id
|
Session identifier receiving tracking results.
TYPE:
|
tracked_data
|
Post-processed tracking boxes indexed by frame. |
Raises: Exception: Propagates invalid-session, filtering, and storage failures.
Note
Layer D refresh is one bulk storage operation. Its existing manual boxes survive, while all machine boxes are re-filtered from Layer C.
Example
processor.overwrite_layer_c(session_id, tracked_data)