# US 2021/0142566 A1 · Method allowing an individual to realistically try on a pair of spectacles virtually

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

- Number: US 2021/0142566 A1
- Document ID: US20210142566A1
- Status: Published application
- Kind: A1
- Application number: 16/617,362
- Filed: 2018-05-30
- Published: 2021-05-13
- Earliest claimed: 2017-05-30
- Assignees: Fittingbox
- Applicants: Fittingbox
- Inventors: Christophe DEHAIS; Ariel CHOUKROUN
- Web page: https://patentgrep.com/patent/US20210142566A1

## CPC

- G06T 19/006: {Mixed reality (object pose determination, tracking or camera calibration for mixed reality G06T7/00)}
- G06F 3/011: {Arrangements for interaction with the human body, e.g. for user immersion in virtual reality (blind teaching G09B21/00)}
- G06T 15/20: Perspective computation
- G06T 19/20: Editing of three-dimensional [3D] images, e.g. changing shapes or colours, aligning objects or positioning parts
- G06T 2215/00: Indexing scheme for image rendering
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method for generating a final image of an individual from an initial image of the individual acquired by a camera, the image being a still or contained in a video stream. The method includes detecting the face of the individual in the initial image, realistic positioning of a virtual frame on the face of the individual, generating an overlay that is superimposed on the initial image, the overlay comprising a projection of all or a portion of the virtual frame, generating the final image by merging the overlay with the initial image. The frame includes at least one ophthalmic lens characterized by an optical correction and/or an optical treatment. The method also includes, before the final step, a step of calculating the rendering of the ophthalmic lens according to the refraction of the ophthalmic lens and of a depth map of the initial image.

## Claims

### Claim 1

Method for generating a final image of an individual from an initial image of the individual acquired by a real camera, the image being a still or contained in a video stream, recorded or in real time, said method comprising steps of:
a) detecting the face of the individual in the initial image;
b) realistically positioning a virtual frame on the face of the individual detected in the initial image, the frame comprising at least one ophthalmic lens characterized by an optical correction and/or an optical treatment;
c) calculating a representation of the scene perceived from the virtual camera through the ophthalmic lens or lenses according to the refraction of the ophthalmic lens or lenses and of a depth map of the initial image;
d) generating an overlay that is superimposed on the initial image, the overlay comprising a representation of the scene calculated in the step c);
e) generating the final image by merging the overlay generated in step d) with the initial image.

### Claim 2 (depends on 1)

Method according to claim 1, wherein the realistic positioning of a virtual frame on the face of the individual comprises the following sub-steps:
determining real parameters of the positioning and orientation of the face of the individual with respect to the real camera;
representing in a virtual space of the face of the individual by a virtual model generated beforehand, the virtual model, called an avatar, being positioned and oriented with respect to a virtual camera thanks to the real parameters determined beforehand, with the virtual camera representing the real camera in the virtual space;
realistic positioning of the virtual frame on the face of the avatar; and
wherein the depth map combines the initial image with a depth map calculated from positioning parameters of the avatar.

### Claim 3 (depends on 1)

Method according to claim 1, wherein the calculating of the representation of the scene also comprises sub-steps of:
calculating the rendering of the reflection of the lenses;
calculating the rendering according to the transparency of the lenses.

### Claim 4 (depends on 1)

Method according to claim 1, wherein the overlay also comprises a projection of all or a part of the virtual frame.

### Claim 5 (depends on 1)

Method according to claim 1, wherein the ophthalmic lens is represented by a three-dimensional model that has two opposite curved surfaces, spaced and configured according to the optical correction.

### Claim 6 (depends on 1)

Method according to claim 1, wherein the lens is represented locally by a prism formed by two flat diopters.

### Claim 7 (depends on 1)

Method according to claim 1, wherein the step of calculating the rendering of the ophthalmic lens implements a method of ray tracing and/or a method of rasterization.

### Claim 8 (depends on 1)

Method according to claim 1, wherein the surface of the ophthalmic lens is associated with reflectance and refraction parameters.

### Claim 9 (depends on 1)

Method according to claim 1, wherein the material of the ophthalmic lens is associated with at least one absorption coefficient according to the wavelength.

### Claim 10 (depends on 9)

Method according to claim 9, wherein the material of the ophthalmic lens is associated with three absorption coefficients according to the translucency of the lens.

### Claim 11 (depends on 1)

Method according to claim 1, wherein the optical treatment is included in the list:
anti-reflective treatment;
iridescence; and
photochromic treatment.

### Claim 12 (depends on 1)

Method according to claim 1, wherein the ophthalmic lens comprises the optical correction adapted to the eyesight of the individual.

### Claim 13 (depends on 12)

Method according to claim 12, wherein the form of the three-dimensional model of the lens is representative of the machining associated with the optical correction and of a material used

### Claim 14 (depends on 13)

Method according to claim 13, also comprising a step of determining the centering parameter of the basic wafer in which the lens is machined.

### Claim 15 (depends on 1)

Method according to claim 1, wherein the initial image is an image of an individual who is wearing a real pair of spectacles, with the individual having indicated the optical correction of each lens assembled in said pair of spectacles, the calculation of the refraction that makes it possible to obtain a representation of the scene perceived by the camera through the lenses without optical deformation or with another optical correction.

### Claim 16 (depends on 1)

Method for augmented reality used by an individual, comprising steps of:
acquiring a video stream of the individual positioned facing a camera and displaying of this video stream on a screen, with the video stream being processed by the method for determining a final image according to claim 1, the video stream displaying the individual wearing on their face either a real frame worn by the individual or a virtual frame chosen beforehand;
modification by the individual of one optical characteristic of at least one ophthalmic lens and updating in real time of the representation of the scene through one or several ophthalmic lenses, with the optical characteristic being included in the list:
correction of the sign of the individual;
centering parameters of the correction; and
type of lens used.

### Claim 17 (depends on 14)

Method for manufacturing a lens implementing the steps of the method for generating a final image according to claim 14, wherein the machining parameters for the wafer used as a basis for the lens are established from the centering parameter determined beforehand.
