The RecognizedTextLinesResult interface represents the result of a text recognition process. It provides access to information about the recognized text lines, the original image, and any errors that occurred during the recognition process.

interface RecognizedTextLinesResult {
    errorCode: number;
    errorMessage?: string;
    items?: TextLineResultItem[];
    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.

All the recognized text line result items.

originalImageHashId: string

The hash ID of the original image.

rotationTransformMatrix: number[]

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