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

現在、イメージラベラーを利用した機械学習を用いて以下のプログラムで画像のような結果が出ています。
そこで、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 comentarios

Atsushi Ueno
Atsushi Ueno el 3 de Feb. de 2022
Movida: Atsushi Ueno el 17 de Ag. de 2022
「スコアが高いほど、検出の信頼性が高いことを示します」との事なので、各々のラベル毎にscoreの値がより高いbboxesを選択すれば良いと思います。
tsuyoshi tsunoda
tsuyoshi tsunoda el 3 de Feb. de 2022
Movida: Atsushi Ueno el 17 de Ag. de 2022
その選択方法が分からず教えていただきたいです。
何度もすみません。

Iniciar sesión para comentar.

Respuestas (0)

Etiquetas

Preguntada:

el 3 de Feb. de 2022

Movida:

el 17 de Ag. de 2022

Community Treasure Hunt

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

Start Hunting!