Gesture recognition method and apparatus, electronic device, and storage medium
AssigneeSensetime International Pte. Ltd.
InventorsHaiyu Zhao, Kaige Chen, Daming Niu
Life of this patent
Estimating the term…
Abstract
Disclosed are a gesture recognition method and apparatus, an electronic device, and a storage medium. The method includes: obtaining a hand detection result by detecting a to-be-processed image; in response to the hand detection result including a bounding box of hand, determining that a hand pose in the bounding box of hand conforms to a hand pose in a target gesture; determining that the hand is located in a pre-defined area of the to-be-processed image; and determining that the hand makes the target gesture.
Claims11
A gesture recognition method, comprising:
- obtaining a hand detection result by detecting a to-be-processed image, wherein the to-be-processed image is an image obtained by capturing a target area;
- in response to the hand detection result comprising a bounding box of a hand, determining that a hand pose in the bounding box of the hand conforms to a hand pose in a target gesture;
- determining that the hand is located in a pre-defined area of the to-be-processed image, wherein the pre-defined area in the to-be-processed image comprises two set sub-areas corresponding to two sub-areas in the target area respectively;
- and
- determining that the hand in the to-be-processed image makes the target gesture,
- wherein determining that the hand is located in the pre-defined area of the to-be-processed image comprises:
- determining that center points of two bounding boxes of the hand are located in the two set sub-areas of the to-be-processed image, respectively.
An electronic device, comprising:
- a processor, and
- a memory for storing computer instructions executable by the processor,
- wherein the processor is configured to:
- obtain a hand detection result by detecting a to-be-processed image, wherein the to-be-processed image is an image obtained by capturing a target area;
- in response to the hand detection result comprising a bounding box of a hand, determine that a hand pose in the bounding box of the hand conforms to a hand pose in a target gesture;
- determine that the hand is located in a pre-defined area of the to-be-processed image, wherein the pre-defined area in the to-be-processed image comprises two set sub-areas corresponding to two sub-areas in the target area respectively;
- and
- determine that the hand in the to-be-processed image makes the target gesture,
- wherein the processor is configured to determine that the hand is located in the pre-defined area of the to-be-processed image by:
- determining that center points of two bounding boxes of the hand are located in the two set sub-areas of the to-be-processed image, respectively.
A non-transitory computer-readable storage medium storing a computer program that, when executed by a processor, cause the processor to:
- obtain a hand detection result by detecting a to-be-processed image, wherein the to-be-processed image is an image obtained by capturing a target area;
- in response to the hand detection result comprising a bounding box of a hand, determine that a hand pose in the bounding box of the hand conforms to a hand pose in a target gesture;
- determine that the hand is located in a pre-defined area of the to-be-processed image, wherein the pre-defined area in the to-be-processed image comprises two set sub-areas corresponding to two sub-areas in the target area respectively;
- and
- determine that the hand in the to-be-processed image makes the target gesture;
- wherein the computer program causes the processor to determine that the hand is located in the pre-defined area of the to-be-processed image by:
- determining that center points of two bounding boxes of the hand are located in the two set sub-areas of the to-be-processed image, respectively.
Dependencies are inferred from the claim text.