Method of correcting deviation of detection position for human face, correction system, and correction program
First Claim
1. A method of correcting deviation of a detection position for a human face detected using a face detection frame, said method comprising the steps of:
- dividing an image within said face detection frame into left and right image portions about a central axis portion thereof;
calculating a degree of similarity of mirror-symmetrical relationship between the two image portions;
finding an amount of positional deviation at which the calculated degree of similarity maximizes and direction of the positional deviation; and
thereafter moving said face detection frame in said direction according to the amount of positional deviation.
1 Assignment
0 Petitions
Accused Products
Abstract
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.
-
Citations
14 Claims
-
1. A method of correcting deviation of a detection position for a human face detected using a face detection frame, said method comprising the steps of:
-
dividing an image within said face detection frame into left and right image portions about a central axis portion thereof;
calculating a degree of similarity of mirror-symmetrical relationship between the two image portions;
finding an amount of positional deviation at which the calculated degree of similarity maximizes and direction of the positional deviation; and
thereafter moving said face detection frame in said direction according to the amount of positional deviation. - View Dependent Claims (3, 4, 5, 6, 7, 8)
-
-
2. A method of correcting deviation of a detection position for a human face detected using a face detection frame, said method comprising the steps of:
-
partitioning an interior of said face detection frame into vertical bands;
dividing an image within each of the bands inside said face detection frame into left and right image portions about a central axis portion thereof;
calculating a degree of similarity of mirror-symmetrical relationship between the two image portions;
finding an amount of positional deviation at which the calculated degree of similarity maximizes and direction of the positional deviation; and
thereafter moving each of said bands in said direction according to the amount of positional deviation.
-
-
9. A system for correcting deviation of a detection position for a human face detected using a face detection frame, said system comprising:
-
an image reading portion for reading an image containing the human face;
a face detection frame setting portion for setting the face detection frame in a portion of the human face within the image read by said image reading portion;
an image division portion for dividing the image within the face detection frame detected by said face detection frame setting portion into left and right image portions about a central axis thereof;
a degree of similarity calculation portion for calculating a degree of similarity between the left and right image portions obtained by said image division portion;
a positional deviation amount calculation portion for calculating an amount of positional deviation at which the degree of similarity obtained by said degree of similarity calculation portion maximizes and direction of the positional deviation; and
a position correction portion for moving said face detection frame a distance in said direction, the distance corresponding to the amount of positional deviation calculated by said positional deviation amount calculation portion. - View Dependent Claims (11, 12, 14)
-
-
10. A system for correcting deviation of a detection position for a human face detected using a face detection frame, said system comprising:
-
an image reading portion for reading an image containing the human face;
a face detection frame setting portion for setting the face detection frame in a portion of the human face within the image read by said image reading portion;
a partitioning portion for partitioning an interior of the face detection frame detected by said face detection frame setting portion into vertical bands;
an image division portion for dividing the image within each of the bands formed by said partitioning portion into left and right image portions about a central axis thereof;
a degree of similarity calculation portion for calculating a degree of similarity between the left and right image portions obtained by said image division portion;
a positional deviation amount calculation portion for calculating an amount of positional deviation at which the degree of similarity obtained by said degree of similarity calculation portion maximizes and direction of the positional deviation; and
a position correction portion for moving each of said bands in said direction according to the amount of positional deviation calculated by said positional deviation amount calculation portion. - View Dependent Claims (13)
-
Specification