Class OcrWord
- java.lang.Object
-
- com.microsoft.azure.cognitiveservices.vision.computervision.models.OcrWord
-
public class OcrWord extends Object
Information on a recognized word.
-
-
Constructor Summary
Constructors Constructor Description OcrWord()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
boundingBox()
Get the boundingBox value.String
text()
Get the text value.OcrWord
withBoundingBox(String boundingBox)
Set the boundingBox value.OcrWord
withText(String text)
Set the text value.
-
-
-
Method Detail
-
boundingBox
public String boundingBox()
Get the boundingBox value.- Returns:
- the boundingBox value
-
withBoundingBox
public OcrWord withBoundingBox(String boundingBox)
Set the boundingBox value.- Parameters:
boundingBox
- the boundingBox value to set- Returns:
- the OcrWord object itself.
-
text
public String text()
Get the text value.- Returns:
- the text value
-
-