Change label size of bounding box
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
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.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/755114/image.jpeg)
0 Commenti
Risposta accettata
Dave B
il 30 Set 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')
0 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Image Processing Toolbox in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!