The horizontal profile of an input image is obtained first, and then the two local minima, determined by detecting abrupt changes inHI, are said to correspond to the left and right side of the head. Similarly, the vertical profile is obtained and the
local minima are determined for the locations of mouth lips, nose tip, and eyes. These detected features constitute a facial
candidate.