supervision-js
    Preparing search index...

    Interface CompositeDetectionFrameSourceOptions

    interface CompositeDetectionFrameSourceOptions {
        selectionMode?: DetectionFrameSelectionMode;
        frameRate?: number;
        frameIndexOriginTime?: number;
        sources: readonly CompositeDetectionFrameSourceEntry[];
    }

    Hierarchy (View Summary)

    Index

    Selection strategy for matching media playback time to detection frames.

    frameRate?: number

    Nominal inference frame rate, and the grid step NearestFrameIndex falls back to. With two or more indexed frames buffered the step is measured from their own media times, so a rate that disagrees with the clip's real one cannot walk selection off the grid.

    frameIndexOriginTime?: number

    Media timestamp for inference frame index 0.

    Selection does not read this. Each buffered frame carries the media time its index sits at, which states the same thing without an origin to extrapolate from.