イメージラベラーを利用した顔パーツの検出について

4 views (last 30 days)
tsuyoshi tsunoda
tsuyoshi tsunoda on 3 Feb 2022
Moved: Atsushi Ueno on 17 Aug 2022
現在、イメージラベラーを利用した機械学習を用いて以下のプログラムで画像のような結果が出ています。
そこで、RightEye、LeftEye、Mouthをそれぞれ最も高い精度の枠のみを表示させるにはどうすればよいのでしょうか。
それに加えて、それぞれのConfidenceの値も出せるようにしたいです。ご教授願います。
Imgfilename = strcat('画像');
img = imread(Imgfilename);
[bboxes,score,label] = detect(Face,img);
detectedImg = insertObjectAnnotation(img, 'Rectangle', bboxes, cellstr(label));
figure
imshow(detectedImg);
  2 Comments
Atsushi Ueno
Atsushi Ueno on 3 Feb 2022
Moved: Atsushi Ueno on 17 Aug 2022
「スコアが高いほど、検出の信頼性が高いことを示します」との事なので、各々のラベル毎にscoreの値がより高いbboxesを選択すれば良いと思います。
tsuyoshi tsunoda
tsuyoshi tsunoda on 3 Feb 2022
Moved: Atsushi Ueno on 17 Aug 2022
その選択方法が分からず教えていただきたいです。
何度もすみません。

Sign in to comment.

Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!