public class OcrWord
extends java.lang.Object
| Constructor and Description |
|---|
OcrWord()
Initializes an instance of the
OcrWord class |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getBox()
Gets the bounding box of the word in a string format.
|
java.lang.String |
getConfidence()
Gets confidence of the word.
|
java.lang.String |
getText()
Gets the text of the word.
|
void |
setBox(java.lang.String box)
Set Box
|
void |
setConfidence(java.lang.String confidence)
Sets confidence of the word.
|
void |
setText(java.lang.String text)
Sets text
|
java.lang.String |
toString()
Override toString method
|
public OcrWord()
OcrWord classpublic java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String getText()
public void setText(java.lang.String text)
text - the text of the wordpublic java.lang.String getConfidence()
public void setConfidence(java.lang.String confidence)
confidence - the confidence of the wordpublic java.lang.String getBox()
public void setBox(java.lang.String box)
box - the box of the word