supervision-js
    Preparing search index...

    Interface LabelStyle

    Label presentation contract.

    This is the supervision-js equivalent of a label annotator: it converts one semantic detection into optional label text and renderer-neutral style data.

    interface LabelStyle {
        resolve(
            detection: Detection,
            context: AnnotationStyleContext,
        ): LabelDrawInstruction | undefined;
    }

    Implemented by

    Index