次の方法で共有


ImageCaption クラス

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

public class ImageCaption

画像キャプション。つまり、画像が示す内容の簡単な説明です。

メソッドの概要

修飾子と型 メソッドと説明
double confidence()

信頼度の値を取得します。

String text()

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

ImageCaption withConfidence(double confidence)

信頼度の値を設定します。

ImageCaption withText(String text)

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

メソッドの詳細

confidence

public double confidence()

信頼度の値を取得します。

Returns:

信頼度の値

text

public String text()

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

Returns:

テキスト値

withConfidence

public ImageCaption withConfidence(double confidence)

信頼度の値を設定します。

Parameters:

confidence - 設定する信頼度値

Returns:

ImageCaption オブジェクト自体。

withText

public ImageCaption withText(String text)

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

Parameters:

text - 設定するテキスト値

Returns:

ImageCaption オブジェクト自体。

適用対象