Find faces in the image.
faces = detectfaces(im)
The function finds faces in an image.
im = imread(SIVP_PATH+'/images/lena.png'); faces = detectfaces(im); [m,n] = size(faces); for i=1:m, im = rectangle(im, faces(i,:), [0,255,0]); end; imshow(im); | ![]() | ![]() |
"Rapid Object Detection using a Boosted Cascade of Simple Features", Paul Viola and Michael J. Jones, IEEE CVPR, 2001.
"An Extended Set of Haar-like Features for Rapid Object Detection", Rainer Lienhart and Jochen Maydt, IEEE ICIP 2002, Vol. 1, pp. 900-903, Sep. 2002.
http://sivp.sf.net