Change label size of bounding box

3 次查看(过去 30 天)
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.

采纳的回答

Dave B
Dave B 2021-9-30
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 个)

类别

Help CenterFile Exchange 中查找有关 Image Processing Toolbox 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by