boxLabelDatastoreのエラー

1 visualización (últimos 30 días)
TY
TY el 8 de Oct. de 2021
Respondida: Shunichi Kusano el 8 de Oct. de 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 でした。

Respuestas (1)

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

Categorías

Más información sobre 単一カメラとステレオ カメラのキャリブレーション en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2020b

Community Treasure Hunt

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

Start Hunting!