Face processing (detection and recognition) is a challenging problem because faces vary significantly in size, shape, color, texture and location. Their overall appearance can also be influenced by lighting conditions, facial expression, occlusion or facial features, such as beards, moustaches and glasses. Another challenging problem comes from the orientation (upright, rotated) and the pose (frontal to profile) of the face.
The goal of face detection is to determine whether or not there are any faces in the image and, if present, their location. this is the crucial first step of any application that involves face processing systems. Thus, accurate and fast human face detection is the key to a successful operation.
Face recognition has been an active research area for more than 30 years and different systems are now capable of correctly recognizing people's faces under specific environments (near frontal faces and controlled imaging conditions). However, many applications need the ability to deal with faces of varying head poses and adverse imaging conditions since most faces in the real world are not frontal and captured in uncontrolled environments.
You can find here more information about face detection and recognition.