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