public static 抽象クラス InteractiveSegmenter.InteractiveSegmenterOptions.Builder
パブリック コンストラクタ
Builder()
|
パブリック メソッド
final InteractiveSegmenter.InteractiveSegmenterOptions |
build()
InteractiveSegmenter.InteractiveSegmenterOptions インスタンスを作成します。 |
抽象 InteractiveSegmenter.InteractiveSegmenterOptions.Builder | |
抽象 InteractiveSegmenter.InteractiveSegmenterOptions.Builder | |
抽象 InteractiveSegmenter.InteractiveSegmenterOptions.Builder |
setOutputCategoryMask(ブール値)
カテゴリマスクを出力するかどうかを設定します。
|
抽象 InteractiveSegmenter.InteractiveSegmenterOptions.Builder |
setOutputConfidenceMasks(ブール値)
信頼マスクを出力するかどうかを設定します。
|
抽象 InteractiveSegmenter.InteractiveSegmenterOptions.Builder |
setResultListener(ResultListener<ImageSegmenterResult, MPImage> 値)
オプションの
OutputHandler.ResultListener を設定して、グラフ パイプラインが画像の処理を完了したときにセグメンテーション結果を受け取ります。 |
継承されるメソッド
パブリック コンストラクタ
public Builder ()
パブリック メソッド
public final InteractiveSegmenter.InteractiveSegmenterOptions build ()
InteractiveSegmenter.InteractiveSegmenterOptions
インスタンスを作成します。
public 抽象 InteractiveSegmenter.InteractiveSegmenterOptions.Builder setBaseOptions (BaseOptions 値)
画像セグメント化タスクの基本オプションを設定します。
パラメータ
value |
---|
public 抽象 InteractiveSegmenter.InteractiveSegmenterOptions.Builder setErrorListener (ErrorListener 値)
オプションの ErrorListener
} を設定します。
パラメータ
value |
---|
public 抽象 InteractiveSegmenter.InteractiveSegmenterOptions.Builder setOutputCategoryMask (ブール値)
カテゴリマスクを出力するかどうかを設定します。デフォルトは false です。
パラメータ
value |
---|
public 抽象 InteractiveSegmenter.InteractiveSegmenterOptions.Builder setOutputConfidenceMasks (ブール値)
信頼マスクを出力するかどうかを設定します。デフォルトは true です。
パラメータ
value |
---|
public 抽象 InteractiveSegmenter.InteractiveSegmenterOptions.Builder setResultListener (ResultListener<ImageSegmenterResult, MPImage> value)
オプションの OutputHandler.ResultListener
を設定して、グラフ パイプラインが画像の処理を完了したときにセグメンテーション結果を受け取ります。
パラメータ
value |
---|