# US 2026/0094468 A1 · Makeup extraction method and apparatus, device, medium, and product

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2026/0094468 A1
- Document ID: US20260094468A1
- Status: Published application
- Kind: A1
- Application number: 19/344,021
- Filed: 2025-09-29
- Published: 2026-04-02
- Earliest claimed: 2024-09-30
- Assignees: Beijing Zitiao Network Technology Co., Ltd.
- Applicants: Beijing Zitiao Network Technology Co., Ltd.
- Inventors: Zhixing CHEN; Jizhe XIA; Bowen CHEN; Huichao ZHANG; Yuan GAO; Kang DU; Chengcheng YANG
- Web page: https://patentgrep.com/patent/US20260094468A1

## CPC

- G06V 40/171: {Local features and components; Facial parts (eye characteristics G06V40/18); Occluding parts, e.g. glasses; Geometrical relationships}
- G06T 11/60: Creating or editing images; Combining images with text
- G06V 10/761: {Proximity, similarity or dissimilarity measures}
- G06V 10/774: Generating sets of training patterns; Bootstrap methods, e.g. bagging or boosting
- G06V 10/82: using neural networks
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

The present application discloses a makeup extraction method and apparatus, a device, a medium, and a product. The method includes: first obtaining a target image, wherein the target image includes a first face and a makeup for decorating the first face; then, processing the target image using a first model, to obtain a first predicted makeup, wherein the first predicted makeup can describe some makeup details in the target image; then, processing the target image and the first predicted makeup using a second model, to obtain a second predicted makeup, wherein the second predicted makeup can more comprehensively and more accurately describe makeup details in the target image; and finally, determining a makeup extraction result of the target image based on the second predicted makeup.

## Claims

### Claim 1

A makeup extraction method, comprising:
obtaining a target image, the target image comprising a first face and a makeup for decorating the first face;
processing the target image using a first model to obtain a first predicted makeup;
processing the target image and the first predicted makeup using a second model to obtain a second predicted makeup; and
determining a makeup extraction result of the target image based on the second predicted makeup.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the second predicted makeup is an optimization result of the first predicted makeup; and/or,
the second predicted makeup satisfies at least one of the following constraints:
a quantity of details described by the second predicted makeup is larger than a quantity of details described by the first predicted makeup;
for any detail of the makeup in the target image, an accuracy of the detail in the second predicted makeup is greater than an accuracy of the detail in the first predicted makeup; and
for any detail of the makeup in the target image, a similarity between a state of the detail in the second predicted makeup and a state of the detail in the target image is greater than a similarity between a state of the detail in the first predicted makeup and the state of the detail in the target image.

### Claim 3 (depends on 1)

The method according to claim 1, wherein a process of determining the second predicted makeup comprises:
initializing input data of the second model based on the target image and the first predicted makeup;
processing the input data of the second model using the second model to obtain output data of the second model, wherein the output data is used for describing a predicted makeup of the first face in the target image; and
updating the input data of the second model based on the output data of the second model, continuing to perform the step of processing the input data of the second model using the second model, and determining the second predicted makeup based on the output data of the second model in response to an iteration stop condition being satisfied.

### Claim 4 (depends on 3)

The method according to claim 3, wherein the iteration stop condition comprises at least one of the following conditions:
a number of iterations reaches a preset number-of-times threshold, the number of iterations being in positive correlation with a number of times of use of the second model;
a change rate of the output data of the second model is less than a first change rate threshold; and
a change rate of a difference between the output data of the second model and the first predicted makeup is less than a second change rate threshold.

### Claim 5 (depends on 3)

The method according to claim 3, before initializing the input data of the second model, further comprising:
initializing a target makeup using the first predicted makeup,
wherein initializing the input data of the second model based on the target image and the first predicted makeup comprises:
determining the input data of the second model based on the target image and the target makeup; and
wherein updating the input data of the second model based on the output data of the second model, and continuing to perform the step of processing the input data of the second model using the second model comprises:
updating the target makeup based on the output data of the second model, and continuing to perform the step of determining the input data of the second model based on the target image and the target makeup.

