supervision-js
    Preparing search index...

    Interface DetectionFrame

    Detections associated with one media time.

    mediaTime is seconds on the renderer media timeline. endTime, when provided, is exclusive. frameIndex can be used when detections are produced on a known inference frame grid and the session is configured for nearest frame-index selection.

    interface DetectionFrame {
        detections: readonly Detection[];
        endTime?: number;
        frameIndex?: number;
        mediaTime: number;
    }
    Index
    detections: readonly Detection[]

    Detections active for this frame interval.

    endTime?: number

    Exclusive end time in seconds. Omit for point-in-time frames.

    frameIndex?: number

    Optional inference frame index for frame-grid synchronized detections.

    mediaTime: number

    Media timeline time in seconds.