MAKE-UP ASSISTANCE METHOD AND APPARATUS AND SMART MIRROR
The present disclosure provides a make-up assistance method and apparatus and a smart mirror. The make-up assistance method includes: acquiring a facial image of a user; acquiring a make-up plan selected by the user, the make-up plan comprising a makeup effect image; determining difference between the makeup effect image and the facial image using a preset algorithm; and generating makeup modification prompt information for a region in the makeup effect image or the facial image where the difference is greater than a threshold.
1 . A make-up assistance method, comprising:
acquiring a facial image of a user;
acquiring a make-up plan selected by the user, the make-up plan comprising a makeup effect image;
determining a difference between the makeup effect image and the facial image using a preset algorithm; and
generating makeup modification prompt information for a region in the makeup effect image or the facial image where the difference is greater than a threshold.
2 . The make-up assistance method according to claim 1 , wherein before acquiring a make-up plan selected by a user, the make-up assistance method further comprises:
extracting a make-up region from the facial image of the user;
transmitting information about the make-up region to a makeup matching server; and
presenting at least one make-up plan determined by the makeup matching server according to the information about the make-up region for selection.
3 . The make-up assistance method according to claim 2 , wherein after extracting the make-up region from the facial image of the user, the make-up assistance method further comprises:
improving a definition in the make-up region of the facial image using a face super-resolution algorithm.
4 . The make-up assistance method according to claim 2 , wherein extracting a make-up region from the facial image of the user comprises: identifying the make-up region in the facial image using a feature identification algorithm.
5 . The make-up assistance method according to claim 2 , wherein determining a difference between the makeup effect image and the facial image using a preset algorithm comprises:
calculating at least one of a feature difference value, a texture difference value, or a color difference value between the make-up region in the facial image and a respective make-up region of the makeup effect image.
6 . The make-up assistance method according to claim 1 , further comprising:
generating a modified makeup effect image according to a modification operation performed by the user on the makeup effect image; and
uploading the modified makeup effect image to the makeup matching server.
7 . The make-up assistance method according to claim 1 , wherein generating makeup modification prompt information comprises:
highlighting a region in the makeup effect image or the facial image where the difference is greater than the threshold.
8 . The make-up assistance method according to claim 1 , wherein the make-up plan further comprises a make-up step for the makeup effect image.
9 . (canceled)
10 . (canceled)
11 . (canceled)
12 . (canceled)
13 . (canceled)
14 . (canceled)
15 . A make-up assistance apparatus comprising a memory and a processor, the memory having stored therein instructions executable by the processor, wherein the instructions, when executed by the processor, cause the processor to execute following steps:
acquiring a facial image of a user;
acquiring a make-up plan selected by the user, the make-up plan comprising a makeup effect image;
determining a difference between the makeup effect image and the facial image using a preset algorithm; and
generating makeup modification prompt information for a region in the makeup effect image or the facial image where the difference is greater than a threshold.
16 . (canceled)
17 . A smart mirror comprising the make-up assistance apparatus according to claim 15 .
18 . A nonvolatile storage medium having stored therein a computer program which, when executed by a computer, causes the computer to perform following steps:
acquiring a facial image of a user;
acquiring a make-up plan selected by the user, the make-up plan comprising a makeup effect image;
determining a difference between the makeup effect image and the facial image using a preset algorithm; and
generating makeup modification prompt information for a region in the makeup effect image or the facial image where the difference is greater than a threshold.
19 . The make-up assistance method according to claim 1 , wherein generating makeup modification prompt information comprises: prompting, by voice, a position of the region where the difference is greater than the threshold.
20 . The make-up assistance method according to claim 2 , wherein the make-up region comprises at least one of an eye region, a nose region, a mouth region, a cheek region, an eyebrow region.
21 . A make-up assistance apparatus comprising a memory and a processor, the memory having stored therein instructions executable by the processor, wherein the instructions, when executed by the processor, cause the processor to execute the make-up assistance method according to claim 2 .
22 . A make-up assistance apparatus comprising a memory and a processor, the memory having stored therein instructions executable by the processor, wherein the instructions, when executed by the processor, cause the processor to execute the make-up assistance method according to claim 3 .
23 . A make-up assistance apparatus comprising a memory and a processor, the memory having stored therein instructions executable by the processor, wherein the instructions, when executed by the processor, cause the processor to execute the make-up assistance method according to claim 4 .
24 . A make-up assistance apparatus comprising a memory and a processor, the memory having stored therein instructions executable by the processor, wherein the instructions, when executed by the processor, cause the processor to execute the make-up assistance method according to claim 5 .
25 . A make-up assistance apparatus comprising a memory and a processor, the memory having stored therein instructions executable by the processor, wherein the instructions, when executed by the processor, cause the processor to execute the make-up assistance method according to claim 6 .
26 . A make-up assistance apparatus comprising a memory and a processor, the memory having stored therein instructions executable by the processor, wherein the instructions, when executed by the processor, cause the processor to execute the make-up assistance method according to claim 7 .
27 . A make-up assistance apparatus comprising a memory and a processor, the memory having stored therein instructions executable by the processor, wherein the instructions, when executed by the processor, cause the processor to execute the make-up assistance method according to claim 8 .