# US 2024/0005387 A1 · Systems and methods for spectacle removal and virtual try-on

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

- Number: US 2024/0005387 A1
- Document ID: US20240005387A1
- Status: Published application
- Kind: A1
- Application number: 17/856,482
- Filed: 2022-07-01
- Published: 2024-01-04
- Earliest claimed: 2022-07-01
- Assignees: Warby Parker Inc.
- Applicants: Warby Parker Inc.
- Inventors: DAVID H. GOLDBERG; BENJAMIN HALL; DAVID J. DESHAZER; SASHA LAUNDY; PATRICK STOCK; IGNAT BALTSYUKEVICH; STANISLAV BYCHKOVSKY; VIKTORIA PASHKOVSKAYA; VLADIMIR KURS; ANDREY SNETKOV
- Web page: https://patentgrep.com/patent/US20240005387A1

## CPC

- G06Q 30/06432: {by virtually fitting wearable articles}
- G06T 3/4038: Image mosaicing, e.g. composing plane images from plane sub-images
- G06T 5/60: using machine learning, e.g. neural networks
- G06T 5/70: Denoising; Smoothing
- G06T 5/77: Retouching; Inpainting; Scratch removal
- G06T 7/11: Region-based segmentation
- G06T 7/136: involving thresholding
- G06T 15/205: {Image-based rendering}
- G06T 19/006: {Mixed reality (object pose determination, tracking or camera calibration for mixed reality G06T7/00)}
- G06V 10/25: Determination of region of interest [ROI] or a volume of interest [VOI]
- G06V 10/26: Segmentation of patterns in the image field; Cutting or merging of image elements to establish the pattern region, e.g. clustering-based techniques; Detection of occlusion
- G06V 10/82: using neural networks
- G06V 20/20: in augmented reality scenes
- G06V 20/46: {Extracting features or characteristics from the video content, e.g. video fingerprints, representative shots or key frames}
- G06V 20/60: Type of objects
- G06V 40/162: {using pixel segmentation or colour matching}
- G06Q 30/0643: {graphically representing goods, e.g. 3D product representation}
- G06T 2200/24: involving graphical user interfaces [GUIs]
- G06T 2200/32: involving image mosaicing
- G06T 2207/10016: Video; Image sequence
- G06T 2207/20084: Artificial neural networks [ANN]
- G06T 2207/30201: Face
- G06T 2210/16: Cloth
- G06T 2215/16: Using real world measurements to influence rendering
- G06Q: INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING

## Abstract

A system includes a computing device including a processor communicatively coupled to a camera. The computing device is configured to, in response to receiving a request, capture an image via the camera and detect, within the image, a first plurality of locations of a first object. The computing device is further configured to segment the first plurality of locations of the first object by determining, for each location of the first plurality of locations, a likelihood the corresponding location includes a part of the first object. The computing device is configured to inpaint a second plurality of locations with an associated likelihood the corresponding location includes the part of the first object above a threshold value. The computing device is additionally configured to generate an augmented image by superimposing a selected second object over the image and display the augmented image on a user interface of the computing device.

## Claims

### Claim 1

A system comprising:
a computing device including at least one processor and communicatively coupled to a camera, the computing device is configured to, in response to receiving a request:
capture at least one image via the camera;
detect, within the at least one image, a first plurality of locations of a first object;
segment the first plurality of locations of the first object by determining, for each location of the first plurality of locations, a likelihood the corresponding location includes a part of the first object;
inpaint a second plurality of locations, each location of the second plurality of locations having an associated likelihood that the corresponding location includes the part of the first object above a threshold value;
generate an augmented image by superimposing a selected second object over the at least one image; and
display the augmented image on a user interface of the computing device.

### Claim 2 (depends on 1)

The system of claim 1 wherein the first plurality of locations of the first object are pixels within the at least one image.

### Claim 3 (depends on 1)

The system of claim 1, wherein the first plurality of locations includes more locations than the second plurality of locations.

### Claim 4 (depends on 1)

The system of claim 1, wherein the first plurality of locations includes fewer locations than the second plurality of locations.

### Claim 5 (depends on 1)

The system of claim 1, wherein the first plurality of locations and the second plurality of locations are the same.

### Claim 6 (depends on 1)

The system of claim 1 wherein the computing device is configured to capture a real-time video via the camera and, for a subset of a number of frames of the real-time video, inpaint the set of locations of the plurality of locations.

### Claim 7 (depends on 6)

The system of claim 6 wherein the subset of the number of frames is based, at least in part, on computational capabilities of the computing device.

### Claim 8 (depends on 1)

The system of claim 1 wherein the computing device is configured to, prior to generating the augmented image, reduce spurious noise by blending a previous image with a present image.

