boxLabelDatastoreのエラー

7 vues (au cours des 30 derniers jours)
TY
TY le 8 Oct 2021
画像の物体検出のため、イメージラベラーで画像にラベル付けし、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 でした。

Réponses (1)

Shunichi Kusano
Shunichi Kusano le 8 Oct 2021
objectdetectortrainingdataという関数でimdsとbxdsを一気に作成が可能なはずです。試してみてください。

Catégories

En savoir plus sur 単一カメラとステレオ カメラのキャリブレーション dans Help Center et File Exchange

Produits


Version

R2020b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!