IP Library Granted Patent US 12682683
Granted Patent B2
US 12682683 · App. 18/250,225 · Granted Jul 14, 2026

Method for preventing hand gesture misrecognition and electronic device

Inventors: Xiaomeng Liu (Shenzhen, CN); Xiaohan Chen (Shenzhen, CN); Lei Huang (Shenzhen, CN); Jie Zhao (Shenzhen, CN); Chunhui Ma (Shenzhen, CN)
Assignee: HUAWEI TECHNOLOGIES CO., LTD.
G06V40/23G06V40/172G06V40/28
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 12682683
App. No.
18/250,225
Granted
Jul 14, 2026
Kind
B2
Abstract

A method for preventing hand gesture misrecognition is provided. In the method for preventing hand gesture misrecognition, whether a user is exercising is recognized by obtaining motion data of the user in real time, to choose whether to disable a hand gesture recognition function. If the object user is exercising, the electronic device does not perform hand gesture recognition; or if the object user is not exercising, the electronic device performs hand gesture recognition. In addition, in the method, a trigger threshold for hand gesture recognition may further be adaptively adjusted based on a deflection angle between a human body plane of the user and a plane on which the electronic device is located.

Claims (51)

1 . An electronic device, comprising:

one or more processors; and

one or more memories coupled to the one or more processors and configured to store computer program code, the computer program code comprising computer instructions that, when executed by the one or more processors, cause the electronic device to perform:

detecting an object user;

collecting a first plurality of image sequences comprising the object user through a camera;

setting a state of a hand gesture recognition function to a disabled state when determining that the object user is exercising in accordance with the first plurality of image sequences and a plurality of motion clips associated with an exercise;

collecting a second plurality of image sequences comprising the object user through the camera; and

setting the state of the hand gesture recognition function to an enabled state when determining that the object user completes exercising in accordance with the second plurality of image sequences and the plurality of motion clips associated with the exercise.

2 . The electronic device of claim 1 , wherein the computer instructions, when executed by the one or more processors, further cause the electronic device to perform:

obtaining a human body plane of the object user based on the first plurality of image sequences;

calculating a deflection angle between the human body plane and a reference plane, wherein the reference plane is a plane on which the electronic device is located; and

setting a state of a hand gesture recognition function to the disabled state when the deflection angle is greater than a first threshold.

3 . The electronic device of claim 1 , wherein the computer instructions, when executed by the one or more processors, further cause the electronic device to perform:

obtaining a face feature of a user based on a plurality of images collected by the camera of the electronic device;

comparing the face feature with prestored face information;

determining that the user is the object user when the face feature matches the prestored face information.

4 . The electronic device of claim 1 , wherein the electronic device is further enabled to perform:

recognizing a motion corresponding to a user based on a plurality of images collected by the camera of the electronic device;

determining that the user is the object user when the motion matches a second preset motion.

5 . A method for preventing hand gesture misrecognition, comprising:

detecting, by an electronic device, an object user;

collecting, by the electronic device, a first plurality of image sequences comprising the object user through a camera;

setting, by the electronic device, a state of a hand gesture recognition function to a disabled state when determining that the object user is exercising in accordance with the first plurality of image sequences and a plurality of motion clips associated with an exercise;

collecting a second plurality of image sequences comprising the object user through the camera; and

setting the state of the hand gesture recognition function to an enabled state when determining that the object user completes exercising in accordance with the second plurality of image sequences and the plurality of motion clips associated with the exercise.

6 . The electronic device of claim 1 , wherein before collecting the first plurality of image sequences, the computer instructions, when executed by the one or more processors, further cause the electronic device to perform:

displaying the plurality of motion clips associated with the exercise on a display of the electronic device.

7 . The electronic device of claim 6 , wherein when the state of the hand gesture recognition function is set to the enabled state, the electronic device is further caused to perform:

detecting a hand gesture of the object user that matches a target hand gesture in accordance with a deflection angle between a human body plane of the object user and a reference plan, and a trigger threshold for hand gesture recognition, wherein the reference plane is a plane on which the electronic device is located, wherein the trigger threshold is for measuring whether the hand gesture of the object user is similar to the target hand gesture, wherein the trigger threshold is determined based on the deflection angle and is increased over an increase of the deflection angle.

8 . The method of claim 5 , the method further comprising:

obtaining, by the electronic device, a human body plane of the object user based on the first plurality of image sequences;

calculating, by the electronic device, a deflection angle between the human body plane and a reference plane, wherein the reference plane is a plane on which the electronic device is located; and

setting, by the electronic device, a state of a hand gesture recognition function to the disabled state when the deflection angle is greater than a first threshold.

9 . The method of claim 5 , wherein before collecting the first plurality of image sequences, the method further comprises:

displaying, by the electronic device, the plurality of motion clips associated with the exercise on a display of the electronic device.

10 . The method of claim 5 , wherein when the state of the hand gesture recognition function is set to the enabled state, the method further comprises:

detecting, by the electronic device, a hand gesture of the object user that matches a target hand gesture in accordance with a deflection angle between a human body plane of the object user and a reference plan, and a trigger threshold for hand gesture recognition, wherein the reference plane is a plane on which the electronic device is located, wherein the trigger threshold is for measuring whether the hand gesture of the object user is similar to the target hand gesture, wherein the trigger threshold is determined based on the deflection angle and is increased over an increase of the deflection angle.

11 . A non-transitory computer-readable medium having computer instructions that, when executed by a processor of an electronic device, cause the electronic device to execute operations comprising:

detecting an object user;

collecting a first plurality of image sequences comprising the object user through a camera;

setting a state of a hand gesture recognition function to a disabled state when determining that the object user is exercising in accordance with the first plurality of image sequences and a plurality of motion clips associated with an exercise;

collecting a second plurality of image sequences comprising the object user through the camera; and

setting the state of the hand gesture recognition function to an enabled state when determining that the object user completes exercising in accordance with the second plurality of image sequences and the plurality of motion clips associated with the exercise.

12 . The method of claim 11 , wherein the electronic device is further caused to perform:

obtaining a human body plane of the object user based on the first plurality of image sequences;

calculating a deflection angle between the human body plane and a reference plane, wherein the reference plane is a plane on which the electronic device is located; and

setting a state of a hand gesture recognition function to the disabled state when the deflection angle is greater than a first threshold.

13 . The non-transitory computer-readable medium of claim 11 , wherein before collecting the first plurality of image sequences, the computer instructions, when executed by the processor, further cause the electronic device to perform:

displaying the plurality of motion clips associated with the exercise on a display of the electronic device.

14 . The non-transitory computer-readable medium of claim 11 , wherein when the state of the hand gesture recognition function is set to the enabled state, the electronic device is further caused to perform:

detecting a hand gesture of the object user that matches a target hand gesture in accordance with a deflection angle between a human body plane of the object user and a reference plan, and a trigger threshold for hand gesture recognition, wherein the reference plane is a plane on which the electronic device is located, wherein the trigger threshold is for measuring whether the hand gesture of the object user is similar to the target hand gesture, wherein the trigger threshold is determined based on the deflection angle and is increased over an increase of the deflection angle.