Sdílet prostřednictvím


OcrLine Class

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

public class OcrLine

An object describing a single recognized line of text.

Constructor Summary

Constructor Description
OcrLine()

Method Summary

Modifier and Type Method and Description
String boundingBox()

Get the boundingBox value.

OcrLine withBoundingBox(String boundingBox)

Set the boundingBox value.

OcrLine withWords(List<OcrWord> words)

Set the words value.

List<OcrWord> words()

Get the words value.

Methods inherited from java.lang.Object

Constructor Details

OcrLine

public OcrLine()

Method Details

boundingBox

public String boundingBox()

Get the boundingBox value.

Returns:

the boundingBox value

withBoundingBox

public OcrLine withBoundingBox(String boundingBox)

Set the boundingBox value.

Parameters:

boundingBox - the boundingBox value to set

Returns:

the OcrLine object itself.

withWords

public OcrLine withWords(List words)

Set the words value.

Parameters:

words - the words value to set

Returns:

the OcrLine object itself.

words

public List words()

Get the words value.

Returns:

the words value

Applies to