The DetectedQuadsResult interface holds information on detected quadrilaterals, of type DetectedQuadResultItem, within an image.

interface DetectedQuadsResult {
    errorCode: number;
    errorMessage?: string;
    items?: DetectedQuadResultItem[];
    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 DetectedQuadResultItem objects, each representing a detected quadrilateral within the original image.

originalImageHashId: string

The hash ID of the original image.

IntermediateResultManager.getOriginalImage

rotationTransformMatrix: number[]

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