How to make annotation circle.? Current code appear in a box.

DetectFace = vision.CascadeObjectDetector();
BBOX = step(DetectFace, A);
B = insertObjectAnnotation(A, 'rectangle', BBOX, 'Face'); imshow(B), title('Detected faces');

 채택된 답변

Matthew Eicholtz
Matthew Eicholtz 2016년 4월 6일

0 개 추천

The function call is RGB = insertObjectAnnotation(I,shape,position,label).
Change shape from 'rectangle' to 'circle', and change position from a bounding box [x,y,w,h] to a circle vector [x,y,r], where (x,y) are the coordinates of the circle center, and r is the radius.
All of this information can be found in the help documentation:

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Polar Plots에 대해 자세히 알아보기

질문:

2016년 4월 6일

답변:

2016년 4월 6일

Community Treasure Hunt

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

Start Hunting!

Translated by