Facial expression and pose transfer utilizing an end-to-end machine learning model
Abstract
The present disclosure relates to systems, methods, and non-transitory computer-readable media that modify digital images via scene-based editing using image understanding facilitated by artificial intelligence. For example, in one or more embodiments the disclosed systems utilize generative machine learning models to create modified digital images portraying human subjects. In particular, the disclosed systems generate modified digital images by performing infill modifications to complete a digital image or human inpainting for portions of a digital image that portrays a human. Moreover, in some embodiments, the disclosed systems perform reposing of subjects portrayed within a digital image to generate modified digital images. In addition, the disclosed systems in some embodiments perform facial expression transfer and facial expression animations to generate modified digital images or animations.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 29 · Forward citations: 0.
Claims (20 — 3 Independent, 17 Dependent)
- Claim 1Independent Claim
A computer-implemented method comprising: generating, utilizing a facial expression transfer model comprising an end-to-end network of one or more three-dimensional encoders and a facial expression generative adversarial neural network, a first target facial expression embedding for a first resolution from a target digital image portraying a face having a target facial expression; generating, utilizing the facial expression transfer model comprising the one or more three-dimensional encoders, a first target pose embedding for the first resolution from the target digital image; generating, utilizing the facial expression transfer model comprising the one or more three-dimensional encoders, a first source shape embedding for the first resolution from a source digital image portraying a source face having a source pose and a source facial expression; generating a first combined embedding by concatenating the first target facial expression embedding for the first resolution from the target digital image, the first target pose embedding for the first resolution from the target digital image, and the first source shape embedding for the first resolution from the source digital image; generating, utilizing the facial expression transfer model comprising the one or more three-dimensional encoders, a second target facial expression embedding for a second resolution from the target digital image; generating, utilizing the facial expression transfer model comprising the one or more three-dimensional encoders, a second target pose embedding for the second resolution from the target digital image; generating, utilizing the facial expression transfer model comprising the one or more three-dimensional encoders, a second source shape embedding for the second resolution from the source digital image; generating a second combined embedding by concatenating the second target facial expression embedding for the second resolution from the target digital image, the second target pose embedding for the second resolution from the target digital image, and the second source shape embedding for the second resolution from the source digital image; and generating, utilizing the facial expression generative adversarial neural network from the source digital image, a modified source digital image that portrays the source face of the source digital image with the target facial expression from the target digital image by conditioning a first layers of the facial expression generative adversarial neural network with the first combined embedding and conditioning a second layer of the facial expression generative adversarial neural network with the second combined embedding.
- Claim 2Depends on #1
The computer-implemented method of claim 1, further comprising: utilizing a comodulated generative adversarial neural network as the facial expression generative adversarial neural network to generate the modified source digital image by: generating, utilizing a modulation layer of a first style block of the first layer, a modulated vector from the source digital image and the first combined embedding; passing the modulated vector to a convolutional layer of the first style block of the first layer; and generating, utilizing a demodulation layer of the first style block of the first layer, an intermediate vector.
- Claim 3Depends on #2
The computer-implemented method of claim 2, further comprising: generating, utilizing a second modulation layer of a second style block of the second layer, an additional modulated vector from the source digital image and the second combined embedding; passing the additional modulated vector to a second convolutional layer of the second style block of the second layer; generating, utilizing a second demodulation layer of the second style block of the second layer, an additional intermediate vector; and generating the modified source digital image from the additional intermediate vector.
- Claim 4Depends on #1
The computer-implemented method of claim 1, further comprising generating, utilizing the one or more three-dimensional encoders, a third target facial expression embedding for a third resolution from the target digital image, a third target pose embedding for the third resolution from the target digital image, and a third source shape embedding for the third resolution from the source digital image.
- Claim 5Depends on #4
The computer-implemented method of claim 4, further comprising: generating a third combined embedding from concatenating the third target pose embedding, the third target facial expression embedding, and the third source shape embedding; and generating the modified source digital image from the source digital image by conditioning a third layers of the facial expression generative adversarial neural network with the third combined embedding.
- Claim 6Depends on #1
The computer-implemented method of claim 1, further comprising: detecting a plurality of facial expressions within an additional source digital image; and transferring an additional target facial expression from an additional target digital image to replace an additional source face in the additional source digital image based on comparing the plurality of facial expressions.
- Claim 7Depends on #1
The computer-implemented method of claim 1, wherein generating the first source shape embedding and the second source shape embedding from the source digital image further comprises: generating a modified source digital image by relocating the source face within the source digital image based on facial keypoints from the target digital image; and generating, utilizing the one or more three-dimensional encoders, the first source shape embedding and the second source shape embedding from the modified source digital image.
- Claim 8Depends on #1
The computer-implemented method of claim 1, further comprising training the facial expression generative adversarial neural network utilizing a digital video dataset by: generating a training source shape embedding from a first training frame of a digital video of the digital video dataset; and generating a training target pose embedding and a training target facial expression embedding from a second training frame of the digital video of the digital video dataset.
- Claim 9Depends on #8
The computer-implemented method of claim 8, further comprising training the facial expression generative adversarial neural network utilizing the digital video dataset by: generating a modified source training digital image that portrays a source face from the first training frame of the digital video with a target pose and a target facial expression from the second training frame of the digital video; and modifying parameters of the facial expression generative adversarial neural network by comparing the modified source training digital image with the second training frame of the digital video.
- Claim 10Independent Claim
A system comprising: one or more memory devices comprising a target digital image portraying a face having a target pose and target facial expression, a source digital image portraying a source face having a source pose and source facial expression, a facial expression transfer model comprising a first three-dimensional encoder, a second three-dimensional encoder, and a facial expression generative adversarial neural network; and one or more processors configured to cause the system to: generate, utilizing the first three-dimensional encoder of the facial expression transfer model, a first target pose embedding for a first resolution from the target digital image; generate, utilizing the first three-dimensional encoder of the facial expression transfer model, a first target facial expression embedding for the first resolution from the target digital image; generate, utilizing the second three-dimensional encoder of the facial expression transfer model, a first source shape embedding for the first resolution from the source digital image; generate a first combined embedding by concatenating the first target pose embedding, the first target facial expression embedding, and the first source shape embedding; generate, utilizing the first three-dimensional encoder, a second target facial expression embedding for a second resolution from the target digital image; generate, utilizing the first three-dimensional encoder, a second target pose embedding for the second resolution from the target digital image; generate, utilizing the second three-dimensional encoder, a second source shape embedding for the second resolution from the source digital image; generate a second combined embedding by concatenating the second target facial expression embedding for the second resolution from the target digital image, the second target pose embedding for the second resolution from the target digital image, and the second source shape embedding for the second resolution from the source digital image; and generate, utilizing the facial expression generative adversarial neural network, a modified source digital image by conditioning a first layer of the facial expression generative adversarial neural network with the first combined embedding and conditioning a second layer of the facial expression generative adversarial neural network with the second combined embedding, wherein the modified source digital image portrays the source face of the source digital image with the target pose from the target digital image.
- Claim 11Depends on #10
The system of claim 10, wherein the one or more processors are configured to cause the system to: utilize a comodulated generative adversarial neural network as the facial expression generative adversarial neural network to generate the modified source digital image by: generating, utilizing a modulation layer of a first style block of the first layer, a modulated vector from the source digital image and the first combined embedding; passing the modulated vector to a convolutional layer of the first style block of the first layer; and generating, utilizing a demodulation layer of the first style block of the first layer, an intermediate vector.
- Claim 12Depends on #11
The system of claim 11, wherein the one or more processors are configured to cause the system to: generate, utilizing a second modulation layer of a second style block of the second layer, an additional modulated vector from the source digital image and the second combined embedding; pass the additional modulated vector to a second convolutional layer of the second style block of the second layer; generate, utilizing a second demodulation layer of the second style block of the second layer, an additional intermediate vector; and generate the modified source digital image from the additional intermediate vector.
- Claim 13Depends on #10
The system of claim 10, wherein the one or more processors are configured to cause the system to provide, for display via a user interface of a client device, a source image selectable element and a target face selectable element.
- Claim 14Depends on #13
The system of claim 13, wherein the one or more processors are configured to cause the system to generate the first target facial expression embedding by receiving a selection, via the client device, of a pre-defined target facial expression.
- Claim 15Depends on #13
The system of claim 13, wherein the one or more processors are configured to cause the system to generate the first target facial expression embedding by receiving a selection, via the client device, of the target digital image.
- Claim 16Independent Claim
A non-transitory computer-readable medium storing executable instructions which, when executed by a processing device, cause the processing device to perform operations comprising: providing, for display via a user interface of a client device, source image selection element and a target face selection element; in response to interaction with the source image selection element, determining a source digital image; in response to user interaction with the target face selection element, generating, utilizing a facial expression transfer model comprising an end-to-end network of a first three-dimensional encoder and a facial expression generative adversarial neural network, a first target pose embedding and a first target facial expression embedding for a first resolution from a target digital image; generating, utilizing a second three-dimensional encoder, a first source shape embedding for the first resolution from the source digital image portraying a source face having a source pose and a source facial expression; generating a first combined embedding by concatenating the first target pose embedding, the first target facial expression embedding, and the first source shape embedding; generating, utilizing the first three-dimensional encoder, a second target facial expression embedding for a second resolution from the target digital image; generating, utilizing the first three-dimensional encoder, a second target pose embedding for the second resolution from the target digital image; generating, utilizing the second three-dimensional encoder, a second source shape embedding for the second resolution from the source digital image; generating a second combined embedding by concatenating the second target facial expression embedding for the second resolution from the target digital image, the second target pose embedding for the second resolution from the target digital image, and the second source shape embedding for the second resolution from the source digital image; and generating, utilizing the facial expression generative adversarial neural network from the source digital image, a modified source digital image that portrays the source face of the source digital image with a target pose and target facial expression by conditioning a first style blocks of the facial expression generative adversarial neural network with the first combined embedding and conditioning a second style block of the facial expression generative adversarial neural network with the second combined embedding.
- Claim 17Depends on #16
The non-transitory computer-readable medium of claim 16, wherein providing for display the target face selection element further comprises providing an option to select the target digital image that portrays the target pose and the target facial expression or an option to select a pre-defined target facial expression.
- Claim 18Depends on #16
The non-transitory computer-readable medium of claim 16, further comprises training the facial expression generative adversarial neural network utilizing a digital video dataset by generating a training source shape embedding from a first training frame of a digital video of the digital video dataset.
- Claim 19Depends on #18
The non-transitory computer-readable medium of claim 18, further comprises training the facial expression generative adversarial neural network utilizing the digital video dataset by generating a training target pose embedding and a training target facial expression embedding from a second training frame of the digital video of the digital video dataset.
- Claim 20Depends on #19
The non-transitory computer-readable medium of claim 19, further comprises training the facial expression generative adversarial neural network utilizing the digital video dataset by generating the modified source training digital image that portrays the source face from the first training frame of the digital video with the target pose and the target facial expression from the second training frame of the digital video to modify parameters of the facial expression generative adversarial neural network by comparing the modified source training digital image with the second training frame of the digital video.
Technical Overview & Description
BACKGROUND Recent years have seen significant advancement in hardware and software platforms for performing computer vision and image editing tasks. Indeed, systems provide a variety of image-related tasks, such as object identification, classification, segmentation, composition, style transfer, image inpainting, etc. SUMMARY One or more embodiments described herein provide benefits and/or solve one or more problems in the art with systems, methods, and non-transitory computer-readable media that implement artificial intelligence models to facilitate flexible and efficient scene-based image editing. To illustrate, in one or more embodiments, a system utilizes one or more machine learning models to learn/identify characteristics of a digital image, anticipate potential edits to the digital image, and/or generate supplementary components that are usable in various edits. Accordingly, the system gains an understanding of the two-dimensional digital image as if it were a real scene, having distinct semantic areas reflecting real-world (e.g., three-dimensional) conditions. Further, the system enables the two-dimensional digital image to be edited so that the changes automatically and consistently reflect the corresponding real-world conditions without relying on additional user input. In one or more embodiments, the system performs scene-based image editing by performing a variety of infill modifications, human inpainting, reposing of subjects portrayed within digital images, and facial expression transfer and animation. Moreover, for performing the aforementioned infill modifications, human inpainting, reposing, and facial expression transfer and animation, the system utilizes various generative models and various instances of artificial intelligence to generate modified digital images or animations. Thus, the system facilitates flexible and intuitive editing of digital images while efficiently reducing the user interactions typically required to make such edits. Additi
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (29)
Non-Patent Literature (10)
- Combined Search and Examination Report as received in GB2318853.5 dated Jun. 12, 2024.
- Combined Search and Examination Report as received in GB2319660.3 dated Jun. 14, 2024.
- Combined Search and Examination Report as received in GB2319084.6 dated Jun. 25, 2024.
- Wiles, 0., Koepke, A and Zisserman, A, 2018.
- “
- X2face: A network for controlling face generation using images, audio, and pose codes.
- ”
- in Proceedings of the European conference on computer vision (ECCV) (pp. 690-706).
- U.S. Appl. No. 18/190,544, filed Nov. 20, 2024, Notice of Allowance.
- U.S. Appl. No. 18/190,556, filed Dec. 13, 2024, Office Action.