A method of correcting the deviation of a position at which a human face
is detected using a face detection frame F. An image G within the
detection frame F is divided left and right along the portion of the
center axis C. The degree of similarity of mirror-symmetrical
relationship between the image portions G-1 and G-2 obtained by the
division is calculated. An amount of positional deviation d that
maximizes the degree of similarity and its direction are found. The frame
F is moved a distance corresponding to the amount of positional deviation
d in the direction. Thus, the deviation of the detection position due to
the detection frame F can be corrected by a quick and simple method.