# US 2024/0005578 A1 · Transferring hairstyles between portrait images utilizing deep latent representations

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

- Number: US 2024/0005578 A1
- Document ID: US20240005578A1
- Status: Published application
- Kind: A1
- Application number: 18/467,397
- Filed: 2023-09-14
- Published: 2024-01-04
- Earliest claimed: 2020-09-28
- Assignees: Adobe Inc.
- Applicants: Adobe Inc.
- Inventors: Saikat Chakrabarty; Sunil Kumar
- Web page: https://patentgrep.com/patent/US20240005578A1

## CPC

- G06T 11/60: Creating or editing images; Combining images with text
- G06N 3/045: Combinations of networks
- G06N 3/0455: Auto-encoder networks; Encoder-decoder networks
- G06N 3/0464: Convolutional networks [CNN, ConvNet]
- G06N 3/0475: Generative networks
- G06N 3/08: Learning methods
- G06N 3/084: Backpropagation, e.g. using gradient descent
- G06N 3/09: Supervised learning
- G06N 3/094: Adversarial learning
- G06T 5/50: using two or more images, e.g. averaging or subtraction
- G06T 7/11: Region-based segmentation
- G06V 10/82: using neural networks
- G06V 40/165: {using facial parts and geometric relationships}
- G06V 40/171: {Local features and components; Facial parts (eye characteristics G06V40/18); Occluding parts, e.g. glasses; Geometrical relationships}
- G06T 2207/20084: Artificial neural networks [ANN]
- G06T 2207/30196: Human being; Person
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING

## Abstract

The disclosure describes one or more embodiments of systems, methods, and non-transitory computer-readable media that generate a transferred hairstyle image that depicts a person from a source image having a hairstyle from a target image. For example, the disclosed systems utilize a face-generative neural network to project the source and target images into latent vectors. In addition, in some embodiments, the disclosed systems quantify (or identify) activation values that control hair features for the projected latent vectors of the target and source image. Furthermore, in some instances, the disclosed systems selectively combine (e.g., via splicing) the projected latent vectors of the target and source image to generate a hairstyle-transfer latent vector by using the quantified activation values. Then, in one or more embodiments, the disclosed systems generate a transferred hairstyle image that depicts the person from the source image having the hairstyle from the target image by synthesizing the hairstyle-transfer latent vector.

## Claims

### Claim 1

A non-transitory computer-readable medium storing instructions that, when executed by at least one processor, cause the at least one processor to perform operations comprising:
receiving, via a graphical user interface, a user selection to transfer a hairstyle depicted on a first person in a first digital image to a second person depicted in a second digital image;
extracting a first set of latent features from the first digital image that correspond to hair of the hairstyle depicted on the first person in the first digital image;
extracting a second set of latent features from the second digital image; and
generating, utilizing a generative neural network from the first set of latent features and the second set of latent features, a modified second digital image depicting the second person with the hair of the first person from the first digital image.

### Claim 2 (depends on 1)

The non-transitory computer-readable medium of claim 1, wherein the operations further comprise receiving, via the graphical user interface, a user selection of the first digital image from an image upload or an image file selection.

### Claim 3 (depends on 1)

The non-transitory computer-readable medium of claim 1, wherein the operations further comprise:
providing, for display within the graphical user interface, the first digital image, the second digital image, and a selectable option to initiate a hairstyle transfer; and
receiving, via the graphical user interface, the user selection to transfer the hairstyle depicted on the first person in the first digital image to the second person depicted in the second digital image by receiving a user interaction with the selectable option.

### Claim 4 (depends on 3)

The non-transitory computer-readable medium of claim 3, wherein the operations further comprise providing, for display within the graphical user interface, the modified second digital image depicting the second person with the hair of the first person from the first digital image while displaying the first digital image and the second digital image.

### Claim 5 (depends on 1)

The non-transitory computer-readable medium of claim 1, wherein the operations further comprise generating the modified second digital image depicting the second person with the hair of the first person from the first digital image by reconstructing facial features for one or more exposed facial regions of the second person when the hair of the hairstyle depicted on the first person in the first digital image is shorter than hair of the second person depicted in the second digital image.

### Claim 6 (depends on 1)

The non-transitory computer-readable medium of claim 1, wherein the operations further comprise generating a blended modified second digital image by blending regions of the second digital image depicting non-hair facial features with the modified second digital image depicting the second person with the hair of the first person from the first digital image.

