3D hand pose estimation method based on global topology structure information learning
By combining the HRNet network with explicit and implicit topologies, the self-occlusion and depth blur problems in 3D hand pose estimation in monocular RGB images are solved, improving the robustness and accuracy of the model, adapting to different scale changes, and achieving fast 3D hand pose estimation.
Patent Information
- Application Number
- CN202311428269.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-31
- Publication Date
- 2026-11-27
- Estimated Expiration
- 2043-10-31
AI Technical Summary
Existing 3D hand pose estimation methods suffer from self-occlusion and depth blur issues in monocular RGB images, and their model complexity and accuracy are insufficient, especially their robustness on test sets needs to be improved.
We employ the HRNet network combined with a context-aware attention module to capture high-level semantic features, constructing a network with explicit and implicit topological structures. Through multi-stage training and various loss function constraints, we learn global topological information, thereby improving robustness and accuracy.
It improves the accuracy and robustness of 3D hand pose estimation, reduces computational complexity, adapts to image changes at different scales, and enables fast inference in real-time scenarios.
Smart Images

Figure CN117423164B_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of computer vision and artificial intelligence technology, specifically relating to a 3D hand pose estimation method based on global topological structure information learning. Background Technology
[0002] 3D hand pose estimation is an important research topic in computer vision and human-computer interaction. Its goal is to infer the three-dimensional pose of the hand, i.e., the three-dimensional position and orientation of each joint of the hand, from an input image or video. This technology plays a crucial role in many applications, including virtual reality, augmented reality, gesture recognition, human-computer interaction, and medical rehabilitation.
[0003] However, 3D hand pose estimation faces many challenges. First, due to the high degree of freedom of the hand (21 joints per hand), the pose space is complex, and possible pose variations are diverse. Second, recovering 3D information from 2D images is a difficult task due to factors such as occlusion, lighting variations, and image noise. Furthermore, differences in hand size, shape, and color among individuals further complicate the problem. Meanwhile, to meet the requirements of ease of dissemination and deployment, researchers have focused on estimating 3D hand pose from monocular RGB images. Due to device limitations, 3D hand pose estimation based on monocular RGB images suffers more severely from self-occlusion and depth blur problems. Therefore, researchers involved in 3D hand pose estimation based on monocular RGB images utilize skeletal physical constraints and kinematic chains of the hand structure to assist in constructing 3D hand poses, and then employ graph convolutional networks (GCNs) capable of constructing hand topology structures to build these structures.
[0004] For example, the Bihand model employs a three-stage network model to estimate 3D hand pose: SeedNet, which obtains 2D heatmaps and contour maps from monocular RGB images; LiftNet, which upscales the 2D heatmaps and contour maps to 3D heatmaps and depth maps; and SIKNet, which estimates the 3D hand pose and kinematic chain from the 3D heatmap. Estimating the 3D heatmap first serves as an interim stage, reducing the difficulty of directly estimating the 3D pose. Simultaneously, inverse kinematic constraints are used in the loss function to constrain the estimated 3D hand pose. Subsequently, SemGCN and HGCN models construct the physical topology of the skeleton, fusing feature information from first-order and higher-order neighbors, respectively.
[0005] While the aforementioned studies have all achieved excellent results in their respective fields, they either have complex network models or only consider topological structures that conform to the physical structure of the skeleton. This has a negative impact on the accuracy of the models on the test set, and the robustness of the estimated 3D poses needs to be improved. Summary of the Invention
[0006] To address the aforementioned problems in existing technologies, this invention proposes a 3D hand pose estimation method based on global topological structure information learning. By fusing feature information from higher-order neighbors based on the constructed explicit and implicit topological structures, the robustness of joint feature representation is improved, thereby enhancing the robustness of the model and obtaining robust 3D hand poses.
[0007] To achieve the above objectives, the technical solution of the present invention is as follows:
[0008] A 3D hand pose estimation method based on global topological information learning includes the following steps:
[0009] Step 1: Use the HRNet improved by this invention as the 2D pose backbone network of this model. The 2D pose backbone network uses the proposed context-aware attention module to capture rich and high-level semantic feature information, and finally obtain the 2D feature map f and the 2D heat map h.
[0010] Step 2: Input the estimated 2D heat map and the real 2D heat map into the loss function, and use the mean squared error loss function for training;
[0011] Step 3: Load the model parameters of the 2D pose backbone network from Step 2, input the monocular RGB image into the 2D pose backbone network to estimate the 2D feature map and accurate 2D heat map, process the obtained 2D feature map and 2D heat map using network structures that can construct explicit and implicit topologies respectively, concatenate the obtained feature representations, and input them into the 3D hand pose estimation model constructed by the last explicit and implicit topology to obtain the final 3D hand pose.
[0012] Step 4: Input the obtained 3D hand pose and the real 3D hand pose into the loss function for training, using the 2-norm of joints and bone length constraints as the loss function;
[0013] Step 5: Load the model parameters trained in Step 4, input the monocular RGB image into the trained 3D hand pose estimation model, and obtain the corresponding 3D hand pose.
[0014] Based on the above scheme, by using the HRNet network as the 2D pose backbone and combining it with a context-aware attention module to capture rich, high-level semantic feature information, the accuracy and precision of pose estimation can be improved. This method can construct network structures with explicit and implicit topological structures. By processing 2D feature maps and 2D heatmaps and concatenating the resulting feature representations, it effectively learns global topological structure information, improving the ability to estimate 3D hand pose. This method employs a multi-stage training strategy. First, it estimates 2D feature maps and accurate 2D heatmaps through the 2D pose backbone network, and then inputs them into the 3D hand pose estimation model for final 3D pose estimation. This multi-stage training improves the model's robustness and generalization ability. By using the mean squared error loss function for 2D pose estimation training, and using the 2-norm of joints and bone length constraints as loss functions for 3D pose estimation, the model can be effectively guided to learn accurate pose information. Due to the efficient network structure and training strategy, this method can perform 3D hand pose estimation in scenarios with high real-time requirements, exhibiting low computational complexity and fast inference speed.
[0015] Furthermore, step 1 specifically includes:
[0016] Step 1.1: First, for the RHD dataset, use the HRNet network to capture multi-scale features from monocular RGB images and estimate the 2D heatmaps of the corresponding key points.
[0017] Step 1.2: Improve the HRNet network. This invention uses a Context-Aware Attention Block (CAAB) to apply multi-scale perception and channel attention to image features, thereby obtaining richer and more advanced semantic features.
[0018] The context-aware attention module (CAAB) consists of three parallel convolutional kernels at different scales and a subsequent squeeze activation module. Its function is to apply multi-scale awareness to the features and apply an attention mechanism between channels, which can be expressed by formulas (1)-(6):
[0019] Branch0(I)=Drop(Relu(BN(Conv 3×3 (I)))),#(1)
[0020] Branch1(I)=Drop(Relu(BN(Conv 5×5 (I)))),#(2)
[0021] Branch2(I)=Drop(Relu(BN(Conv 7×7 (I)))),#(3)
[0022] Branch out (I)=Branch0(I)+Branch1(I)+Branch2(I),#(4)
[0023] MultiFeature = Relu(BN(Conv) 3×3 (Branch out (I)))),#(5)
[0024] F CAAB =SE(MultiFeature).#(6)
[0025] In the formula, BN(*) is batch normalization; ReLU(*) is the activation function; Drop(*) is the Dropout function; Conv k×k (*) represents the convolution function, the subscript k indicates the kernel size; I represents the input features; Branch0 represents the branch with a kernel size of 3; Branch1 represents the branch with a kernel size of 5; Branch2 represents the branch with a kernel size of 7; Branch out This represents the concatenated output of the three branches mentioned above; MultiFeature represents the processed result after concatenating multiple branches; F CAAB This represents the output of the context-aware attention module.
[0026] Furthermore, step 2 specifically includes:
[0027] The model adopts a two-stage approach. First, a 2D pose backbone network is trained. This network is then used to estimate the 2D heatmap of each joint from the monocular RGB image, and this heatmap, along with the actual 2D heatmap, is input into the loss function. The loss function for this stage can be expressed by formula (7):
[0028]
[0029] in, The 2D heatmap of each joint estimated for the 2D pose backbone network is given, where the subscript i is the joint number, i = 1-21; This is a 2D heatmap of each actual joint; J is the number of joints, J = 21.
[0030] Furthermore, step 3 specifically includes:
[0031] Step 3.1: Load the model parameters of the 2D pose backbone network obtained in Step 2, and set the parameters of the 2D pose backbone network to be non-gradient descent learning, and then train the 3D pose booster to estimate the 3D hand pose.
[0032] Step 3.2: Input the monocular RGB image into the 2D pose backbone network. The 2D pose backbone network estimates the 2D heatmap and 2D feature map from the RGB image, and inputs the 2D heatmap h and 2D feature map f into two branches consisting of an encoder and a High-Order Grapher network, respectively. The encoders of the two branches can be represented by formulas (8)-(9):
[0033] E f =Act(Conv 1×1 (f)),#(8)
[0034] E h =Act(Conv 1×1 (h)).#(9)
[0035] In the formula, Act(*) is the activation function; Conv 1×1 (*) represents a convolution operation with a kernel size of 1×1.
[0036] The High-Order Graphormer network consists of a High-Order Graphormer encoder and a High-Order Graphormer decoder. The High-Order Graphormer encoder uses a multi-head self-attention mechanism to capture the global similarity dependencies between features, and its structure can be represented by formulas (10)-(13):
[0037] Q = W q X; K, V = W kv X,#(10)
[0038] Q i =Split(Q); K i =Split(K); V i =Split(V),#(11)
[0039]
[0040] MSA(Q,K,V)=Cat[head1,…,head N W O #(13)
[0041] In the formula, Q, K, and V represent the query set, key set, and value set, respectively; W q The weights of Q are the learnable matrix parameters; W kvrepresents the weights of the KV matrix, i.e., the learnable matrix parameters; X represents the input keypoint features; Split(*) is a partitioning operation that divides the data into equal parts for the multi-head attention input, with the index i representing the multi-head attention number; SA(*,*,*) is the self-attention mechanism; d k The dimension of the key value K; K T Represents the transpose of the key set; Softmax(*) is the activation function Softmax; MSA(*,*,*) is multi-head self-attention; head i =SA(Q i ,K i V i ); Cat[] is for concatenation operation; W O This is the corresponding learnable weight matrix.
[0042] For the High-Order Grapher decoder, this invention employs two parallel high-order graph convolutional layers to construct explicit and implicit topological structures for the hand, respectively, while using an MLP to enrich the hand representation. The explicit high-order graph convolutional layer can be represented by equations (14)–(15):
[0043]
[0044]
[0045] In the formula, It is the result of symmetric normalization of the adjacency matrix A of the hand joints, which is constructed based on prior knowledge of the hand structure. It is the Kth order adjacency matrix; EX(*,*) is an explicit higher-order graph convolutional layer; W (K) W represents the corresponding learnable matrix weights. c This represents the learnable weight parameters; Cat[] represents the concatenation operation; σ(*) represents the activation function; and X represents the input keypoint features.
[0046] Similarly, implicit higher-order graph convolutional layers can be represented by equations (16)–(17):
[0047]
[0048]
[0049] In the formula, A is the implicit adjacency matrix of the hand joints. i The result after symmetric normalization is the implicit adjacency matrix A of the hand joints. i It was learned through the network model proposed in this invention; It is the Kth order adjacency matrix; IM(*,*) is an implicit higher-order graph convolutional layer; W (K) W represents the corresponding learnable matrix weights. m This represents the learnable weight parameters; Cat[] represents the concatenation operation; σ(*) represents the activation function; and X represents the input keypoint features.
[0050] MLP can be represented by formula (18):
[0051]
[0052] In the formula, σ(*) represents the learnable weight parameters of the two linear layers; X represents the input keypoint features; and M(·) represents the MLP module.
[0053] In summary, the High-Order Graphormer network proposed in this invention can be represented by formula (19):
[0054]
[0055] Subsequently, the 2D feature maps and 2D heatmaps from the two encoders are respectively input into the two branches of the High-Order Grapher network G. f and G h The outputs of the two branches are then concatenated together, a process that can be represented by formula (20):
[0056]
[0057] Step 3.3: For the mixed feature F obtained in step 3.2, input the mixed feature F into the last High-Order Graphormer network. The High-Order Graphormer network maps the mixed feature F to the 3D hand pose. This process can be expressed by formula (21):
[0058]
[0059] Furthermore, step 4 specifically includes:
[0060] The estimated 3D hand pose obtained in step 3 and the actual 3D hand pose are input into the loss function to train the network. This invention proposes to use the Euclidean distance of the joint positions and the mean square error of the finger bone length as loss functions to train the network together. These two loss functions can be expressed by formulas (22)-(23):
[0061]
[0062]
[0063] In the formula, These are the 3D coordinates of the joints estimated by the model, with the subscript i representing the joint number; The actual 3D coordinates of the joints; The estimated finger bone length is calculated from the 3D coordinates obtained through model estimation. The actual finger bone length is calculated using real joint coordinates; J represents the number of joints, J = 21.
[0064] Furthermore, step 5 specifically includes:
[0065] Load the model parameters best_state.pth trained in step 4, input the monocular RGB image into the model, and output the 3D coordinates of the hand joints and the corresponding evaluation metrics.
[0066] The beneficial effects of this invention include: by constructing explicit and implicit hand topology structures to capture global and local features, the model can build a more robust hand structure when estimating 3D hand pose; and by enhancing the capture of multi-scale features and inter-channel attention in the 2D pose backbone network, it can adapt to the changes of human hands at different scales in RGB images and use channels that contribute more; in addition, this invention combines the Euclidean distance of joint 3D coordinates and the mean square error of finger bone length to increase the penalty for incorrect estimation, thereby ensuring the accuracy of the estimated 3D hand pose.
[0067] This method effectively constructs explicit and implicit topological structures of the hand and fuses feature information from higher-order neighbors based on these structures, improving the robustness of joint feature representations and thus enhancing the model's robustness to obtain robust 3D hand pose estimation. Furthermore, to capture rich, high-level features from monocular RGB images, this invention proposes a context-aware attention module. This module extracts feature information at different scales and employs an inter-channel attention mechanism to semantically enhance the captured features, increasing the contribution of image features to 3D hand pose estimation and obtaining an accurate 2D heatmap, thereby significantly improving the model's accuracy in estimating 3D hand pose. Attached Figure Description
[0068] Figure 1 This is a framework diagram of the 3D hand pose estimation method based on global topological structure information learning proposed in this invention. Detailed Implementation
[0069] The embodiments of the present invention are implemented under the premise of the technical solution of the present invention, and detailed implementation methods and specific operation processes are given. However, the protection scope of the present invention is not limited to the following embodiments.
[0070] This invention provides a 3D hand pose estimation method based on global topological information learning, belonging to the fields of computer vision and artificial intelligence. This invention constructs explicit and implicit topological structures through explicit and implicit high-order graph convolutional layers and captures global topological information, enabling the model to focus on the physical structure and implicit relational structure of the hand when estimating 3D hand pose. Furthermore, it proposes a context-aware attention mechanism to capture multi-scale information in the image, thereby enhancing the accuracy of the model for multi-scale hand estimation. In addition, it employs various loss functions to provide multiple constraints and penalties for the estimated joint positions, thus ensuring the accuracy of the model in estimating 3D hand pose.
[0071] Example 1
[0072] This embodiment uses Windows as the development environment, PyCharm as the development platform, and Python as the development language. It employs the 3D hand pose estimation method based on global topology information learning of the present invention to perform 3D hand pose estimation on monocular RGB images.
[0073] In this embodiment, the 3D hand pose estimation method based on global topology information learning includes the following steps:
[0074] Step 1: Input the monocular RGB images from the training set into a program such as... Figure 1 Training is performed in the 2D backbone network shown;
[0075] Step 2: Input the monocular RGB images from the training set into a program such as... Figure 1 In the 3D hand pose estimation network shown, the model parameters saved after training in step 1 are loaded and trained.
[0076] Step 3: Using the required monocular RGB image as input, load the model trained and saved in Step 2 to obtain the corresponding 3D hand pose and corresponding evaluation metrics. This invention uses the average error of each joint, the percentage of correct joints at different thresholds, and the region under the 3D PCK curve as evaluation metrics, namely MPJPE, 3D PCK, and AUC. The calculation method of MPJPE can be expressed by formula (24):
[0077]
[0078] Where N is the number of joints; J pred J represents the predicted 3D coordinates of the joints. gt These are the actual 3D coordinates of the joints. The calculation method for 3DPCK can be expressed by formula (25):
[0079]
[0080] In the formula, the subscript i represents the joint number; k is the k-th threshold T k ;p represents the p-th hand gesture; d pi The Euclidean distance between the predicted and actual values of the joint with pose number i for the p-th pose; T is the scale factor for the p-th pose; k As the threshold, T k =0mm-50mm.
[0081] Based on the above steps, this invention will be compared with models proposed by Guo et al., Chen et al., Zhou et al., Li et al., and Yang et al. As can be seen from Table 1, the method proposed in this invention generally outperforms other methods in terms of accuracy on two common datasets.
[0082] Table 1 compares the performance on the RHD and STB datasets.
[0083]
[0084] The foregoing description of specific exemplary embodiments of the invention is for illustrative and explanatory purposes. These descriptions are not intended to limit the invention to the precise forms disclosed, and it will be apparent that many changes and variations can be made in accordance with the foregoing teachings. The exemplary embodiments were chosen and described in order to explain the specific principles of the invention and its practical application, thereby enabling those skilled in the art to implement and utilize various different exemplary embodiments of the invention, as well as various different choices and variations. The scope of the invention is intended to be defined by the claims and their equivalents.
Claims
1. A 3D hand pose estimation method based on global topological information learning, characterized in that, The method includes the following steps: Step 1: Use the HRNet network as the 2D pose backbone network. The 2D pose backbone network employs a context-aware attention module to capture rich high-level semantic feature information, ultimately obtaining 2D feature maps. and 2D heat map ; Step 2: Input the 2D heatmap obtained in Step 1 and the real 2D heatmap into the loss function, and use the mean squared error loss function for training; Step 3: Load the model parameters of the 2D pose backbone network from Step 2, input the monocular RGB image into the 2D pose backbone network to estimate the 2D feature map and accurate 2D heat map, process the obtained 2D feature map and 2D heat map using network structures that can construct explicit and implicit topologies respectively, concatenate the obtained feature representations, and input them into the 3D hand pose estimation model constructed by the last explicit and implicit topology to obtain the final 3D hand pose. Step 3 specifically includes: Step 3.1: Load the model parameters of the 2D pose backbone network obtained in Step 2, and set the parameters of the 2D pose backbone network to be non-gradient descent learning, and then train the 3D pose booster to estimate the 3D hand pose. Step 3.2: Input the monocular RGB image into the 2D pose backbone network. The 2D pose backbone network estimates the 2D heatmap and 2D feature map from the RGB image, and then processes the 2D heatmap... and 2D feature maps The inputs are fed into two branches consisting of an encoder and a High-Order Grapher network, respectively; the outputs of the two branches are then concatenated to obtain the hybrid feature. ; Step 3.3: For the mixed features obtained in step 3.2 , will mix features The input is fed into the final High-Order Graphormer network, which blends the features. Mapped to 3D hand pose; The encoders of the two branches are represented by formulas (8) - (9): ; ; In the formula, For activation functions; The kernel size is Convolution operations; The High-Order Graphormer network consists of a High-Order Graphormer encoder and a High-Order Graphormer decoder. The High-Order Graphormer encoder uses a multi-head self-attention mechanism to capture the global similarity dependencies between features. Its structure is represented by equations (10) - (13): ; ; ; ; In the formula, These represent the query set, key set, and value set, respectively. for The weights are the learnable matrix parameters; for The weights are the learnable matrix parameters; Input key features; To perform the partitioning operation, the data is divided into multiple data points for multi-head attention input, with the index... Numbering for multi-headed attention; For self-attention mechanism; key value The dimension; Transpose of the key set; The activation function is Softmax; For the sake of the bulls' self-attention; ; For splicing operations; This is the corresponding learnable weight matrix; The High-Order Grapher decoder employs two parallel high-order graph convolutional layers to construct explicit and implicit topological structures, respectively, while using MLP to enrich hand representations; the explicit high-order graph convolutional layer is represented by formulas (14)-(15): ; ; In the formula, It is the adjacency matrix of hand joints The symmetric normalized result is the adjacency matrix of the hand joints. It is constructed based on prior knowledge of hand structure; It is the Kth order adjacency matrix; It is an explicit high-order graph convolutional layer; These are the weights of the corresponding learnable matrix; Learnable weight parameters; For splicing operations; For activation functions; The key features are the input. Similarly, implicit higher-order graph convolutional layers are represented by equations (16) - (17): ; ; In the formula, It is an implicit adjacency matrix of hand joints The implicit adjacency matrix of hand joints after symmetric normalization. It was learned through a network model; It is the Kth order adjacency matrix; It is an implicit high-order graph convolutional layer; These are the weights of the corresponding learnable matrix; For splicing operations; For activation functions; The key features are the input. MLP is represented by formula (18): ; In the formula, These are the learnable weight parameters for two linear layers; For activation functions; The key features are the input. For MLP modules; In summary, the High-Order Grapher network is represented by equation (19): ; Subsequently, the 2D feature maps and 2D heatmaps from the two encoders are respectively input into the two branches of the High-OrderGrapher network. and The outputs of the two branches are then concatenated together, a process represented by formula (20): ; The final High-Order Grapher network will blend features. Mapping to 3D hand pose, this process is represented by formula (21): ; Step 4: Input the 3D hand pose obtained in Step 3 and the actual 3D hand pose into the loss function for training, using the 2-norm of joints and bone length constraints as the loss function; Step 5: Load the model parameters trained in Step 4, input the monocular RGB image into the trained 3D hand pose estimation model, and obtain the corresponding 3D hand pose.
2. The 3D hand pose estimation method based on global topological structure information learning according to claim 1, characterized in that, Step 1 specifically includes: Step 1.1: First, for the RHD dataset, use the HRNet network to capture multi-scale features from monocular RGB images and estimate the 2D heatmaps of the corresponding key points; Step 1.2: Enhance the HRNet network: Employ the context-aware attention module CAAB to apply multi-scale awareness and channel attention to image features; wherein, the context-aware attention module CAAB consists of three parallel convolutional kernels of different scales and a subsequent squeeze activation module, and applies an attention mechanism between channels, as expressed by formulas (1) - (6): ; ; ; ; ; ; In the formula, For batch normalization; For activation functions; for function; For convolution functions, subscript Indicates the size of the convolution kernel; Features for input; This indicates a branch with a kernel size of 3; This indicates a branch with a kernel size of 5; This indicates a branch with a kernel size of 7; This represents the concatenation result of the outputs from the three branches mentioned above; This indicates the processing result after splicing multiple branches; This represents the output of the context-aware attention module.
3. The 3D hand pose estimation method based on global topological structure information learning according to claim 1, characterized in that, Step 2 specifically includes: A two-stage approach is adopted. First, a 2D pose backbone network is trained. The 2D pose backbone network is then used to estimate the 2D heatmap of each joint from the monocular RGB image. This heatmap, along with the real 2D heatmap, is then input into the loss function. The loss function for this stage is expressed by formula (7): ; in, 2D heatmap of each joint estimated for the 2D pose backbone network, with subscripts. For the joint number, ; A realistic 2D heatmap for each joint; For the number of joints, .
4. The 3D hand pose estimation method based on global topological structure information learning according to claim 1, characterized in that, Step 4 specifically includes: The estimated 3D hand pose obtained in step 3 and the actual 3D hand pose are input into the loss function to train the network. The Euclidean distance of the joint positions and the mean square error of the finger bone length are used as the loss function to train the network together. These two loss functions are expressed by formulas (22) - (23): ; ; In the formula, These are the 3D coordinates of the joints estimated by the model, with subscripts... Number the key points; For the actual 3D coordinates of the joints; The estimated finger bone length is calculated from the 3D coordinates obtained through model estimation. The actual finger bone length is calculated using real joint coordinates; For the number of joints, .
Citation Information
Patent Citations
Camera distance-based human hand three-dimensional attitude estimation model establishment method and application thereof
CN113191243A
Three-dimensional gesture attitude estimation method based on topology perception
CN115690908A