### Claim 9 (depends on 1)

The system of claim 1 wherein, in response to detecting an absence of the plurality of locations of the first object, the computing device is configured to skip the segmenting and inpainting steps to generate the augmented image.

### Claim 10 (depends on 1)

The system of claim 1 wherein, in response to the second plurality of locations having the associated likelihood below a bottom threshold, the computing device is configured to skip the inpainting step to generate the augmented image.

### Claim 11 (depends on 1)

The system of claim 1 further comprising a remote database configured to store a set of objects including the selected second object, wherein the computing device is configured to obtain the selected second object from the remote database.

### Claim 12 (depends on 1)

The system of claim 1 wherein the selected second object is indicated in the request.

### Claim 13 (depends on 1)

The system of claim 1 wherein the computing device is a mobile computing device.

### Claim 14 (depends on 1)

The system of claim 1 wherein the first object is a set of spectacles.

### Claim 15 (depends on 1)

The system of claim 1 wherein the part of the first object is a frame of a set of spectacles.

### Claim 16 (depends on 1)

The system of claim 1 wherein the computing device is configured to:
detect, within the at least one image, the first plurality of locations of the first object by implementing a first neural network;
segment the first plurality of locations of the first object by determining, for each location of the first plurality of locations, the likelihood the corresponding location includes the part of the first object using a second neural network; and
inpaint the second plurality of locations with the associated likelihood the corresponding location includes the part of the first object above the threshold value by implementing a third neural network.

### Claim 17

A method comprising:
in response to receiving a request, capturing, via a computing device including at least one processor and communicatively coupled to a camera, at least one image via the camera;
detecting, within the at least one image, a first plurality of locations of a first object;
segmenting the first plurality of locations of the first object by determining, for each location of the plurality of locations, a likelihood the corresponding location includes a part of the first object;
inpainting a second plurality of locations with an associated likelihood the corresponding location includes the part of the first object above a threshold value;
generating an augmented image by superimposing a selected second object over the at least one image; and
displaying the augmented image on a user interface of the computing device.

### Claim 18 (depends on 17)

The method of claim 17 wherein the detecting is performed by a first module, the segmenting is performed by a second module, and the inpainting is performed by a third module.

### Claim 19 (depends on 18)

The method of claim 18, wherein the first module is different from the second module and the third module.

### Claim 20 (depends on 18)

The method of claim 18, wherein the second module is different from the first module and the third module.

### Claim 21 (depends on 18)

The method of claim 18, wherein the third module is different from the first module and the second module.

### Claim 22 (depends on 21)

The method of claim 21, wherein the first and second modules are the same module.

### Claim 23 (depends on 18)

The method of claim 18 further comprising:
determining computational capabilities of the computing device;
capturing a real-time video including a first plurality of frames via the camera; and
inpainting the second plurality of locations in a second plurality of frames, wherein the second plurality of frames is based on the computational capabilities of the computing device.

### Claim 24 (depends on 23)

The method of claim 23 wherein the second plurality of frames is different from the first plurality of frames.

### Claim 25 (depends on 18)

The method of claim 18 further comprising, prior to generating the augmented image, blending a previous image with a present image to reduce spurious noise.

### Claim 26 (depends on 18)

The method of claim 18 further comprising, in response to detecting an absence of the plurality of locations of the first object, skipping the segmenting and inpainting steps to generate the augmented image.

### Claim 27

A non-transitory computer readable medium having instructions stored thereon, wherein the instructions, when executed by at least one processor, cause a device to perform operations comprising:
in response to receiving a request, capturing, via a computing device including the at least one processor and communicatively coupled to a camera, at least one image via the camera;
detecting, within the at least one image, a first plurality of locations of a first object;
segmenting the first plurality of locations of the first object by determining, for each location of the plurality of locations, a likelihood the corresponding location includes a part of the first object;
inpainting a second plurality of locations with an associated likelihood the corresponding location includes the part of the first object above a threshold value;
generating an augmented image by superimposing a selected second object over the at least one image; and
displaying the augmented image on a user interface of the computing device.

### Claim 28 (depends on 27)

The non-transitory computer readable medium of claim 27, wherein the detecting is performed by a first module, the segmenting is performed by a second module, and the inpainting is performed by a second module.

### Claim 29 (depends on 28)

The non-transitory computer readable medium of claim 28, wherein the operations include:
determining computational capabilities of the device;
capturing a real-time video including a first plurality of frames via the camera; and
inpainting the second plurality of locations in a second plurality of frames, wherein the second plurality of frames is based on the computational capabilities of the device.

### Claim 30 (depends on 28)

The non-transitory computer readable medium of claim 28, wherein the operations include blending a previous image with a present image to reduce spurious noise prior to generating the augmented image.
