Computer system and method for calculating straightness of facial
First Claim
1. A method for calculating facial straightness, comprising:
- capturing an image;
obtaining a facial area and locations of eyes of the image;
dividing the facial area into a first sub-area and a second sub-area according to the locations of eyes;
producing a first symmetric sub-area symmetrical to the first sub-area;
coupling the first sub-area with the first symmetric sub-area to form a reference image;
obtaining a first characteristic value of the facial area;
obtaining a second characteristic value of the reference image;
producing a second symmetric sub-area symmetrical to the second sub-area;
coupling the second sub-area with the second symmetric sub-area to form a second reference image;
obtaining a third characteristic value of the second reference image; and
calculating straightness of the facial area according to the first characteristic value, the second characteristic value, and the third characteristic value.
1 Assignment
0 Petitions
Accused Products
Abstract
A computer system and a method for calculating straightness of facial are provided. In the method, an image is processed to obtain a facial area and eyes locations. The facial area is divided into two sub-areas. Then, each of the sub-area and the corresponding symmetric image thereof are coupled together to form two reference images. Finally, the characteristic values of the facial area and two of the reference images are used for calculating the straightness of the facial area based on the principle of facial symmetry. As a result, the judgment on the straightness of the facial in an image can be more correct and objective, and the situation of taking an image with a tilted angle of facial can be avoided.
-
Citations
11 Claims
-
1. A method for calculating facial straightness, comprising:
-
capturing an image; obtaining a facial area and locations of eyes of the image; dividing the facial area into a first sub-area and a second sub-area according to the locations of eyes; producing a first symmetric sub-area symmetrical to the first sub-area; coupling the first sub-area with the first symmetric sub-area to form a reference image; obtaining a first characteristic value of the facial area; obtaining a second characteristic value of the reference image; producing a second symmetric sub-area symmetrical to the second sub-area; coupling the second sub-area with the second symmetric sub-area to form a second reference image; obtaining a third characteristic value of the second reference image; and calculating straightness of the facial area according to the first characteristic value, the second characteristic value, and the third characteristic value. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A computer system, comprising:
-
an image capture unit for capturing an image; and a processing unit connecting to the image capture unit for obtaining a facial area and locations of eyes of the image, dividing the facial area into a first sub-area and a second sub-area, producing a first symmetric sub-area symmetrical to the first sub-area, coupling the first sub-area with the first symmetric sub-area to form a reference image, and obtaining a first characteristic value of the facial area and a second characteristic value of the reference image respectively, wherein the processing unit produces a second symmetric sub-area symmetrical to the second sub-area, couples the second sub-area with the second symmetric sub-area to form a second reference image, and then obtains a third characteristic value of the second reference image to calculate straightness of the facial area according to the first characteristic value, the second characteristic value, and the third characteristic value. - View Dependent Claims (7, 8, 9, 10, 11)
-
Specification