CPC G06T 5/50 (2013.01) [G06T 3/4046 (2013.01); G06V 40/168 (2022.01); G06T 2207/20081 (2013.01); G06T 2207/20084 (2013.01); G06T 2207/20132 (2013.01); G06T 2207/20221 (2013.01); G06T 2207/30201 (2013.01)] | 17 Claims |
1. A method for enlarging a style region of an image, the method comprising:
receiving an input image;
generating, using a first generative adversarial network (GAN) generator, a first stylized image, based on the input image;
normalizing the input image;
generating, using a second generative adversarial network (GAN) generator, a second stylized image, based on the normalized input image;
extracting a first face parse mask from the first stylized image, wherein the first face parse mask includes one or more stylized features of the first stylized image;
extracting a second face parse mask from the second stylized image, wherein the second face parse mask includes one or more stylized features of the second stylized image;
blending the first stylized image and the second stylized image to obtain a third stylized image, wherein the blending of the first stylized image and the second stylized image is based on the first and second face parse masks; and
providing the third stylized image as an output.
|