# US 10,956,724 B1 · Utilizing a hybrid model to recognize fast and precise hand inputs in a virtual environment

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

- Number: US 10,956,724 B1
- Document ID: US10956724B1
- Status: Granted
- Kind: B1
- Application number: 16/566,461
- Filed: 2019-09-10
- Granted: 2021-03-23
- Earliest claimed: 2019-09-10
- Assignees: Facebook Technologies, LLC
- Applicants: Facebook Technologies, LLC
- Inventors: Mark Terrano
- Web page: https://patentgrep.com/patent/US10956724B1

## CPC

- 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/0425: {using a single imaging device like a video camera for tracking the absolute position of a single or a plurality of objects with respect to an imaged reference surface, e.g. video camera imaging a display or a projection screen, a table or a wall surface, on which a computer generated image is displayed or projected (tracking a projected light spot to determine a position on a display surface G06F3/0386)}
- G06F 3/0426: {tracking fingers with respect to a virtual keyboard projected or printed on the surface (virtual keyboards on touch screens G06F3/04886)}
- G06F 3/04847: Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
- G06F 3/04855: Interaction with scrollbars
- G06N 3/045: Combinations of networks
- G06N 3/0464: Convolutional networks [CNN, ConvNet]
- G06N 3/049: Temporal neural networks, e.g. delay elements, oscillating neurons or pulsed inputs
- G06N 3/09: Supervised learning
- G06N 20/00: Machine learning
- G06T 17/05: Geographic models
- G06T 19/006: {Mixed reality (object pose determination, tracking or camera calibration for mixed reality G06T7/00)}
- G06V 10/422: for representing the structure of the pattern or shape of an object therefor
- G06V 10/62: relating to a temporal dimension, e.g. time-based feature extraction; Pattern tracking
- G06V 10/774: Generating sets of training patterns; Bootstrap methods, e.g. bagging or boosting
- G06V 10/82: using neural networks
- G06V 40/10: Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
- G06V 40/28: {Recognition of hand or arm movements, e.g. recognition of deaf sign language (static hand signs G06V40/113)}
- G06N 3/08: Learning methods
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING

## Abstract

The present disclosure relates to systems, non-transitory computer-readable media, and methods for improving hand input detection in a virtual environment based on small and/or rapid hand inputs. For instance, a hybrid hand input detection system can utilize a hybrid hand input model that incorporates a machine-learning hand pose model with an optical flow network to recognize fine degrees of hand movement corresponding to input commands within a virtual environment. In this manner, the hybrid hand input detection system can utilize a hybrid hand input model to recognize small and rapid hand inputs in virtual reality or augmented reality without requiring a physical input device.

## Claims

### Claim 1

A computer-implemented method comprising:
determining, utilizing a machine-learning hand pose model, a pose of a hand within a first image as a first hand pose from a plurality of hand poses;
based on determining the pose of the hand as the first hand pose, utilizing the first hand pose to identify at least one segmented area to capture within a set of digital images;
applying the at least one segmented area to the first image and one or more subsequent images;
generating, utilizing an optical flow model, an optical flow vector for the at least one segmented area from the first image to the one or more subsequent images;
determining an input command based on the optical flow vector; and
executing the input command.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
presenting, via a virtual reality device, a virtual environment; and
presenting the hand within the virtual environment.

### Claim 3 (depends on 2)

The method of claim 2, further comprising presenting a virtual input device in connection with the hand within the virtual environment based on determining the pose of the hand as the first hand pose.

### Claim 4 (depends on 2)

The method of claim 2, further comprising capturing, in real-time, the first image and the one or more subsequent images utilizing a camera that is associated with the virtual reality device.

### Claim 5 (depends on 1)

The method of claim 1, wherein determining, utilizing the machine-learning hand pose model, the pose of the hand within the first image as the first hand pose comprises analyzing key points of the hand to identify the first hand pose from the plurality of hand poses.

### Claim 6 (depends on 1)

The method of claim 1, further comprising identifying, based on identifying the at least one segmented area corresponding to the first hand pose, a portion of the first image and a corresponding portion of the one or more subsequent images that encompass a last finger joint of a finger of the hand.

### Claim 7 (depends on 1)

The method of claim 1, wherein generating, utilizing the optical flow model, the optical flow vector for the at least one segmented area from the first image to the one or more subsequent images comprises generating an object mask corresponding to the at least one segmented area.

### Claim 8 (depends on 7)

The method of claim 7, wherein generating, utilizing the optical flow model, the optical flow vector for the at least one segmented area from the first image to the one or more subsequent images comprises:
applying the object mask of the at least one segmented area to the first image to obtain a first segmented image;
applying the object mask of the at least one segmented area to the one or more subsequent images to obtain one or more subsequent segmented images; and
generating a plurality of optical flow vectors indicating movement of corresponding pixels from the first segmented image to the one or more subsequent segmented images.

