Legal claims defining the scope of protection, as filed with the USPTO.
1. A method for processing an image, comprising: acquiring face information from a template image, if receiving a request for processing an image containing a face; acquiring face information from the image to be processed; determining whether the face information in the template image and the face information in the image to be processed are the same; when the face information in the template image and the face information in the image to be processed are the same, generating a null makeover operation mode; and applying the photo makeover on the face according to the null makeover operation mode.
2. The method according to claim 1 , wherein the face information comprises one or more of positions and intervals of face organs, sizes of the face organs and the face, proportions between the face organs and the face, shapes of the face organs, angles and directions of the face organs, colors of the face organs, and colors of the face.
3. The method according to claim 1 , further comprising: when the face information in the template image and the face information in the image to be processed are not the same, determining whether the difference between the face information in the template image and the face information in the image to be processed is less than or equals to a first threshold; when the difference between the face information in the template image and the face information in the image to be processed is less than or equals to the first threshold, generating a first level makeover operation mode; and applying the photo makeover on the face according to the first level makeover operation mode.
4. The method according to claim 3 , further comprising: when the difference between the face information in the template image and the face information in the image to be processed is greater than a second threshold, generating a second level makeover operation mode; and applying the photo makeover on the face according to the second level makeover operation mode, wherein the second threshold is greater than the first threshold.
5. The method according to claim 1 , wherein the method further comprises a step of obtaining the template image before acquiring the face information from the template image.
6. The method according to claim 5 , wherein the template image is obtained by receiving an image inputted by a user and using the inputted image as the template image.
7. The method according to claim 5 , wherein the template image is obtained by determining an image selected by a user and using the selected image as the template image.
8. A terminal device, comprising: one or more processors; a memory; and one or more instruction modules stored in the memory and configured to be executed by the one or more processors, the one or more instruction modules comprising instructions for: acquiring face information from a template image, if receiving a request for processing an image containing a face; acquiring face information from the image to be processed; determining whether the face information in the template image and the face information in the image to be processed are the same; when the face information in the template image and the face information in the image to be processed are the same, generating a null makeover operation mode; and applying the photo makeover on the face according to the null makeover operation mode.
9. The terminal device according to claim 8 , wherein the face information comprises one or more of positions and intervals of face organs, sizes of the face organs and the face, proportions between the face organs and the face, shapes of the face organs, angles and directions of the face organs, colors of the face organs, and colors of the face.
10. The terminal device according to claim 8 , further comprising: when the face information in the template image and the face information in the image to be processed are not the same, determining whether the difference between the face information in the template image and the face information in the image to be processed is less than or equals to a first threshold; when the difference between the face information in the template image and the face information in the image to be processed is less than or equals to the first threshold, generating a first level makeover operation mode; and applying the photo makeover on the face according to the first level makeover operation mode.
11. The terminal device according to claim 10 , further comprising: when the difference between the face information in the template image and the face information in the image to be processed is greater than a second threshold, generating a second level makeover operation mode; and applying the photo makeover on the face according to the second level makeover operation mode, wherein the second threshold is greater than the first threshold.
12. The terminal device according to claim 8 , wherein the method further comprises a step of obtaining the template image before acquiring the face information from the template image.
13. The terminal device according to claim 12 , wherein the template image is obtained by receiving an image inputted by a user and using the inputted image as the template image.
14. The terminal device according to claim 12 , wherein the template image is obtained by determining an image selected by a user and using the selected image as the template image.
15. A non-transitory readable storage medium including instructions, executable by one or more processors in a terminal device, for performing a method for processing an image, the method comprising: acquiring face information from a template image, if receiving a request for processing an image containing a face; acquiring face information from the image to be processed; determining whether the face information in the template image and the face information in the image to be processed are the same; when the face information in the template image and the face information in the image to be processed are the same, generating a null makeover operation mode; and applying the photo makeover on the face according to the null makeover operation mode.
Unknown
May 16, 2017
Browse 5M+ US patents with plain-English claim translations and AI-generated analysis.