Thanks for downloading Dynamsoft Label Recognizer Package!
Your download will start shortly. If your download does not begin, click here to retry.
RecognizedTextLineElement
The RecognizedTextLineElement
class represents a line of recognized text in an image. It inherits from the RegionObjectElement class.
Definition
Namespace: com.dynamsoft.dlr.intermediate_results
Assembly: DynamsoftLabelRecognizer.aar
class RecognizedTextLineElement extends RegionObjectElement
Inheritance: RegionObjectElement -> RecognizedTextLineElement
Methods Summary
Method | Description |
---|---|
getText |
Gets the recognized text. |
getConfidence |
Gets the confidence level of the recognized text. |
getCharacterResults |
Gets all the characters contained by the textline. |
getRowNumber |
Gets the row number of the text line within the image. |
getText
Gets the recognized text.
String getText()
Return value
Returns the text of the text line.
getConfidence
Gets the confidence level of the recognized text.
int getConfidence()
Return value
Returns an integer value representing the confidence level of the recognized text.
getCharacterResults
Gets all the characters contained by the textline in an array of CharacterResult
.
CharacterResult[] getCharacterResults();
Return value
Returns an integer value representing the success of the operation. Zero indicates success, while any other value indicates failure.
getRowNumber
Gets the row number of the text line within the image.
int getRowNumber();
Return value
Returns an integer value representing the row number of the text line within the image.