### Claim 9 (depends on 8)

The method of claim 8, wherein determining the input command based on the optical flow vector comprises analyzing the plurality of optical flow vectors combined into a vector map to determine the input command from a plurality of input commands.

### Claim 10 (depends on 9)

The method of claim 9, further comprising determining that the vector map indicates the input command based on the plurality of optical flow vectors of the vector map satisfying a minimum vector movement threshold.

### Claim 11

A non-transitory computer-readable medium storing instructions that, when executed by at least one processor, cause a virtual reality device to:
determine, utilizing a machine-learning hand pose model, a pose of a hand within a first image as a first hand pose from a plurality of hand poses;
based on determining the pose of the hand as the first hand pose, utilize the first hand pose to identify at least one segmented area to capture within a set of digital images;
apply the at least one segmented area to the first image and one or more subsequent images;
generate, utilizing an optical flow model, an optical flow vector for the at least one segmented area from the first image to the one or more subsequent images;
determine an input command based on the optical flow vector; and
execute the input command.

### Claim 12 (depends on 11)

The non-transitory computer-readable medium of claim 11, further comprising instructions, when executed by the at least one processor, cause the virtual reality device to:
detect a threshold amount of movement in the at least one segmented area based on the optical flow vector;
based on detecting the threshold amount of movement, determine, utilizing the machine-learning hand pose model, an updated pose of the hand within a second image as a second hand pose from the plurality of hand poses;
based on determining the updated pose of the hand as the second hand pose, identify at least one updated segmented area to capture within a set of digital images; and
apply the at least one updated segmented area to the second image and a third image.

### Claim 13 (depends on 12)

The non-transitory computer-readable medium of claim 12, wherein the instructions, when executed by the at least one processor, cause the virtual reality device to determine the input command based on the optical flow vector by determining that the optical flow vector indicates a sudden termination of movement.

### Claim 14 (depends on 12)

The non-transitory computer-readable medium of claim 12, further comprising instructions that, when executed by the at least one processor, cause the virtual reality device to:
generate, utilizing the optical flow model, an environmental optical flow vector; and
modify the optical flow vector for the at least one segmented area based on the environmental optical flow vector.

### Claim 15 (depends on 11)

The non-transitory computer-readable medium of claim 11, further comprising instructions that, when executed by the at least one processor, cause the virtual reality device to:
determine an anchor point on the hand; and
determine the optical flow vector for the at least one segmented area relative to the anchor point on the hand.

### Claim 16

A virtual reality system comprising:
at least one head-mounted display;
one or more cameras;
at least one processor that causes the virtual reality system to:
capture, utilizing the one or more cameras, a first image and one or more subsequent images;
determine, utilizing a machine-learning hand pose model, a pose of a hand within the first image as a first hand pose from a plurality of hand poses;
based on determining the pose of the hand as the first hand pose, utilize the first hand pose to identify at least one segmented area to capture within a set of digital images;
apply the at least one segmented area to the first image and the one or more subsequent images;
generate, utilizing an optical flow model, an optical flow vector for the at least one segmented area from the first image to the one or more subsequent images;
determine an input command based on the optical flow vector; and
execute the input command.

### Claim 17 (depends on 16)

The system of claim 16, wherein the at least one processor causes the virtual reality system to generate, utilizing the optical flow model, the optical flow vector for the at least one segmented area from the first image to the one or more subsequent images by generating an object mask corresponding to the at least one segmented area.

### Claim 18 (depends on 17)

The system of claim 17, wherein the at least one processor causes the virtual reality system to generate, utilizing the optical flow model, the optical flow vector for the at least one segmented area from the first image to the one or more subsequent images by:
applying the object mask of the at least one segmented area to the first image to obtain a first segmented image;
applying the object mask of the at least one segmented area to the one or more subsequent images to obtain one or more subsequent segmented images; and
generating a plurality of optical flow vectors indicating movement of corresponding pixels from the first segmented image to the one or more subsequent segmented images.

### Claim 19 (depends on 18)

The system of claim 18, wherein the at least one processor causes the virtual reality system to determine the input command based on the optical flow vector by analyzing the plurality of optical flow vectors combined into a vector map to determine the input command from a plurality of input commands.

### Claim 20 (depends on 19)

The system of claim 19, wherein the at least one processor causes the virtual reality system to determine that the vector map indicates the input command based on the plurality of optical flow vectors of the vector map satisfying a minimum vector movement threshold.
