🤖 AIによる機械翻訳(非公式) — これは OpenCV 4.13.0 公式リファレンス(英語)を AI (Claude) で自動翻訳したものです。訳に誤りを含む場合があります。正確な情報は 公式英語版(原文) を参照してください。
Package org.opencv.dnn
クラス SegmentationModel
- java.lang.Object
-
- org.opencv.dnn.Model
-
- org.opencv.dnn.SegmentationModel
public class SegmentationModel extends Model
このクラスはセグメンテーションモデルの高レベルAPIを表す。SegmentationModelは入力画像の前処理に関する引数を設定できる。SegmentationModelは学習済み重みと設定を含むファイルからネットを生成し、入力の前処理を設定し、順伝播を実行して各ピクセルのクラス予測を返す。
-
-
コンストラクタの要約
コンストラクタ Modifier Constructor Description protectedSegmentationModel​(long addr)SegmentationModel​(java.lang.String model)Create segmentation model from network represented in one of the supported formats.SegmentationModel​(java.lang.String model, java.lang.String config)Create segmentation model from network represented in one of the supported formats.SegmentationModel​(Net network)Create model from deep learning network.
-
メソッドの要約
すべてのメソッド 静的メソッド インスタンスメソッド 具象メソッド Modifier and Type Method Description static SegmentationModel__fromPtr__​(long addr)voidsegment​(Mat frame, Mat mask)Given theinputframe, create input blob, run net-
クラス org.opencv.dnn.Model から継承したメソッド
enableWinograd, getNativeObjAddr, predict, setInputCrop, setInputMean, setInputParams, setInputParams, setInputParams, setInputParams, setInputParams, setInputParams, setInputScale, setInputSize, setInputSize, setInputSwapRB, setOutputNames, setPreferableBackend, setPreferableTarget
-
-
-
-
コンストラクタの詳細
-
SegmentationModel
protected SegmentationModel​(long addr)
-
SegmentationModel
public SegmentationModel​(java.lang.String model, java.lang.String config)Create segmentation model from network represented in one of the supported formats. An order ofmodelandconfigarguments does not matter.- 引数:
model- 学習済み重みを含むバイナリファイル。config- ネットワーク構成を含むテキストファイル。
-
SegmentationModel
public SegmentationModel​(java.lang.String model)
Create segmentation model from network represented in one of the supported formats. An order ofmodelandconfigarguments does not matter.- 引数:
model- 学習済み重みを含むバイナリファイル。
-
SegmentationModel
public SegmentationModel​(Net network)
Create model from deep learning network.- 引数:
network- Net オブジェクト。
-
-
メソッドの詳細
-
__fromPtr__
public static SegmentationModel __fromPtr__​(long addr)
-
-