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 |
---|---|
Double |
getConfidence()
Gets the confidence.
|
ImageSceneTextLine.Region |
getRegion()
Gets the region.
|
String |
getText()
Gets the text.
|
List<ImageSceneTextLine.Word> |
getWords()
Gets the words.
|
void |
setConfidence(Double confidence)
Sets the confidence.
|
void |
setRegion(ImageSceneTextLine.Region region)
Sets the region.
|
void |
setText(String text)
Sets the text.
|
void |
setWords(List<ImageSceneTextLine.Word> words)
Sets the words.
|
equals, hashCode, toString
public Double getConfidence()
public ImageSceneTextLine.Region getRegion()
public String getText()
public List<ImageSceneTextLine.Word> getWords()
public void setConfidence(Double confidence)
confidence
- The confidencepublic void setRegion(ImageSceneTextLine.Region region)
region
- The regionpublic void setText(String text)
text
- The textpublic void setWords(List<ImageSceneTextLine.Word> words)
words
- The wordsCopyright © 2015–2016 IBM Watson. All rights reserved.