STRICH Barcode Scanning SDK API Reference
    Preparing search index...

    Interface CodeDetection

    A code detection reported by the STRICH SDK.

    interface CodeDetection {
        boundingRect: Rect;
        data: string;
        quadrilateral: Quadrilateral;
        rawData: Uint8Array;
        symbologyIdentifier: string;
        time: number;
        typeName: string;
    }
    Index

    Properties

    boundingRect: Rect

    The bounding rectangle in which the code was detected.

    Note: this might not be precise, especially for 1D barcodes.

    data: string

    The textual data contained in the code.

    quadrilateral: Quadrilateral

    The quadrilateral in which the code was detected.

    For rotated or warped codes, this might contain a more precise location estimate than boundingRect.

    rawData: Uint8Array

    The raw contained bytes contained in the code.

    symbologyIdentifier: string

    The ISO/IEC 15424 symbology identifier.

    time: number

    The time of detection.

    typeName: string

    The type of detected code.