# US 2021/0232232 A1 · Gesture-based manipulation method and terminal device

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

- Number: US 2021/0232232 A1
- Document ID: US20210232232A1
- Status: Published application
- Kind: A1
- Application number: 17/230,067
- Filed: 2021-04-14
- Published: 2021-07-29
- Earliest claimed: 2018-10-15
- Assignees: Huawei Technologies Co., Ltd.
- Applicants: Huawei Technologies Co., Ltd.
- Inventors: Xingyu WANG; Lei ZHAO; Hang WU; Qilong ZHANG
- Web page: https://patentgrep.com/patent/US20210232232A1

## CPC

- 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)}
- G06T 7/75: {involving models}
- G06F 3/011: {Arrangements for interaction with the human body, e.g. for user immersion in virtual reality (blind teaching G09B21/00)}
- G06F 3/016: {Input arrangements with force or tactile feedback as computer generated output to the user}
- G06T 7/11: Region-based segmentation
- G06T 7/73: using feature-based methods
- G06V 20/20: in augmented reality scenes
- G06V 40/113: {Recognition of static hand signs}
- G06V 40/28: {Recognition of hand or arm movements, e.g. recognition of deaf sign language (static hand signs G06V40/113)}
- G06T 2207/10024: Color image
- G06T 2207/10028: Range image; Depth image; 3D point clouds
- G06T 2207/30196: Human being; Person
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING

## Abstract

This application discloses a gesture-based manipulation method and a terminal device. The method includes: displaying a target picture, where the target picture includes a virtual object to be manipulated by using a detected gesture or a detected hand action; obtaining F sets of hand images; recognizing locations of hand knuckles on hands in the F sets of hand images based on the F sets of hand images, to obtain spatial locations of F groups of hand knuckles, where spatial locations of any group of hand knuckles are spatial locations of hand knuckles on a hand in a set of hand images, and F is an integer greater than 0; and performing, based on the spatial locations of the F groups of hand knuckles, a control operation corresponding to the spatial locations of the F groups of hand knuckles.

## Claims

### Claim 1

A gesture-based manipulation method, comprising:
displaying a target picture having a virtual object to be manipulated by using a detected gesture or a detected hand action;
obtaining F sets of hand images;
recognizing locations of hand knuckles on hands in the F sets of hand images based on the F sets of hand images, to obtain spatial locations of F groups of hand knuckles, wherein spatial locations of any group of hand knuckles are spatial locations of hand knuckles on a hand in a set of hand images, and F is an integer greater than 0; and
performing, based on the spatial locations of the F groups of hand knuckles, a control operation corresponding to the spatial locations of the F groups of hand knuckles to adjust at least one of a location or a form of the virtual object in the target picture.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the performing a control operation corresponding to the spatial locations of the F groups of hand knuckles comprises:
determining M gesture types based on the spatial locations of the F groups of hand knuckles, wherein M is less than or equal to F, and M is a positive integer; and
performing the control operation corresponding to the M gesture types.

### Claim 3 (depends on 2)

The method according to claim 2, wherein the determining M gesture types corresponding to the spatial locations of the F groups of hand knuckles comprises:
calculating angles between hand knuckles in a group of hand knuckles in the F groups of hand knuckles based on spatial locations of the group of hand knuckles; and
determining, based on the angles between the hand knuckles, a gesture type corresponding to the spatial locations of the group of hand knuckles.

### Claim 4 (depends on 2)

The method according to claim 2, wherein the determining M gesture types corresponding to the spatial locations of the F groups of hand knuckles comprises:
determining at least two gesture types corresponding to the spatial locations of the F groups of hand knuckles, wherein F is greater than 1; and
the performing the control operation corresponding to the M gesture types comprises:
performing, based on a gesture type change in the at least two gesture types, the control operation corresponding to the at least two gesture types.

### Claim 5 (depends on 1)

The method according to claim 1, wherein the performing a control operation corresponding to the spatial locations of the F groups of hand knuckles comprises:
determining, based on the spatial locations of the F groups of hand knuckles, M gesture types corresponding to the spatial locations of the F groups of hand knuckles, wherein F is greater than 1, and M is less than or equal to F; and
performing the control operation based on the spatial locations of the F groups of hand knuckles and the M gesture types.

### Claim 6 (depends on 5)

The method according to claim 5, wherein the performing the control operation based on the spatial locations of the F groups of hand knuckles and the M gesture types comprises:
determining a spatial location change in hand knuckles between hand knuckle groups based on the spatial locations of the F groups of hand knuckles; and performing the control operation based on the M gesture types and the spatial location change or
based on a gesture type change in the M gesture types and the spatial location change; or
performing the control operation based on a gesture type change in the M gesture types and the spatial locations of the F groups of hand knuckles.

### Claim 7 (depends on 1)

The method according to claim 1, wherein the performing a control operation corresponding to the spatial locations of the F groups of hand knuckles comprises:
determining a spatial location change in hand knuckles between hand knuckle groups based on the spatial locations of the F groups of hand knuckles, wherein F is greater than 1; and
performing the control operation based on the spatial location change.

### Claim 8 (depends on 1)

The method according to claim 1, wherein the method further comprises:
when a quantity of hand knuckles in each of K sets of hand images is less than a quantity threshold, notifying that a gesture operation goes beyond a manipulation range, wherein the K sets of hand images are comprised in the F sets of hand images, K is less than or equal to F, and K is a positive integer.

### Claim 9 (depends on 1)

The method according to claim 1, wherein the recognizing locations of hand knuckles in the F sets of hand images based on the F sets of hand images, to obtain spatial locations of F groups of hand knuckles comprises:
detecting, based on at least one of a color image or a depth image that are comprised in any set of hand images in the F sets of hand images, a location area in which a hand in the any set of hand images is located; and
recognizing locations of hand knuckles on the hand in the location area based on at least one of the color image and the depth image.

