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[];
}

Hierarchy (View Summary)

Properties

errorCode: number

Error code associated with the capture result.

errorMessage: string

Error string providing details about the error.

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.