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.

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.

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