There are many ways to detect a face in a scene - easier and harder ones. Here is a list
of the most common approaches in face detection:
Finding faces in images with controlled background:
This is the easy way out. Use images with a plain monocolour background, or use them
with a predefined static background - removing the background will always give you the
face boundaries. The rest is easy going...
Finding faces by color:
If you have access to color images, you might use the typical skin color to find face
segments. The disadvantage: doesn't work with all kind of skin colors, and is not very
robust under varying lighting conditions...
If you are able to use real-time video, you can use the fact that a face is almost
always moving in reality. Just calculate the moving area, and here you go.
Disadvantages:
What if there are other objects moving in the background?
Well here we go - this is the main thing, the top of them all, the most complicated
thing maybe in whole object recognition: Given a black and white still image, where is the
face? Humans can do it, so where's the perfect algorithm that can do it, too? Here are
some works on it:
Fröba, Küblbeck: Audio- and Video-Based Biometric Person
Authentication, 3rd International Conference, AVBPA 2001, Halmstad, Sweden, June 2001.
Proceedings, Springer. ISBN 3-540-42216-1.
Jesorsky, Kirchberg, Frischholz: Audio- and Video-Based Biometric Person
Authentication, 3rd International Conference, AVBPA 2001, Halmstad, Sweden, June 2001.
Proceedings, Springer. ISBN 3-540-42216-1. (See also Geometric model for face finding
using the modified Hausdorff distance)
Kirchberg, Jesorsky, Frischholz: International ECCV Workshop on
Biometric Authentication, Springer, Lecture Notes in Computer Science,
LNCS-2359, pp. 103-111, Copenhagen, Denmark, June 2002.