supervision-js
    Preparing search index...

    Interface BoxStyle

    Box presentation contract.

    A style receives semantic detections and returns renderer-neutral draw instructions. Return undefined to skip a detection for this layer.

    interface BoxStyle {
        resolve(
            detection: Detection,
            context: AnnotationStyleContext,
        ): BoxDrawInstruction | undefined;
    }

    Implemented by

    Index