categorical配列から文字を取得する

サンプルにある深層学習を使用したイメージ カテゴリの分類 https://jp.mathworks.com/help/vision/examples/image-category-classification-using-deep-learning.htmlにある「新たに学習した分類器のテスト イメージでの試用」の部分で分類した結果が"label"に格納されていると思うのですが、格納されている結果を変数に代入したいのですがどうすればよいでしょうか。サンプルで言うと分類結果"airplanes"を変数に入れたいです。

回答(1 个)

yuri takahashi
yuri takahashi 2018-1-23

1 个投票

charを使ってchar(label)と記載したら解決しました。

类别

在 帮助中心 和 File Exchange 中查找有关 Computer Vision Toolbox 的更多信息

产品

标签

Community Treasure Hunt

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

Start Hunting!