MATLAB 人脸定位

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

原文地址:https://www.cnblogs.com/ahuo/p/4923332.html