你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

OcrLine 类

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

public class OcrLine

描述单个已识别文本行的 对象。

方法摘要

修饰符和类型 方法和描述
String boundingBox()

获取 boundingBox 值。

OcrLine withBoundingBox(String boundingBox)

设置 boundingBox 值。

OcrLine withWords(List<OcrWord> words)

设置单词值。

List<OcrWord> words()

获取单词值。

方法详细信息

boundingBox

public String boundingBox()

获取 boundingBox 值。

Returns:

boundingBox 值

withBoundingBox

public OcrLine withBoundingBox(String boundingBox)

设置 boundingBox 值。

Parameters:

boundingBox - 要设置的 boundingBox 值

Returns:

OcrLine 对象本身。

withWords

public OcrLine withWords(List words)

设置单词值。

Parameters:

words - 要设置的字词值

Returns:

OcrLine 对象本身。

words

public List words()

获取单词值。

Returns:

单词值

适用于