boxLabelDatastoreのエラー
5 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
画像の物体検出のため、イメージラベラーで画像にラベル付けし、table形式で保存したGTを読込
イメージのデータストアとボックスのデータストアを作成し、combineで連結しようとしたが
boxLabelDatastoreでエラーが発生しました。
1つの画像に境界ボックスを複数作っているのが悪さをしているのでしょうか?
table形式に変更すれば解決するのでしょうか?
gTruth1列目はimageFilename、2列目は 境界ボックスの座標 8*4 double, 12*4 double,・・・となっています。
よろしくお願い致します。
<コード>
load gTruth.mat
imds = imageDatastore(gTruth{: , 1}); % イメージのデータストア
bxds = boxLabelDatastore(gTruth(: , 2)); % ボックスのデータストア
data = combine(imds, bxds);
<エラー>
エラー:boxLabelDatastore
1番目の入力引数trainingDataは以下のいずれかのタイプが必要です:
table
実際の型は cell でした。
0 Kommentare
Antworten (1)
Shunichi Kusano
am 8 Okt. 2021
objectdetectortrainingdataという関数でimdsとbxdsを一気に作成が可能なはずです。試してみてください。
0 Kommentare
Siehe auch
Kategorien
Mehr zu 単一カメラとステレオ カメラのキャリブレーション finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!