Source
app.domain.detection.sourceOrigin classification for bounding boxes (detection/tracking/manual).
See Also
Box— carries the source value with box dataBBoxViewModel— exposes box source to presentation code
Layer: Domain. Context: Defines application concepts independently of UI and infrastructure implementations.
BoxSource
Bases: str, Enum
Source/origin of a bounding detection — used to filter and identify detection type.
Note
DETECTION marks YOLO inference output in Layers A and B,
TRACKING marks tracker-generated boxes in Layers C and D, including
strategy-specific values such as TRACKING_BOTSORT, and
MANUAL marks user-created boxes that should be preserved during
layer resets and filtering operations.
Example
detection.source = BoxSource.DETECTION # From inference detection.source = BoxSource.MANUAL # User-created (never filtered)
Layer: Domain. Context: Represents application concepts without UI or infrastructure dependencies.