### Claim 7 (depends on 1)

The non-transitory computer-readable medium of claim 1, wherein the operations further comprise:
generating a combined set of latent features by replacing one or more latent features from the second set of latent features with the first set of latent features; and
generating the modified second digital image by utilizing the generative neural network from the combined set of latent features.

### Claim 8 (depends on 1)

The non-transitory computer-readable medium of claim 1, wherein the operations further comprise extracting the first set of latent features from the first digital image that correspond to hair of the hairstyle depicted on the first person in the first digital image utilizing noise pixels.

### Claim 9

A system comprising:
a memory component; and
a processing device coupled to the memory component, the processing device to perform operations comprising:
receiving, via a graphical user interface, a user selection of a first digital image depicting a first person with a hairstyle and a second digital image depicting a second person;
receiving, via the graphical user interface, a user interaction with a selectable option to transfer the hairstyle depicted on the first person in the first digital image to the second person depicted in the second digital image;
generating, utilizing a generative neural network with latent features controlling depictions of hair in the first digital image and the second digital image, a modified second digital image depicting the second person with the hair of the first person from the first digital image; and
providing, for display within the graphical user interface, the modified second digital image.

### Claim 10 (depends on 9)

The system of claim 9, wherein the operations further comprise providing, for display within the graphical user interface, the modified second digital image, the first digital image, and the second digital image.

### Claim 11 (depends on 9)

The system of claim 9, wherein the operations further comprise reconstructing facial features for one or more exposed facial regions of the second person depicted in the second digital image within the modified second digital image based on the hair of the hairstyle depicted on the first person in the first digital image being a shorter length than hair of the second person depicted in the second digital image.

### Claim 12 (depends on 9)

The system of claim 9, wherein the operations further comprise:
generating a set of transfer latent features by replacing one or more features from a second set of latent vectors from the second digital image with a first set of latent features from the first digital image that correspond to hair of the hairstyle depicted on the first person in the first digital image; and
generating a synthesized digital image depicting the second person with the hair of the first person from the first digital image by utilizing the generative neural network with the set of transfer latent features.

### Claim 13 (depends on 12)

The system of claim 12, wherein the operations further comprise generating the modified second digital image by blending the synthesized digital image with the second digital image, wherein blending comprises feathering, contrast blending, color blending, brightness blending, or additive blending.

### Claim 14 (depends on 9)

The system of claim 9, wherein the operations further comprise determining the latent features controlling depictions of hair in the first digital image by utilizing noise pixels in place of the hairstyle depicted in the first digital image.

### Claim 15

A computer-implemented method comprising:
receiving, via a graphical user interface, a user selection to transfer a hairstyle depicted on a first person in a first digital image to a second person depicted in a second digital image;
extracting a first set of latent features from the first digital image that correspond to hair of the hairstyle depicted on the first person in the first digital image;
extracting a second set of latent features from the second digital image; and
generating, utilizing a generative neural network from the first set of latent features and the second set of latent features, a modified second digital image depicting the second person with the hair of the first person from the first digital image.

### Claim 16 (depends on 15)

The computer-implemented method of claim 15, further comprising providing, for display within the graphical user interface, the modified second digital image depicting the second person with the hair of the first person from the first digital image.

### Claim 17 (depends on 15)

The computer-implemented method of claim 15, further comprising generating, utilizing the generative neural network, the modified second digital image depicting the second person with one or more additional facial attributes of the first person from the first digital image.

### Claim 18 (depends on 15)

The computer-implemented method of claim 15, further comprising receiving, via the graphical user interface, a user selection of the first digital image and the second digital image from an image upload or an image file selection.

### Claim 19 (depends on 15)

The computer-implemented method of claim 15, further comprising extracting the first set of latent features from the first digital image that correspond to hair of the hairstyle depicted on the first person in the first digital image by utilizing a latent vector from the first digital image and an additional latent vector based on the first digital image with noise pixels in place of one or more regions depicting the hairstyle in the first digital image.

### Claim 20 (depends on 15)

The computer-implemented method of claim 15, further comprising:
receiving, via the graphical user interface, an additional user selection to transfer an additional hairstyle depicted on a third person in a third digital image to the second person depicted in the second digital image; and
generating, utilizing the generative neural network from a third set of latent features and the second set of latent features, an additional modified second digital image depicting the second person with the additional hairstyle of the third person from the third digital image.
