public class ImageSceneTextLine extends GenericModel
AlchemyVision.getImageSceneText(java.io.File)
.Modifier and Type | Class and Description |
---|---|
static class |
ImageSceneTextLine.Region
Region.
|
static class |
ImageSceneTextLine.Word
A word within a line of text.
|
Constructor and Description |
---|
ImageSceneTextLine() |
Modifier and Type | Method and Description |
---|---|
java.lang.Double |
getConfidence()
Gets the confidence.
|
ImageSceneTextLine.Region |
getRegion()
Gets the region.
|
java.lang.String |
getText()
Gets the text.
|
java.util.List<ImageSceneTextLine.Word> |
getWords()
Gets the words.
|
void |
setConfidence(java.lang.Double confidence)
Sets the confidence.
|
void |
setRegion(ImageSceneTextLine.Region region)
Sets the region.
|
void |
setText(java.lang.String text)
Sets the text.
|
void |
setWords(java.util.List<ImageSceneTextLine.Word> words)
Sets the words.
|
equals, hashCode, toString
public java.lang.Double getConfidence()
public ImageSceneTextLine.Region getRegion()
public java.lang.String getText()
public java.util.List<ImageSceneTextLine.Word> getWords()
public void setConfidence(java.lang.Double confidence)
confidence
- The confidencepublic void setRegion(ImageSceneTextLine.Region region)
region
- The regionpublic void setText(java.lang.String text)
text
- The textpublic void setWords(java.util.List<ImageSceneTextLine.Word> words)
words
- The words