MATLAB 人脸定位

faceimg = x222;
faceDetector = vision.CascadeObjectDetector();
bbox = step(faceDetector, faceimg);
facebox = insertObjectAnnotation(faceimg,'rectangle',bbox,'Face');
figure;imshow(facebox);

posted @ 2015-10-30 15:07  ahuo  阅读(1544)  评论(0编辑  收藏  举报