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.
|
| Modifier and Type | Method and Description |
|---|---|
TextLine[] |
getLines()
Gets lines of text, with their fragments, recognized within the document.
|
String |
getText()
Gets textual equivalent of the structured text.
|
String |
toString()
Gets textual equivalent of the structured text.
|
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 TextLine[] getLines()
Gets lines of text, with their fragments, recognized within the document.
public final String getText()
Gets textual equivalent of the structured text.
Copyright © 2025. All rights reserved.