public class OcrText
extends java.lang.Object
| Constructor and Description |
|---|
OcrText()
Initializes an instance of the
OcrText class |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getOrientation()
Gets orientation of the text.
|
java.lang.String |
getSkew()
Gets the skewness of the text.
|
java.lang.String |
getText()
Help method to get text from words
|
java.util.List<OcrWord> |
getWords()
Gets the list of words that are contained in the text.
|
void |
setOrientation(java.lang.String orientation)
Sets orientation of the text.
|
void |
setSkew(java.lang.String skew)
Sets skewness of the text.
|
void |
setWords(java.util.List<OcrWord> words)
Sets the list of words that are contained in the text.
|
public OcrText()
OcrText classpublic java.lang.String getOrientation()
public void setOrientation(java.lang.String orientation)
orientation - the orientation of textpublic java.lang.String getSkew()
public void setSkew(java.lang.String skew)
skew - the skewness of the textpublic java.util.List<OcrWord> getWords()
public void setWords(java.util.List<OcrWord> words)
words - the list of words that are contained in the textpublic java.lang.String getText()