### Claim 6 (depends on 5)

The method according to claim 5, wherein the target makeup comprises at least one image; the at least one image is used for describing the predicted makeup of the first face in the target image; and
the process of determining the input data of the second model comprises:
concatenating the target image with the target makeup to obtain a concatenated result, wherein a number of channels of the concatenated result is determined based on a sum of a number of channels of the target image and a number of channels of the at least one image; and
performing convolution processing on the concatenated result to obtain the input data of the second model, wherein a number of channels of the input data of the second model satisfies a number-of-channel constraint of the second model.

### Claim 7 (depends on 1)

The method according to claim 1, wherein the first model and the second model satisfy at least one of the following constraints:
a network structure of the first model is the same as a network structure of the second model, and a network parameter of the first model is different from a network parameter of the second model;
input data of the first model and the input data of the second model both do not comprise a randomly generated noise image; and
a processing process implemented using the first model and a processing process implemented using the second model both do not comprise a process of performing denoising in a random direction.

### Claim 8 (depends on 1)

The method according to claim 1, wherein the makeup extraction result is obtained by processing the target image by a makeup extraction model;
the makeup extraction model comprises the first model and the second model; and
a process of training the makeup extraction model comprises:
training the first model in the makeup extraction model using the first image and label information corresponding to the first image, wherein the first image comprises a second face and a makeup for decorating the second face; the label information corresponding to the first image is used for describing an actual makeup of the second face in the first image; and
training the second model in the makeup extraction model using the second image and label information corresponding to the second image, wherein the second image comprises a third face and a makeup for decorating the third face; the label information corresponding to the second image is used for describing an actual makeup of the third face in the second image.

### Claim 9 (depends on 8)

The method according to claim 8, wherein a process of training the first model comprises:
processing the first image using the first model to obtain predicted information corresponding to the first image, wherein the predicted information is used for describing a predicted makeup of the second face in the first image; and
updating the first model in the makeup extraction model based on a difference between the predicted information corresponding to the first image and the label information corresponding to the first image.

### Claim 10 (depends on 9)

The method according to claim 9, further comprising:
converting the predicted information corresponding to the first image from a first color space to a second color space to obtain a predicted conversion result corresponding to the first image, and converting the label information corresponding to the first image from the first color space to the second color space to obtain a label conversion result corresponding to the first image; and
wherein updating the first model in the makeup extraction model based on the difference between the predicted information corresponding to the first image and the label information corresponding to the first image comprises:
updating the first model in the makeup extraction model based on a difference between the predicted conversion result corresponding to the first image and the label conversion result corresponding to the first image.

### Claim 11 (depends on 8)

The method according to claim 8, wherein a process of training the second model comprises:
processing the second image using the first model to obtain first predicted information corresponding to the second image, wherein the first predicted information is used for describing a predicted makeup of the third face in the second image; and
processing the second image and the first predicted information using the second model, to obtain second predicted information corresponding to the second image, wherein the second predicted information is used for describing a predicted makeup of the third face in the second image; and
updating the second model in the makeup extraction model based on a difference between the second predicted information and the label information corresponding to the second image.

### Claim 12 (depends on 11)

The method according to claim 11, further comprising:
converting the second predicted information from a first color space to a second color space to obtain a conversion result corresponding to the second predicted information, and converting the label information corresponding to the second image from the first color space to the second color space to obtain a label conversion result corresponding to the second image; and
wherein updating the second model in the makeup extraction model based on the difference between the second predicted information and the label information corresponding to the second image comprises:
updating the second model in the makeup extraction model based on a difference between the conversion result corresponding to the second predicted information and the label conversion result corresponding to the second image.

### Claim 13 (depends on 11)