### Claim 10 (depends on 9)

The method according to claim 9, wherein the detecting a location area in which a hand in the any set of hand images is located comprises:
detecting, based on a color image comprised in a target set of hand images, a first location area in which a hand in the color image comprised in the target set of hand images is located, wherein the target set of hand images is any set of images in the F sets of hand images; and
the recognizing locations of hand knuckles on the hand in the location area based on at least one of the color image and the depth image comprises:
recognizing, based on a depth image comprised in the target set of hand images, locations of hand knuckles on a hand in a second location area in the depth image, to obtain spatial locations of a group of hand knuckles corresponding to the target set of hand images, wherein the second location area is an area in the depth image corresponding to the first location area, and the depth image and the color image are images obtained by synchronously photographing a same scene.

### Claim 11 (depends on 9)

The method according to claim 9, wherein the detecting a location area in which a hand in the any set of hand images is located comprises:
detecting, based on a color image comprised in a target set of hand images, a first location area in which a hand in the color image is located, wherein the target set of hand images is any set of images in the F sets of hand images; and
the recognizing locations of hand knuckles on the hand in the location area based on at least one of the color image and the depth image comprises:
recognizing locations of hand knuckles on the hand in the first location area based on the color image to obtain spatial locations of a first group of hand knuckles;
recognizing, based on a depth image comprised in the target set of hand images, locations of hand knuckles on a hand in a second location area in the depth image, to obtain spatial locations of a second group of hand knuckles, wherein the second location area is in the depth image corresponding to the first location area, and the depth image and the color image are images obtained by synchronously photographing a same scene; and
merging the spatial locations of the first group of hand knuckles and the second group of hand knuckles to obtain spatial locations of a group of hand knuckles corresponding to the target set of hand images.

### Claim 12 (depends on 10)

The method according to claim 10, wherein before recognizing the hand knuckles in the F sets of hand images to obtain spatial locations of F groups of hand knuckles, the method further comprises:
synchronously photographing the same scene using a color sensor and a depth sensor to obtain an original color image and an original depth image;
spatially aligning the original color image and the original depth image; and
separately performing hand segmentation on the aligned original color image and original depth image to obtain the target set of hand images.

### Claim 13

A terminal device, comprising:
a display unit configured to display a target picture having a virtual object to be manipulated using a detected gesture or a detected hand action;
an obtaining unit configured to obtain F sets of hand images;
a recognition unit configured to recognize locations of hand knuckles on hands in the F sets of hand images based on the F sets of hand images to obtain spatial locations of F groups of hand knuckles, wherein spatial locations of any group of hand knuckles are spatial locations of hand knuckles on a hand in a set of hand images, and F is an integer greater than 0; and
a processing unit configured to perform, based on the spatial locations of the F groups of hand knuckles, a control operation corresponding to the spatial locations of the F groups of hand knuckles to adjust at least one of a location or a form of the virtual object in the target picture.

### Claim 14 (depends on 13)

The terminal device according to claim 13, wherein the processing unit is configured to:
determine at least one gesture corresponding to the spatial locations of the F groups of knuckles; and
perform the control operation corresponding to the at least one gesture.

### Claim 15 (depends on 14)

The terminal device according to claim 14, wherein the processing unit is configured to:
calculate angles between hand knuckles in one group of hand knuckles in the F groups of hand knuckles based on spatial locations of the group of hand knuckles; and
determine, based on the angles between the hand knuckles, a gesture type corresponding to the spatial locations of the group of hand knuckles.

### Claim 16 (depends on 14)

The terminal device according to claim 14, wherein the processing unit is configured to:
determine at least two gesture types corresponding to the spatial locations of the F groups of hand knuckles, wherein F is greater than 1; and
perform, based on a gesture type change in the at least two gesture types, the control operation corresponding to the at least two gesture types.

### Claim 17 (depends on 13)

The terminal device according to claim 13, wherein the processing unit is configured to:
determine, based on the spatial locations of the F groups of hand knuckles, M gesture types corresponding to the spatial locations of the F groups of hand knuckles, wherein F is greater than 1, and M is less than or equal to F; and
perform the control operation based on the spatial locations of the F groups of hand knuckles and the M gesture types.

### Claim 18 (depends on 17)

The terminal device according to claim 17, wherein the processing unit is configured to:
determine a spatial location change in hand knuckles between hand knuckle groups based on the spatial locations of the F groups of hand knuckles; and perform the control operation based on the M gesture types and the spatial location change or
based on a gesture type change in the M gesture types and the spatial location change; or
perform the control operation based on a gesture type change in the M gesture types and the spatial locations of the F groups of hand knuckles.

### Claim 19 (depends on 13)

The terminal device according to claim 13, wherein the processing unit is configured to:
determine a spatial location change in hand knuckles between hand knuckle groups based on the spatial locations of the F groups of hand knuckles, wherein F is greater than 1; and
perform the control operation based on the spatial location change.

### Claim 20

A non-transitory computer-readable storage medium having instructions stored therein, and which when executed by a processor, cause the processor perform a method, the method comprising:
displaying a target picture having a virtual object to be manipulated by using a detected gesture or a detected hand action;
obtaining F sets of hand images;
recognizing locations of hand knuckles on hands in the F sets of hand images based on the F sets of hand images, to obtain spatial locations of F groups of hand knuckles, wherein spatial locations of any group of hand knuckles are spatial locations of hand knuckles on a hand in a set of hand images, and F is an integer greater than 0; and
performing, based on the spatial locations of the F groups of hand knuckles, a control operation corresponding to the spatial locations of the F groups of hand knuckles to adjust at least one of a location or a form of the virtual object in the target picture.
