Optional ReadonlyattributesOptional host-owned annotation attributes.
Optional ReadonlyclassOptional semantic class name, such as person, vehicle, or basketball.
Optional ReadonlyconfidenceOptional confidence score from 0 to 1.
Optional ReadonlyidOptional stable identity for picking, interaction, and host app metadata.
Optional ReadonlykeypointsOptional keypoints and skeleton edges in media-pixel coordinates.
Optional ReadonlylockedOptional host editing lock. Renderers may still present locked records.
Optional ReadonlymaskOptional binary mask in semantic cold-storage form.
Optional ReadonlymetadataCaller-owned metadata. The renderer does not interpret this field.
Optional ReadonlypolygonOptional closed polygon in media-pixel coordinates.
Optional ReadonlypolylineOptional open path in media-pixel coordinates.
Optional ReadonlyrectOptional axis-aligned media-pixel rectangle.
Optional ReadonlysourceOptional source-local detection index before composition.
Optional ReadonlysourceOptional provenance for detections copied from a composed source.
This is renderer-neutral source identity, not product workflow state.
Optional ReadonlyzOptional per-annotation render and pick order. Higher values are on top.
One model output for a media frame.
A detection stores model data only: identity, class, confidence, geometry, mask, and caller metadata. It intentionally does not carry render styling. Styling is resolved through presentation styles so the same detections can be rendered as boxes, masks, labels, or future layers without mutating the underlying annotation data.