CPC G06F 3/013 (2013.01) [G02B 27/0093 (2013.01); G02B 27/017 (2013.01); G02B 27/0179 (2013.01); G06T 15/06 (2013.01); G06T 19/006 (2013.01); G06V 20/20 (2022.01); G06V 40/19 (2022.01); G02B 2027/0178 (2013.01); G02B 2027/0185 (2013.01); G02B 2027/0187 (2013.01)] | 20 Claims |
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;
identifying a surface corresponding to a ground plane in the field of view, wherein identifying the surface corresponding to the ground plane is based on a surface detection process, and 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 include 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;
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.
|