supervision-js
    Preparing search index...

    Interface BaseOrientedBoxStyleOptions

    interface BaseOrientedBoxStyleOptions {
        fill?: DetectionStyleValue<
            Partial<FillStyle>
            | null,
            AnnotationStyleContext,
        >;
        stroke?: DetectionStyleValue<
            Partial<StrokeStyle>
            | null,
            AnnotationStyleContext,
        >;
        shouldRender?: DetectionStylePredicate<AnnotationStyleContext>;
    }
    Index
    fill?: DetectionStyleValue<Partial<FillStyle> | null, AnnotationStyleContext>

    Optional fill. Pass null to disable it, or a resolver for per-class or confidence-aware fills.

    stroke?: DetectionStyleValue<
        Partial<StrokeStyle>
        | null,
        AnnotationStyleContext,
    >

    Stroke. Pass null to disable strokes, or a resolver for per-detection stroke styling.

    shouldRender?: DetectionStylePredicate<AnnotationStyleContext>

    Return false to skip rendering a detection in this style.