How to make annotation circle.? Current code appear in a box.
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
PJ_Iban
el 6 de Abr. de 2016
Respondida: Matthew Eicholtz
el 6 de Abr. de 2016
DetectFace = vision.CascadeObjectDetector();
BBOX = step(DetectFace, A);
B = insertObjectAnnotation(A, 'rectangle', BBOX, 'Face'); imshow(B), title('Detected faces');
0 comentarios
Respuesta aceptada
Matthew Eicholtz
el 6 de Abr. de 2016
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 comentarios
Más respuestas (0)
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!