标签:io ad on c as ca title image mat
Create a detector object.
faceDetector = vision.CascadeObjectDetector;
Read input image.
I = imread(‘visionteam.jpg‘);
Detect faces.
bboxes = step(faceDetector, I);
Annotate detected faces.
IFaces = insertObjectAnnotation(I, ‘rectangle‘, bboxes, ‘Face‘);
figure, imshow(IFaces), title(‘Detected faces‘);
标签:io ad on c as ca title image mat
原文地址:http://www.cnblogs.com/ahuo/p/3929295.html