Sdílet prostřednictvím


OcrWord Class

  • java.lang.Object
    • com.microsoft.azure.cognitiveservices.vision.computervision.models.OcrWord

public class OcrWord

Information on a recognized word.

Constructor Summary

Constructor Description
OcrWord()

Method Summary

Modifier and Type Method and 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.

Methods inherited from java.lang.Object

Constructor Details

OcrWord

public OcrWord()

Method Details

boundingBox

public String boundingBox()

Get the boundingBox value.

Returns:

the boundingBox value

text

public String text()

Get the text value.

Returns:

the text value

withBoundingBox

public OcrWord withBoundingBox(String boundingBox)

Set the boundingBox value.

Parameters:

boundingBox - the boundingBox value to set

Returns:

the OcrWord object itself.

withText

public OcrWord withText(String text)

Set the text value.

Parameters:

text - the text value to set

Returns:

the OcrWord object itself.

Applies to