Interface DecodedBarcodesResult represents information of decoded barcodes from an image.

interface DecodedBarcodesResult {
    errorCode: number;
    errorMessage?: string;
    items?: BarcodeResultItem[];
    originalImageHashId: string;
    rotationTransformMatrix: number[];
}

Properties

errorCode: number

The error code of the barcode reading result, if an error occurred.

errorMessage?: string

The error message of the barcode reading result, if an error occurred.

An array of BarcodeResultItem objects, representing the list of decoded barcodes found in the image.

originalImageHashId: string

A unique identifier or hash of the original image from which the barcodes were decoded. It can be used to associate the result with a specific input image.

rotationTransformMatrix: number[]

the rotation transformation matrix of the original image relative to the rotated image.