RecognizedTextLinesResult
The RecognizedTextLinesResult class represents the overall result(s) 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.
Definition
Namespace: Dynamsoft.LabelRecognizer.Maui
Assembly: Dynamsoft.LabelRecognizer.Maui
class RecognizedTextLinesResult
Properties
| Property | Type | Description |
|---|---|---|
OriginalImageHashId |
String | Gets the hash ID of the original image. |
Items |
*IList |
Gets the text line result item at the specified index. |
RotationTransformMatrix |
Matrix | Get the rotation transformation matrix of the original image relative to the rotated image. |
ErrorCode |
int | Gets the error code of the recognition result, if an error occurred. |
ErrorMessage |
String | Gets the error message of the recognition result, if an error occurred. |
OriginalImageHashId
Get the hash id of the original image. You can use this ID to get the original image via the IntermediateResultManager class.
String OriginalImageHashId { get; }
Return value
Returns the hash ID of the original image as a string.
Items
Gets all the text line result(s) recognized from the image/frame in an array of DSTextLineResultItem.
IList<TextLineResultItem> Items { get; }
Return value
Returns an array of TextLineResultItem that contains all text line recognition results.
RotationTransformMatrix
Get the rotation transformation matrix of the original image relative to the rotated image.
Matrix RotationTransformMatrix { get; }
Return Value
A Matrix which represents the rotation transform matrix.
ErrorCode
Gets the error code of the recognition result, if an error occurred.
int ErrorCode { get; }
Return value
Returns the error code of the recognition result, or 0 if no error occurred.
ErrorMessage
Gets the error message of the recognition result, if an error occurred.
String ErrorMessage { get; }
Return value
Returns a string that describes the error message.