Change label size of bounding box

9 vues (au cours des 30 derniers jours)
R G
R G le 30 Sep 2021
Réponse apportée : Dave B le 30 Sep 2021
Hi, I am doing a report based bounding box in Matlab, follows the link
However, when I copy image to the report, the label of bounding box is too small and difficult to see.
So I wonder if there is a way to make the label name bigger or clearer.

Réponse acceptée

Dave B
Dave B le 30 Sep 2021
You could use the FontSize Name-Value pair on insertObjectAnnotation:
I = insertObjectAnnotation(I,'Rectangle',bboxA,labelsA,'FontSize',22);
J = insertObjectAnnotation(J,'Rectangle',bboxB,labelsA,'FontSize',22);
imshowpair(I,J,'montage')

Plus de réponses (0)

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by