IP Library Granted Patent US 11,630,511
Granted Patent B2
US 11,630,511 · App. 17/563,707 · Granted Apr 18, 2023

Determining gaze direction to generate augmented reality content

Inventor: Kyle Goodrich (Venice, CA)
Assignee: Snap Inc.
G06F3/013G02B27/0093G02B27/017G02B27/0179G06T15/06G06T19/006G06V20/20G06V40/19G02B2027/0178G02B2027/0185G02B2027/0187
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,630,511
App. No.
17/563,707
Granted
Apr 18, 2023
Kind
B2
Abstract

The subject technology determines a gaze direction in a field of view of a user using an eyewear device. The subject technology generates an anchor point in the field of view based at least in part on the determined gaze direction. The subject technology identifies a surface corresponding to a ground plane in the field of view. The subject technology determines a distance from the identified surface to the anchor point. The subject technology generates AR content based at least in part on the determined distance. The subject technology renders the generated AR content in the field of view for display by the eyewear device.

Claims (71)

1. A method, comprising:

determining a gaze direction in a field of view of a user using an eyewear device;

generating an anchor point in the field of view based at least in part on the determined gaze direction, wherein generating the anchor point comprises:

performing a ray casting operation, based at least in part on the gaze direction, to select a point in the field of view, the point corresponding to the anchor point, the ray casting operation comprising:

determining a location of a pupil or iris of the user;

projecting a ray, from the location of the pupil or iris, in a direction toward the field of view, the field of view comprising a set of pixels;

determining at least one pixel from the field of view that intersects the ray; and

selecting the at least one pixel as the anchor point;

identifying a surface corresponding to a ground plane in the field of view;

determining a distance from the identified surface to the anchor point;

generating augmented reality content based at least in part on the determined distance; and

rendering the generated augmented reality content in the field of view for display by the eyewear device.

2. The method of claim 1 , wherein determining the gaze direction is based on a head orientation and a relative position of a pupil or iris of the user using the eyewear device.

3. The method of claim 1 , wherein identifying the surface corresponding to the ground plane is based on a surface detection process.

4. The method of claim 3 , wherein the surface detection process comprises:

generating a point cloud based on the field of view, the point cloud comprising a set of feature points, each feature point includes a set of respective x, y, and z coordinates in a three-dimensional space; and

performing hit testing on the point cloud to determine a first surface plane in the field of view, the hit testing determining an intersection of at least one feature point corresponding to the first surface plane below a median feature point in the point cloud.

5. The method of claim 4 , wherein performing hit testing comprises:

generating a three-dimensional line that includes a starting position corresponding to a position of a pupil or iris of the user and extends from the gaze direction to the one feature point corresponding to the first surface plane in the field of view.

6. The method of claim 1 , wherein determining the distance from the identified surface to the anchor point comprises:

generating a second anchor point within the identified surface;

determining a first distance between the second anchor point and the anchor point in the field of view, the second anchor point being at a position below relative to the anchor point; and

selecting a particular position along the first distance between the second anchor point and the anchor point.

7. The method of claim 6 , wherein rendering the generated augmented reality content in the field of view for display by the eyewear device comprises:

generating a first three-dimensional object;

rendering the first three-dimensional object at the particular position;

generating a second three-dimensional object; and

rendering the second three-dimensional object at a second position above or below the first three-dimensional object.

8. The method of claim 7 , wherein the first three-dimensional object is different type of object than the second three-dimensional object, or the first three-dimensional object is a same type of object as the second three-dimensional object.

9. A system comprising:

a processor; and

a memory including instructions that, when executed by the processor, cause the processor to perform operations comprising:

determining a gaze direction in a field of view of a user using an eyewear device;

generating an anchor point in the field of view based at least in part on the determined gaze direction, wherein generating the anchor point comprises:

performing a ray casting operation, based at least in part on the gaze direction, to select a point in the field of view, the point corresponding to the anchor point, the ray casting operation comprising:

determining a location of a pupil or iris of the user;

projecting a ray, from the location of the pupil or iris, in a direction toward the field of view, the field of view comprising a set of pixels;

determining at least one pixel from the field of view that intersects the ray; and

selecting the at least one pixel as the anchor point;

identifying a surface corresponding to a ground plane in the field of view;

determining a distance from the identified surface to the anchor point;

generating augmented reality content based at least in part on the determined distance; and

rendering the generated augmented reality content in the field of view for display by the eyewear device.

10. The system of claim 9 , wherein determining the gaze direction is based on a head orientation and a relative position of a pupil or iris of the user using the eyewear device.

11. The system of claim 9 , wherein identifying the surface corresponding to the ground plane is based on a surface detection process.

12. The system of claim 11 , wherein the surface detection process comprises:

generating a point cloud based on the field of view, the point cloud comprising a set of feature points, each feature point includes a set of respective x, y, and z coordinates in a three-dimensional space; and

performing hit testing on the point cloud to determine a first surface plane in the field of view, the hit testing determining an intersection of at least one feature point corresponding to the first surface plane below a median feature point in the point cloud.

13. The system of claim 12 , wherein performing hit testing comprises:

generating a three-dimensional line that includes a starting position corresponding to a position of a pupil or iris of the user and extends from the gaze direction to the one feature point corresponding to the first surface plane in the field of view.

14. The system of claim 9 , wherein determining the distance from the identified surface to the anchor point comprises:

generating a second anchor point within the identified surface;

determining a first distance between the second anchor point and the anchor point in the field of view, the second anchor point being at a position below relative to the anchor point; and

selecting a particular position along the first distance between the second anchor point and the anchor point.

15. The system of claim 14 , wherein rendering the generated augmented reality content in the field of view for display by the eyewear device comprises:

generating a first three-dimensional object;

rendering the first three-dimensional object at the particular position;

generating a second three-dimensional object; and

rendering the second three-dimensional object at a second position above or below the first three-dimensional object.

16. A non-transitory computer-readable medium comprising instructions, which when executed by a computing device, cause the computing device to perform operations comprising:

determining a gaze direction in a field of view of a user using an eyewear device;

generating an anchor point in the field of view based at least in part on the determined gaze direction, wherein generating the anchor point comprises:

performing a ray casting operation, based at least in part on the gaze direction, to select a point in the field of view, the point corresponding to the anchor point, the ray casting operation comprising:

determining a location of a pupil or iris of the user;

projecting a ray, from the location of the pupil or iris, in a direction toward the field of view, the field of view comprising a set of pixels;

determining at least one pixel from the field of view that intersects the ray; and

selecting the at least one pixel as the anchor point;

identifying a surface corresponding to a ground plane in the field of view;

determining a distance from the identified surface to the anchor point;

generating augmented reality content based at least in part on the determined distance; and

rendering the generated augmented reality content in the field of view for display by the eyewear device.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jan 28, 2022
From: GOODRICH, KYLE
To: SNAP INC.
Reel/Frame 058805/0152 →
Continuity (2)
Provisional Application 63133143 · Dec 31, 2020
Related Publication 20220206572A1 · Jun 30, 2022
Cited By (1)
US 12,282,597