次の方法で共有


Line クラス

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

public class Line

認識されたテキスト行を表す オブジェクト。

メソッドの概要

修飾子と型 メソッドと説明
Appearance appearance()

外観の値を取得します。

List<Double> boundingBox()

boundingBox 値を取得します。

String language()

言語値を取得します。

String text()

テキスト値を取得します。

Line withAppearance(Appearance appearance)

外観の値を設定します。

Line withBoundingBox(List<Double> boundingBox)

boundingBox 値を設定します。

Line withLanguage(String language)

言語の値を設定します。

Line withText(String text)

テキスト値を設定します。

Line withWords(List<Word> words)

単語の値を設定します。

List<Word> words()

単語の値を取得します。

メソッドの詳細

appearance

public Appearance appearance()

外観の値を取得します。

Returns:

外観の値

boundingBox

public List boundingBox()

boundingBox 値を取得します。

Returns:

boundingBox 値

language

public String language()

言語値を取得します。

Returns:

言語値

text

public String text()

テキスト値を取得します。

Returns:

テキスト値

withAppearance

public Line withAppearance(Appearance appearance)

外観の値を設定します。

Parameters:

appearance - 設定する外観の値

Returns:

Line オブジェクト自体。

withBoundingBox

public Line withBoundingBox(List boundingBox)

boundingBox 値を設定します。

Parameters:

boundingBox - 設定する boundingBox 値

Returns:

Line オブジェクト自体。

withLanguage

public Line withLanguage(String language)

言語の値を設定します。

Parameters:

language - 設定する言語値

Returns:

Line オブジェクト自体。

withText

public Line withText(String text)

テキスト値を設定します。

Parameters:

text - 設定するテキスト値

Returns:

Line オブジェクト自体。

withWords

public Line withWords(List words)

単語の値を設定します。

Parameters:

words - 設定する単語の値

Returns:

Line オブジェクト自体。

words

public List words()

単語の値を取得します。

Returns:

単語の値

適用対象