supervision-js
    Preparing search index...

    Interface CompressedRleDetectionMask

    Compressed run-length encoded binary mask.

    RLE is the semantic cold-storage representation. Renderers may convert it into prepared runtime artifacts such as ID masks, textures, or other backend specific resources.

    interface CompressedRleDetectionMask {
        counts: string;
        encoding: CompressedRle;
        height: number;
        width: number;
    }
    Index
    counts: string

    Compressed RLE counts string.

    This matches the compact binary-mask representation commonly emitted by CV tooling. The renderer may prepare it into an ID-mask artifact before drawing.

    encoding: CompressedRle
    height: number

    Mask height in mask pixels.

    width: number

    Mask width in mask pixels.