public class ImageText extends ImageProcessed
VisualRecognition.recognizeText(VisualRecognitionOptions)
.VisualRecognition
Constructor and Description |
---|
ImageText() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getText()
Gets the text.
|
java.util.List<Word> |
getWords()
Gets the words.
|
void |
setText(java.lang.String text)
Sets the text.
|
void |
setWords(java.util.List<Word> words)
Sets the words.
|
getError, getImage, getResolvedUrl, getSourceUrl, setError, setImage, setResolvedUrl, setSourceUrl
public java.lang.String getText()
public java.util.List<Word> getWords()
public void setText(java.lang.String text)
text
- the new textpublic void setWords(java.util.List<Word> words)
words
- the new words