# US 2021/0174593 A1 · Systems and methods for surface detection

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

- Number: US 2021/0174593 A1
- Document ID: US20210174593A1
- Status: Published application
- Kind: A1
- Application number: 16/922,924
- Filed: 2020-07-07
- Published: 2021-06-10
- Earliest claimed: 2019-12-05
- Assignees: Facebook Technologies, LLC
- Applicants: Facebook Technologies, LLC
- Inventors: Panya Inversin; Alexander Sorkine Hornung
- Web page: https://patentgrep.com/patent/US20210174593A1

## CPC

- G06T 19/006: {Mixed reality (object pose determination, tracking or camera calibration for mixed reality G06T7/00)}
- G02B 27/0093: {with means for monitoring data relating to the user, e.g. head-tracking, eye-tracking}
- G02B 27/017: {Head mounted}
- G06F 3/011: {Arrangements for interaction with the human body, e.g. for user immersion in virtual reality (blind teaching G09B21/00)}
- G06F 3/017: {Gesture based interaction, e.g. based on a set of recognized hand gestures (interaction based on gestures traced on a digitiser G06F3/04883)}
- G06F 3/0346: with detection of the device orientation or free movement in a three-dimensional [3D] space, e.g. 3D mice, 6-DOF [six degrees of freedom] pointers using gyroscopes, accelerometers or tilt-sensors
- G06F 3/04815: Interaction with a metaphor-based environment or interaction object displayed as three-dimensional [3D], e.g. changing the user viewpoint with respect to the environment or object
- G06T 11/40: Filling planar surfaces by adding surface attributes, e.g. adding colours or textures
- G06T 19/20: Editing of three-dimensional [3D] images, e.g. changing shapes or colours, aligning objects or positioning parts
- G06T 15/005: {General purpose rendering architectures}
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G02B: OPTICAL ELEMENTS, SYSTEMS OR APPARATUS
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

In one embodiment, a method includes: tracking first positions of a controller in a three-dimensional space; determining a plurality of planes based on the first positions; determining that the plurality of planes are within a threshold deviation of each other; generating a virtual plane based on the plurality of planes; tracking second positions of the controller in the three-dimensional space; identifying one or more of the second positions that are within a threshold distance of the virtual plane; generating a drawing in the virtual plane based on the one or more of the second positions; and rendering a scene depicting the drawing.

## Claims

### Claim 1

A method comprising, by a computing system:
tracking first positions of a controller in a three-dimensional space;
determining a plurality of planes based on the first positions;
determining that the plurality of planes are within a threshold deviation of each other;
generating a virtual plane based on the plurality of planes;
tracking second positions of the controller in the three-dimensional space;
identifying one or more of the second positions that are within a threshold distance of the virtual plane;
generating a drawing in the virtual plane based on the one or more of the second positions; and
rendering a scene depicting the drawing.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
tracking third positions of the controller in the three-dimensional space;
determining one or more additional planes based on the third positions; and
adjusting an orientation of the virtual plane based on the one or more additional planes.

### Claim 3 (depends on 1)

The method of claim 1, further comprising:
splitting a predetermined period of time during which the first positions are tracked into three or more time segments;
wherein each of the plurality of planes is determined based on three or more of the first positions that are respectively associated with the three or more time segments.

### Claim 4 (depends on 1)

The method of claim 1, further comprising:
determining a plurality of normal vectors of the plurality of planes;
wherein the determination that the plurality of planes are within the threshold deviation is based on the plurality of normal vectors of the plurality of planes.

### Claim 5 (depends on 4)

The method of claim 4, further comprising:
determining, based on the plurality of normal vectors, a normal vector for generating the virtual plane;
wherein the virtual plane is generated based on the normal vector.

### Claim 6 (depends on 1)

The method of claim 1, wherein the controller is moving along a physical surface when the first positions are tracked, wherein the virtual plane is substantially coplanar with the physical surface.

### Claim 7 (depends on 1)

The method of claim 1, further comprising:
resetting the virtual plane in response to an instruction from a user;
tracking third positions of the controller in the three-dimensional space; and
generating a new virtual plane using the third positions.