The method according to claim 11, wherein updating the second model in the makeup extraction model based on the difference between the second predicted information and the label information corresponding to the second image comprises:
updating the second model in the makeup extraction model based on a difference between the second predicted information and the label information corresponding to the second image, and a difference between the second predicted information and the first predicted information.

### Claim 14 (depends on 8)

The method according to claim 8, wherein the makeup extraction model is trained based on a training dataset; the training dataset comprises a plurality of sample images; the plurality of sample images comprise the first image and the second image;
for any sample image, a process of determining the sample image and tag information corresponding to the sample image comprises:
performing image generation using an image generation model to obtain a generated image, wherein the generated image comprises a fourth face, and the generated image does not comprise a makeup for decorating the fourth face; and
superimposing at least one makeup material obtained from a pre-built makeup library to the generated image to obtain the sample image, and determining the label information corresponding to the sample image based on the at least one makeup material, wherein different makeup materials are used for decorating different face regions.

### Claim 15 (depends on 14)

The method according to claim 14, wherein a process of building the makeup library comprises:
obtaining a plurality of makeup effects from at least one application;
for any of the makeup effects, adjusting at least one dimension of the makeup effect to obtain an adjustment result, wherein the at least one dimension comprises a color and/or a transparency; and
building the makeup library based on the plurality of makeup effects and the adjustment results.

### Claim 16 (depends on 1)

The method according to claim 1, wherein the target image is used for describing a makeup of at least one region in the first face; the at least one region comprises one or more of eyelashes, an eye socket, an eyeball, cheeks, and a mouth;
the makeup extraction result of the target image comprises makeup extraction results of the regions; and
after determining the makeup extraction result of the target image, the method further comprises:
for any face image, superimposing the makeup extraction results of a portion or all of regions of the at least one region to the face image, to obtain a superimposed image, wherein makeups of the superimposed image presented in the portion or all of the regions are kept consistent with makeups of the target image presented in the portion or all of the regions.

### Claim 17

An electronic device, comprising a processor and a memory, wherein
the memory is configured to store an instruction or a computer program; and
the processor is configured to perform the instruction or the computer program in the memory to cause the electronic device to:
obtain a target image, the target image comprising a first face and a makeup for decorating the first face;
process the target image using a first model to obtain a first predicted makeup;
process the target image and the first predicted makeup using a second model to obtain a second predicted makeup; and
determine a makeup extraction result of the target image based on the second predicted makeup.

### Claim 18 (depends on 17)

The device according to claim 17, wherein the second predicted makeup is an optimization result of the first predicted makeup; and/or,
the second predicted makeup satisfies at least one of the following constraints:
a quantity of details described by the second predicted makeup is larger than a quantity of details described by the first predicted makeup;
for any detail of the makeup in the target image, an accuracy of the detail in the second predicted makeup is greater than an accuracy of the detail in the first predicted makeup; and
for any detail of the makeup in the target image, a similarity between a state of the detail in the second predicted makeup and a state of the detail in the target image is greater than a similarity between a state of the detail in the first predicted makeup and the state of the detail in the target image.

### Claim 19 (depends on 17)

The device according to claim 17, wherein the instructions causing the device to determine the second predicted makeup comprise the instructions causing the device to:
initialize input data of the second model based on the target image and the first predicted makeup;
process the input data of the second model using the second model to obtain output data of the second model, wherein the output data is used for describing a predicted makeup of the first face in the target image; and
update the input data of the second model based on the output data of the second model, continue to perform the step of processing the input data of the second model using the second model, and determine the second predicted makeup based on the output data of the second model in response to an iteration stop condition being satisfied.

### Claim 20

A non-transitory computer-readable medium, having an instruction or a computer program stored therein, wherein the instruction or the computer program, when run on a device, causes the device to:
obtain a target image, the target image comprising a first face and a makeup for decorating the first face;
process the target image using a first model to obtain a first predicted makeup;
process the target image and the first predicted makeup using a second model to obtain a second predicted makeup; and
determine a makeup extraction result of the target image based on the second predicted makeup.
