# US 2024/0404005 A1 · High resolution synthesis using shaders

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

- Number: US 2024/0404005 A1
- Document ID: US20240404005A1
- Status: Published application
- Kind: A1
- Application number: 18/205,674
- Filed: 2023-06-05
- Published: 2024-12-05
- Earliest claimed: 2023-06-05
- Assignees: Snap Inc.
- Applicants: Snap Inc.
- Inventors: Jonathan Heimann; Nir Malbin; Avihay Assouline; Gal Sasson
- Web page: https://patentgrep.com/patent/US20240404005A1

## CPC

- G06T 3/4046: using neural networks
- G06T 3/4053: based on super-resolution, i.e. the output image resolution being higher than the sensor resolution
- G06T 7/70: Determining position or orientation of objects or cameras (camera calibration G06T7/80)
- G06T 11/00: Two-dimensional [2D] image generation
- G06T 11/60: Creating or editing images; Combining images with text
- G06T 15/005: {General purpose rendering architectures}
- G06V 10/82: using neural networks
- G06V 20/20: in augmented reality scenes
- G06T 2207/10016: Video; Image sequence
- G06T 2207/20081: Training; Learning
- G06T 2207/20084: Artificial neural networks [ANN]
- G06T 2210/16: Cloth
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING

## Abstract

Methods and systems are disclosed for generating high resolution images using lower resolution machine learning models. The system receives one or more images depicting a real-world object in a real-world scene and receives a source image depicting a fashion item comprising a target. The system processes, using one or more machine learning models, the one or more images together with the source image to generate a new image depicting the real-world object wearing the fashion item depicted in the source image, the new image having a lower image resolution than an image resolution of the source image. The system selectively blends pixels of the new image with pixels of the source image to generate a virtual extended reality (XR) experience.

## Claims

### Claim 1

A method comprising:
receiving one or more images depicting a real-world object in a real-world scene;
receiving a source image depicting a fashion item comprising a target;
processing, using one or more machine learning models, the one or more images together with the source image to generate a new image depicting the real-world object wearing the fashion item depicted in the source image, the new image having a lower image resolution than an image resolution of the source image; and
selectively blending pixels of the new image with pixels of the source image to generate a virtual extended reality (XR) experience.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
determining a pose of the real-world object depicted in the one or more images; and
adjusting a pose of the fashion item depicted in the source image to match the pose of the real-world object depicted in the one or more images.

### Claim 3 (depends on 2)

The method of claim 2, further comprising:
increasing in part an image resolution of the new image in response to selectively blending the pixels of the new image with the pixels of the source image.

### Claim 4 (depends on 3)

The method of claim 3, further comprising:
identifying a region of the source image that depicts the target; and
replacing one or more pixels of the new image with one or more pixels of the source image corresponding to the identified region.

### Claim 5 (depends on 4)

The method of claim 4, wherein the target comprises an emblem, a logo, a graphical element or text.

### Claim 6 (depends on 5)

The method of claim 5, wherein the one or more machine learning models process the source image depicting the fashion item with the adjusted pose.

### Claim 7 (depends on 2)

The method of claim 2, further comprising:
generating a first image depicting the fashion item in the adjusted pose having a first image resolution; and
generating a second image depicting the fashion item in the adjusted pose having a second image resolution lower than the first image resolution.

### Claim 8 (depends on 7)

The method of claim 7, further comprising:
providing the second image to the one or more machine learning models for processing together with the one or more images.

### Claim 9 (depends on 8)

The method of claim 8, further comprising:
selectively blending pixels of the new image with pixels of the first image to generate the XR experience.

### Claim 10 (depends on 9)

The method of claim 9, further comprising:
generating a map identifying portions of the new image corresponding to the target; and
selectively blending the pixels of the first image based on the map.

### Claim 11 (depends on 1)

The method of claim 1, wherein the one or more machine learning models comprise a convolutional neural network associated with a fashion item XR experience.

### Claim 12 (depends on 11)

The method of claim 11, wherein the one or more machine learning models are trained by performing training operations comprising:
accessing training data comprising a training pair of a training image depicting a training object and a ground truth image depicting the training object wearing a training fashion item;
analyzing, using the one or more machine learning models, the training image to predict an image depicting the training object wearing the training fashion item;
computing a loss based on a deviation between the predicted image and the ground truth image; and
updating one or more parameters of the one or more machine learning models based on the computed loss.

### Claim 13 (depends on 12)

The method of claim 12, further comprising repeating the training operations for additional training data until a stopping criterion is met.

### Claim 14 (depends on 12)

The method of claim 12, further comprising generating the training pair by performing operations comprising:
accessing a training video depicting the training object performing different poses and wearing a target fashion item;
selecting a first frame of the training video and a second frame of the training video that is adjacent to the first frame;
removing at least a portion of the target fashion item from the first frame to generate the training image; and
storing the second frame as the ground truth image corresponding to the training image, the one or more machine learning models being trained to predict the second frame from the first frame from which the at least a portion of the target fashion item has been removed.

### Claim 15 (depends on 1)

The method of claim 1, wherein the fashion item is a virtual object.

### Claim 16 (depends on 1)

The method of claim 1, wherein the fashion item is a real-world fashion item.

### Claim 17

A system comprising:
at least one processor; and
at least one memory component having instructions stored thereon that, when executed by the at least one processor, cause the at least one processor to perform operations comprising:
receiving one or more images depicting a real-world object in a real-world scene;
receiving a source image depicting a fashion item comprising a target;
processing, using one or more machine learning models, the one or more images together with the source image to generate a new image depicting the real-world object wearing the fashion item depicted in the source image, the new image having a lower image resolution than an image resolution of the source image; and
selectively blending pixels of the new image with pixels of the source image to generate a virtual extended reality (XR) experience.

### Claim 18 (depends on 17)

The system of claim 17, the operations further comprising:
determining a pose of the real-world object depicted in the one or more images; and
adjusting a pose of the fashion item depicted in the source image to match the pose of the real-world object depicted in the one or more images.

### Claim 19

A non-transitory computer-readable storage medium having stored thereon instructions that, when executed by at least one processor, cause the at least one processor to perform operations comprising:
receiving one or more images depicting a real-world object in a real-world scene;
receiving a source image depicting a fashion item comprising a target;
processing, using one or more machine learning models, the one or more images together with the source image to generate a new image depicting the real-world object wearing the fashion item depicted in the source image, the new image having a lower image resolution than an image resolution of the source image; and
selectively blending pixels of the new image with pixels of the source image to generate a virtual extended reality (XR) experience.

### Claim 20 (depends on 19)

The non-transitory computer-readable storage medium of claim 19, the operations further comprising:
determining a pose of the real-world object depicted in the one or more images; and
adjusting a pose of the fashion item depicted in the source image to match the pose of the real-world object depicted in the one or more images.
