Q
形状の異なる複数のオブジェクトを一度に検出したいのですが、どのように処理を行えばよいでしょうか?
A
オペレータ find_shape_models (find_scaled_shape_models) を用いることで、複数のモデルを同時に検索することができます。オペレータ create_shape_model (create_scaled_shape_model) でそれぞれの形状ごとにモデルを作成し、そのIDを配列にして、オペレータ find_shape_models (find_scaled_shape_models) に渡します。
関連オペレーター
inspect_shape_model
clear_all_shape_models
create_shape_model (create_scaled_shape_model)
find_shape_models (find_scaled_shape_models)
clear_shape_model
ファイル
サンプルプログラムはmultiple_models.zipをダウンロードしてください。
multiple_models.dev
2種類以上のオブジェクトを一度に検出する方法を示したサンプルプログラム
multiple_models.txt
2種類以上のオブジェクトを一度に検出する方法を示したサンプルプログラム(テキスト形式)