RecognizedTextLinesResult
The RecognizedTextLinesResult
class 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.
Definition
Namespace: Dynamsoft.DLR
Assembly: Dynamsoft.LabelRecognizer.dll
public class RecognizedTextLinesResult
Methods
Method | Description |
---|---|
GetOriginalImageHashId |
Gets the hash ID of the original image. |
GetOriginalImageTag |
Gets the tag of the original image. |
GetItems |
Gets all the text line result items. |
GetRotationTransformMatrix |
Gets the 3x3 rotation transformation matrix of the original image relative to the rotated image. |
GetErrorCode |
Gets the error code of the recognition result, if an error occurred. |
GetErrorString |
Gets the error message of the recognition result, if an error occurred. |
GetOriginalImageHashId
Gets the hash ID of the original image.
string GetOriginalImageHashId()
Return Value
Returns a string containing the hash ID of the original image.
GetOriginalImageTag
Gets the tag of the original image.
ImageTag GetOriginalImageTag()
Return Value
Returns an ImageTag
object representing the tag of the original image.
See Also
GetItems
Gets all the text line result items.
TextLineResultItem GetItems()
Return Value
Returns a TextLineResultItem
array.
See Also
GetRotationTransformMatrix
Gets the 3x3 rotation transformation matrix of the original image relative to the rotated image.
double[] GetRotationTransformMatrix()
Return Value
Returns a double array of length 9 which represents a 3x3 rotation matrix.
GetErrorCode
Gets the error code of the recognition result, if an error occurred.
int GetErrorCode()
Return Value
Returns the error code of the recognition result, or 0 if no error occurred.
See Also
GetErrorString
Gets the error message of the recognition result, if an error occurred.
string GetErrorString()
Return Value
Returns a string containing the error message of the recognition result, or an empty string if no error occurred.