### Claim 8

A system comprising:
one or more processors; and
one or more computer-readable non-transitory storage media coupled to one or more of the processors and comprising instructions operable when executed by one or more of the processors to cause the system to:
track first positions of a controller in a three-dimensional space;
determine a plurality of planes based on the first positions;
determine that the plurality of planes are within a threshold deviation of each other;
generate a virtual plane based on the plurality of planes;
track second positions of the controller in the three-dimensional space;
identify one or more of the second positions that are within a threshold distance of the virtual plane;
generate a drawing in the virtual plane based on the one or more of the second positions; and
render a scene depicting the drawing.

### Claim 9 (depends on 8)

The system of claim 8, wherein the one or more processors are further operable when executing the instructions to:
track third positions of the controller in the three-dimensional space;
determine one or more additional planes based on the third positions; and
adjust an orientation of the virtual plane based on the one or more additional planes.

### Claim 10 (depends on 8)

The system of claim 8, wherein the one or more processors are further operable when executing the instructions to:
split a predetermined period of time during which the first positions are tracked into three or more time segments;
wherein each of the plurality of planes is determined based on three or more of the first positions that are respectively associated with the three or more time segments.

### Claim 11 (depends on 8)

The system of claim 8, wherein the one or more processors are further operable when executing the instructions to:
determine a plurality of normal vectors of the plurality of planes;
wherein the determination that the plurality of planes are within the threshold deviation is based on the plurality of normal vectors of the plurality of planes.

### Claim 12 (depends on 11)

The system of claim 11, wherein the one or more processors are further operable when executing the instructions to:
determine, based on the plurality of normal vectors, a normal vector for generating the virtual plane;
wherein the virtual plane is generated based on the normal vector.

### Claim 13 (depends on 8)

The system of claim 8, wherein the controller is moving along a physical surface when the first positions are tracked, wherein the virtual plane is substantially coplanar with the physical surface.

### Claim 14 (depends on 8)

The system of claim 8, wherein the one or more processors are further operable when executing the instructions to:
reset the virtual plane in response to an instruction from a user;
track third positions of the controller in the three-dimensional space; and
generate a new virtual plane using the third positions.

### Claim 15

One or more computer-readable non-transitory storage media embodying software that is operable when executed to:
track first positions of a controller in a three-dimensional space;
determine a plurality of planes based on the first positions;
determine that the plurality of planes are within a threshold deviation of each other;
generate a virtual plane based on the plurality of planes;
track second positions of the controller in the three-dimensional space;
identify one or more of the second positions that are within a threshold distance of the virtual plane;
generate a drawing in the virtual plane based on the one or more of the second positions; and
render a scene depicting the drawing.

### Claim 16 (depends on 15)

The one or more computer-readable non-transitory storage media of claim 15, wherein the software is further operable when executed to:
track third positions of the controller in the three-dimensional space;
determine one or more additional planes based on the third positions; and
adjust an orientation of the virtual plane based on the one or more additional planes.

### Claim 17 (depends on 15)

The one or more computer-readable non-transitory storage media of claim 15, wherein the software is further operable when executed to:
split a predetermined period of time during which the first positions are tracked into three or more time segments;
wherein each of the plurality of planes is determined based on three or more of the first positions that are respectively associated with the three or more time segments.

### Claim 18 (depends on 15)

The one or more computer-readable non-transitory storage media of claim 15, wherein the software is further operable when executed to:
determine a plurality of normal vectors of the plurality of planes;
wherein the determination that the plurality of planes are within the threshold deviation is based on the plurality of normal vectors of the plurality of planes.

### Claim 19 (depends on 18)

The one or more computer-readable non-transitory storage media of claim 18, wherein the software is further operable when executed to:
determine, based on the plurality of normal vectors, a normal vector for generating the virtual plane;
wherein the virtual plane is generated based on the normal vector.

### Claim 20 (depends on 15)

The one or more computer-readable non-transitory storage media of claim 15, wherein the software is further operable when executed to:
reset the virtual plane in response to an instruction from a user;
track third positions of the controller in the three-dimensional space; and
generate a new virtual plane using the third positions.
