Please take note of the Debian package facedect.
OpenCV stands for Open Computer Vision and delivers outstanding performance. Playing through the demo tools with a webcam is very instructive and impressive. For example, a ./facedetect.py –cascade=/usr/share/opencv/haarcascades/haarcascade_frontalface_default.xml 0/ recognizes the faces in front of the webcam and marks them with a rectangle.