supervision-js
    Preparing search index...

    Enumeration DetectionFrameSelectionMode

    How the renderer selects the active detection frame for a media timestamp.

    Index
    Interval: "interval"

    Select the frame whose [mediaTime, endTime) interval contains the media time. This is the default for interval annotations and timestamped sources.

    NearestFrameIndex: "nearestFrameIndex"

    Select from a known inference frame grid using frameIndex, frameRate, and optional frameIndexOriginTime. This is useful when inference was run on normalized frames and playback should snap detections to that grid.