public class RecognizedImage extends Object
Represents text, extracted from an image as a result of its recognition process.
Learn more
Constructor and Description |
---|
RecognizedImage(TextLine[] lines)
Initializes a new instance of the class, using a set of recognized lines.
|
public RecognizedImage(TextLine[] lines)
Initializes a new instance of the class, using a set of recognized lines.
lines
- an IEnumerable (e.g. a list or an array) of recognized linespublic final String getText()
Gets textual equivalent of the structured text.
public final TextLine[] getLines()
Gets lines of text, with their fragments, recognized within the document.