A human pose estimation method and system based on multi-scale feature fusion
By employing a multi-scale feature fusion-based human pose estimation method, and utilizing feature extraction networks with main branches and shortcut branches, along with residual modulation techniques, the problems of insufficient channel interaction and soaring computational costs in the feature fusion process are solved, thus achieving efficient human pose estimation.
Patent Information
- Application Number
- CN202611488270.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-23
- Publication Date
- 2026-12-01
AI Technical Summary
Existing human pose estimation methods suffer from problems such as insufficient channel interaction during feature fusion, easy interference between features during fusion, and a surge in computational cost when improving performance.
A multi-branch feature extraction network containing a main branch and a shortcut branch is adopted. Multi-scale features are output through channel rearrangement, feature concatenation and channel attention enhancement. Cross-level feature fusion is achieved through differential residual modulation of high-resolution features and deep features.
It improves the accuracy of human body key point localization, significantly enhances computational efficiency, and maintains the stability and accuracy of features.
Smart Images

Figure CN123201284A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of computer vision technology, and in particular to a method, system, and storage medium for human pose estimation based on multi-scale feature fusion. Background Technology
[0002] Human pose estimation is a fundamental task in computer vision, widely used in human-computer interaction, intelligent security, motion analysis, and other scenarios. By identifying the positions of various key points on the human body, human pose estimation reconstructs the skeletal structure, providing basic data for various higher-level applications.
[0003] Deep learning is currently the mainstream technology for human pose estimation, and various specific implementation methods have emerged in the industry. Heatmap regression is one of the most widely used. Heatmap regression relies on the network to process images layer by layer, continuously compressing the image size to extract human semantic information, thereby completing the localization of human key points. To make the model run faster and consume less computing power, existing lightweight networks adopt a cross-stage partial (CSP) structure, which divides the features into two branches for separate processing, thereby reducing the amount of computation. To address the problem of losing details of small parts such as wrists and ankles after image compression, some solutions add high-resolution branches to try to retain more spatial detail information.
[0004] Existing solutions still have significant shortcomings. When performing grouping operations in the CSP structure, there is a lack of information exchange between features of different groups, making it difficult to fully combine the related features of human limbs and torso. Directly using channel rearrangement is also easily limited by the dual-branch CSP, and incorrect deployment can destroy the matching relationship between the two features. After merging features from different branches, it does not distinguish between useful joint information and useless background noise. Directly combining high-resolution features and deep features results in large differences between the two types of information, which can easily interfere with each other. Moreover, such fusion solutions usually perform uniform scaling on the overall features obtained by fusion, which will modify the deep features themselves and destroy the original effective semantic information in the deep features. Simply deepening the network and increasing the number of channels to improve the performance will cause a sharp increase in computational costs.
[0005] Therefore, there is an urgent need for a human pose estimation method that balances computational efficiency, enables effective channel interaction within the CSP structure, and allows for adjustment of the degree of high-resolution feature introduction. Summary of the Invention
[0006] Therefore, the technical problem to be solved by the present invention is to overcome the shortcomings of existing human pose estimation schemes, such as insufficient channel interaction, easy mutual interference of feature fusion, and the surge in computational cost caused by performance improvement.
[0007] To address the aforementioned technical problems, this invention provides a method, system, and storage medium for human pose estimation based on multi-scale feature fusion.
[0008] In a first aspect, embodiments of the present invention disclose a human pose estimation method based on multi-scale feature fusion, the method comprising: Acquire human image data, and preprocess the human image data to obtain standardized human image data; The standardized human image data is input into a multi-branch feature extraction network configured with a main branch and a shortcut branch. The main branch extracts features from the standardized human image data and performs channel rearrangement to obtain the channel rearranged main branch features. The shortcut branch outputs shortcut branch features. The main branch features and the shortcut branch features are concatenated to obtain concatenated features. Channel attention enhancement is performed on the concatenated features to output multi-scale features. Based on the multi-scale features, high-resolution features and deep features are extracted. Feature transformation and scale adjustment are performed on the high-resolution features in sequence to obtain scale-adjusted high-resolution features. The scale-adjusted high-resolution features and the deep features are concatenated and fused by convolution to obtain convolutional fused features. The difference between the convolutional fused features and the deep features is calculated as the fusion increment features. The fusion increment features are residual modulated. The modulated fusion increment features are added to the deep features to obtain the pose fusion features. Based on the posture fusion features, classification and decoding processes are performed to obtain the coordinates of key human body points.
[0009] Optionally, the method for performing channel rearrangement after feature extraction on the standardized human image data to obtain the channel rearranged main branch features includes: the main branch extracting features from the standardized human image data to obtain a feature tensor; the channel rearrangement does not include learnable parameters; dividing the channel dimension of the feature tensor into multiple channel groups; and rearranging the channel data in each of the multiple channel groups to obtain the channel rearranged main branch features.
[0010] Optionally, the method for performing channel attention enhancement on the spliced features and outputting multi-scale features includes: performing global average pooling on the spliced features to obtain global descriptive information corresponding to the channel dimensions of the spliced features; inputting the global descriptive information into a nonlinear mapping structure composed of two fully connected layers; obtaining channel weights through nonlinear activation; and multiplying the channel weights with the feature data of the corresponding dimension in the spliced features to obtain the multi-scale features.
[0011] Optionally, the method for obtaining convolutional fusion features includes: performing feature transformation on the high-resolution features using consecutive convolutional layers to obtain feature-transformed high-resolution features; performing max pooling adjustment on the feature-transformed high-resolution features; concatenating the scale-adjusted high-resolution features with the deep features to obtain concatenated feature data; and performing channel mapping and feature fusion on the concatenated feature data to obtain the convolutional fusion features.
[0012] Optionally, the method of performing residual modulation on the fused incremental features and adding the modulated fused incremental features to the deep features to obtain the attitude fusion features includes: performing scaling operations on the fused incremental features using a learnable scaling parameter to obtain the modulated incremental features, and performing an addition operation on the modulated incremental features to the deep features to obtain the attitude fusion features.
[0013] Optionally, the learnable scaling parameter is a channel-wise learnable vector, and the learnable scaling parameter performs scaling operations only on the fused incremental features.
[0014] Optionally, the method for obtaining the coordinates of human key points by performing classification decoding based on the posture fusion features includes: based on the posture fusion features, performing position classification prediction for each human key point in the horizontal and vertical directions respectively to obtain the horizontal position classification distribution and the vertical position classification distribution; determining the horizontal coordinates based on the horizontal position classification distribution; determining the vertical coordinates based on the vertical position classification distribution; and obtaining the coordinates of the human key points based on the horizontal coordinates and the vertical coordinates.
[0015] Optionally, the multi-branch feature extraction network is a cross-stage partial network.
[0016] Secondly, embodiments of the present invention disclose a human pose estimation system based on multi-scale feature fusion, the system comprising: The data preprocessing module is used to acquire human image data and preprocess the human image data to obtain standardized human image data. The feature extraction module is used to input the standardized human image data into a multi-branch feature extraction network configured with a main branch and a shortcut branch. The main branch performs feature extraction on the standardized human image data and then performs channel rearrangement to obtain the channel rearranged main branch features. The shortcut branch outputs shortcut branch features. The main branch features and the shortcut branch features are concatenated to obtain concatenated features. Channel attention enhancement is performed on the concatenated features to output multi-scale features. The feature fusion module is used to extract high-resolution features and deep features based on the multi-scale features, perform feature transformation and scale adjustment processing on the high-resolution features in sequence to obtain scale-adjusted high-resolution features, concatenate and fused the scale-adjusted high-resolution features with the deep features to obtain convolutional fused features, calculate the difference between the convolutional fused features and the deep features as fusion increment features, perform residual modulation on the fusion increment features, and add the modulated fusion increment features with the deep features to obtain pose fusion features; The classification and decoding module is used to perform classification and decoding processing based on the posture fusion features to obtain the coordinates of human body key points.
[0017] Thirdly, embodiments of the present invention disclose a computer storage medium storing a computer software product, the computer software product including several instructions for causing a computer device to execute the above-described human pose estimation method based on multi-scale feature fusion.
[0018] The main differences and effects of the embodiments of the present invention compared with the prior art are as follows: This invention employs a multi-branch feature extraction network containing a main branch and shortcut branches to process standardized human image data. After channel rearrangement, feature splicing, and channel attention enhancement, multi-scale features are output. The multi-branch feature extraction network of this invention can realize cross-channel information interaction and perform channel weighting on multi-branch features according to channel attention, thereby strengthening the effective channel feature expression and improving the feature extraction quality of the backbone network. High-resolution and deep features are extracted from multi-scale features. Feature transformation and scale adjustment are performed on the high-resolution features in sequence. After matching the spatial scale of the deep features, they are spliced and convolutionally fused to obtain convolutionally fused features. This can simultaneously preserve image detail information and high-level semantic information, overcome the problem of scale mismatch between different levels of features, and achieve effective fusion of cross-level features. Furthermore, by utilizing the difference between the convolutional fusion features and the deep features, fusion incremental features are obtained. After residual modulation of the fusion incremental features, deep features are superimposed to introduce fusion information in an incremental form, while preserving the original semantics of the deep features. By adaptively adjusting the incremental features with learnable parameters, the stability of the feature fusion process can be ensured. Based on pose fusion features, classification and decoding processes are performed to output the coordinates of human key points. The coordinates of human key points represent human pose and complete human pose estimation. The scheme of this invention coordinates multi-branch feature extraction, cross-level feature fusion and residual increment modulation mechanism to fully mine multi-scale feature information, enhance feature expression ability and significantly improve the accuracy of human key point localization. Attached Figure Description
[0019] To make the content of this invention easier to understand, the invention will be further described in detail below with reference to specific embodiments and accompanying drawings.
[0020] Figure 1 This is a flowchart of a human pose estimation method based on multi-scale feature fusion in a preferred embodiment of the present invention; Figure 2 This is a structural block diagram of a human pose estimation system based on multi-scale feature fusion in a preferred embodiment of the present invention. Figure 3 A visualization comparison of human pose estimation on the MPII dataset between RTM-Pose and the proposed solution. Detailed Implementation
[0021] The present invention will be further described below with reference to the accompanying drawings and specific embodiments, so that those skilled in the art can better understand and implement the present invention. However, the embodiments described are not intended to limit the present invention.
[0022] Example 1: The specific network configurations, training parameters, and experimental data provided in this embodiment are only used to verify the effectiveness of the technical solution of the present invention and do not constitute a limitation on the scope of protection of the present invention.
[0023] Figure 1 The flowchart of a human pose estimation method based on multi-scale feature fusion in a preferred embodiment of the present invention includes steps S1, S2, S3 and S4.
[0024] In step S1, human image data is acquired and preprocessed to obtain standardized human image data.
[0025] Human image data comes from public datasets or images captured by real-world acquisition devices. The human image data contains human targets to be detected. The acquired human image data is preprocessed, including image size adjustment and normalization. The human images are made to meet the input size requirements of the human pose feature extraction network, so as to improve the adaptability of this human pose estimation method to changes in human pose, scale changes and local occlusion.
[0026] In step S2, standardized human image data is input into a multi-branch feature extraction network configured with a main branch and a shortcut branch. After the main branch extracts features from the standardized human image data, it performs channel shuffle to obtain the main branch features after channel shuffle. The shortcut branch outputs the shortcut branch features. The main branch features and the shortcut branch features are concatenated to obtain the concatenated features. Channel attention enhancement is performed on the concatenated features to output multi-scale features.
[0027] In this embodiment, the multi-branch feature extraction network exemplarily adopts a Cross-Stage Partial (CSP) network as the feature extraction structure, and on this basis, constructs an improved cross-stage local network with channel interaction. The CSP feature extraction structure includes a main branch and a shortcut branch. The input features are processed by the main branch and the shortcut branch, respectively. The main branch is used to perform feature transformation, and the shortcut branch is used to retain some input feature information. As one implementation method, the main branch performs channel rearrangement after extracting features from the standardized human image data to obtain the channel rearranged main branch features. The method includes: the main branch extracts features from the standardized human image data to obtain a feature tensor. The channel rearrangement does not include learnable parameters. The channel dimension of the feature tensor is divided into multiple channel groups. The channel data in each channel group is rearranged to obtain the channel rearranged main branch features.
[0028] After feature extraction is completed in the main branch, channel rearrangement is performed on the output features of the main branch. Channel rearrangement is a tensor dimension transformation operation that does not contain any learnable parameters. Channel rearrangement sequentially performs channel dimension reshaping, transpose of group dimension and intra-group channel dimension, and channel dimension restoration. For example, the number of channel groups in channel rearrangement is set to 2. All channels of the output features of the main branch are divided into two equal channel groups. The original channel dimension is split into group dimension and intra-group channel dimension through dimension reshaping. The group dimension and intra-group channel dimension are transposed, and then the tensor is restored to the original channel dimension. After the above dimension transformation, the feature channels that originally belonged to different channel groups are redistributed in an interleaved manner, completing the exchange of feature information between different channel groups, and obtaining the main branch features after channel rearrangement.
[0029] Channel rearrangement is a parameter-free data recombination operation that does not introduce additional weight parameters and does not increase the number of model parameters or computational overhead. The feature tensor is pre-divided into N non-overlapping channel groups, each containing an equal number of channels. Channel rearrangement disrupts the original channel group arrangement, interleaving and recombining channel data from different original channel groups. The recombined main branch features can achieve information exchange across channel groups, breaking down the channel information isolation caused by the original grouping. This allows the learned local human body features from different channel groups to flow together, improving the richness of features after subsequent splicing and fusion.
[0030] As one implementation method, the method of performing channel attention enhancement on the spliced features and outputting multi-scale features includes: performing global average pooling on the spliced features to obtain global descriptive information corresponding to the channel dimensions of the spliced features; inputting the global descriptive information into a nonlinear mapping structure composed of two fully connected layers; obtaining channel weights through nonlinear activation; and multiplying the channel weights with the feature data of the corresponding dimension in the spliced features to obtain multi-scale features.
[0031] The main branch features and shortcut branch features after channel rearrangement are concatenated along the channel dimension to obtain concatenated features. After concatenation, a squeeze-and-excitation (SE) module is used to recalibrate the concatenated features at the channel level: First, global average pooling is performed on the concatenated features to obtain global description information corresponding to each channel independently; the global description information of all channels is fed into a nonlinear mapping structure composed of two fully connected layers. After the first fully connected layer, a rectified linear unit (ReLU) is configured, and then a sigmoid activation function (Sigmoid) is used to generate channel weights with values ranging from 0 to 1; the generated channel weights are multiplied with the concatenated features channel by channel to complete adaptive weighting, and the multi-scale features are output after weighting.
[0032] Global average pooling compresses and concatenates features along the spatial dimension, generating a scalar value for each channel. All scalar values are combined to form the aforementioned global descriptive information. This global descriptive information is fed into two fully connected layers for non-linear mapping, with ReLU applied between the two layers. The output of these two fully connected layers maintains the same number of channels as the concatenated features, and the channel weights are constrained to the range of 0 to 1 using a Sigmoid activation function. The channel weights are multiplied channel-by-channel by the concatenated features, adaptively adjusting the response intensity of each channel. This effectively enhances the response intensity of effective channels corresponding to human joints and contours, suppresses ineffective channels corresponding to background and noise, and reduces interference from background information on pose prediction.
[0033] In step S3, based on multi-scale features, high-resolution features and deep features are extracted. Feature transformation and scale adjustment are performed on the high-resolution features in sequence to obtain scale-adjusted high-resolution features. The scale-adjusted high-resolution features and deep features are concatenated and fused by convolution to obtain convolutional fused features. The difference between the convolutional fused features and deep features is calculated as the fused incremental features. The fused incremental features are residual modulated. The modulated fused incremental features are added to the deep features to obtain the pose fused features.
[0034] Multi-scale features are jointly constructed from feature maps output by different layers of the network. Feature maps corresponding to high-resolution stages are called high-resolution features, and feature maps corresponding to deep stages are called deep features. High-resolution features retain detailed information such as human contours and joint edges, and can capture subtle changes in joint position, thus improving the accuracy of keypoint localization. Among multi-scale features, the deep network output feature maps have rich channels and strong semantic information. As deep features, they grasp the overall semantic information of the human body, can distinguish different limb parts, and have stronger resistance to background interference, but their spatial resolution is lower. Since the spatial scales of high-resolution and deep features are inconsistent, direct concatenation will result in a mismatch in feature space dimensions. Therefore, feature transformation and scale adjustment are required for high-resolution features to align the spatial dimensions of the two types of features before performing convolutional fusion operations.
[0035] For example, the scale-adjusted high-resolution features and deep features are concatenated along the channel dimension to obtain concatenated features. Further channel compression and feature integration are performed using 1×1 convolutions to obtain fused features. , To improve network training stability and achieve adaptive compensation of feature information, a residual connection structure with a learnable scaling factor is introduced. Finally, the pose fusion feature is output: , in, This represents a feature concatenation operation along the channel dimension; This represents the fused features after compression and integration using a 1×1 convolutional channel; Indicates splicing characteristics; This represents a 1×1 convolution operation; Represents pose fusion features; Indicates deep features; This indicates a learnable scaling parameter.
[0036] By employing the residual modulation method of this invention, based on deep features, the scale of the fused incremental features formed by fusing scale-adjusted high-resolution features and deep features is controlled. This allows the network to learn the response levels of different channels to scale-adjusted high-resolution features during processing, thereby introducing high-resolution spatial details in a controlled manner and reducing information conflicts that may be caused by direct fusion of features from different levels. The incremental weighting method of this invention can preserve the semantic information originally carried by deep features, avoiding the loss of original semantic information caused by direct replacement and splicing. At the same time, it can controllably inject the detailed information of scale-adjusted high-resolution features into deep features, taking into account both global semantic reliability and local detail accuracy.
[0037] As one implementation method, the method for obtaining convolutional fusion features includes: performing feature transformation on high-resolution features using consecutive convolutional layers to obtain high-resolution features after feature transformation; performing max pooling adjustment on the high-resolution features after feature transformation; concatenating the scale-adjusted high-resolution features with deep features to obtain concatenated feature data; and performing channel mapping and feature fusion on the concatenated feature data to obtain convolutional fusion features.
[0038] For example, two 3×3 convolutional layers are used to perform feature transformation. These convolutional layers perform channel dimension transformation and non-linear feature mapping on high-resolution features, enhancing the expression of joint details within the high-resolution features and generating high-resolution features after feature transformation. Max pooling is used to downscale the spatial resolution of the high-resolution features after feature transformation. The pooling stride of max pooling is set according to the size of the deep feature space, ensuring that the size of the high-resolution feature space after scale adjustment is completely consistent with the size of the deep feature space, eliminating the fusion barrier caused by the difference in scale between the two types of feature spaces. The scale-adjusted high-resolution features and deep features are concatenated along the channel dimension to generate concatenated feature data. Channel mapping uses 1×1 convolution to achieve channel dimension alignment. Feature fusion relies on subsequent convolutional operations to mix feature information, fully interweaving shallow detail information and deep semantic information, ultimately outputting convolutionally fused features.
[0039] As one implementation method, a learnable scaling parameter is used to scale the fused incremental features to obtain modulated incremental features. The modulated incremental features are then added to the deep features to obtain the pose fusion features. The learnable scaling parameter is a channel-wise learnable vector, and the scaling operation is performed only on the fused incremental features.
[0040] For example, the channel-wise learnable vector has multiple sets of scaling factors, the number of scaling factors matching the number of channels of the fused incremental features; the scaling factors of the channel-wise learnable vector are scaled with the corresponding channels of the fused incremental features to obtain the modulated incremental features; the modulated incremental features are added element-wise with the deep features to obtain the pose fusion features.
[0041] In step S4, classification and decoding are performed based on pose fusion features to obtain the coordinates of human key points, and the human pose is output based on the coordinates of human key points.
[0042] The pose fusion feature integrates both shallow detail information and deep semantic information, possessing strong global semantic discrimination capabilities for the human body while preserving the fine details required for joint positions. This pose fusion feature is then input into the classification and decoding process. The classification and decoding of this invention employs position classification prediction to predict the horizontal and vertical position distributions separately, reducing the prediction drift risk caused by coordinate regression and mitigating the prediction offset problem that easily occurs in keypoint coordinate regression. Human pose is represented by a set of human keypoint coordinates; outputting the human pose is equivalent to outputting the human skeleton representation composed of all human keypoints.
[0043] As one implementation method, the method for obtaining human body key point coordinates by performing classification decoding based on posture fusion features includes: based on posture fusion features, performing position classification prediction for each human body key point in the horizontal and vertical directions respectively, obtaining the horizontal position classification distribution and the vertical position classification distribution, determining the horizontal coordinates based on the horizontal position classification distribution, determining the vertical coordinates based on the vertical position classification distribution, and obtaining the human body key point coordinates based on the horizontal and vertical coordinates.
[0044] For example, Simple Coordinate Classification (SimCC) is used to solve for keypoint coordinates. Based on pose fusion features, for each human keypoint to be predicted, a horizontal discrete position category and a vertical discrete position category are set. The horizontal position category distribution represents the probability that the keypoint falls on each horizontal discrete position; the vertical position category distribution represents the probability that the keypoint falls on each vertical discrete position. The expected value of the horizontal position category distribution is obtained to get the horizontal coordinates of the keypoint, and the expected value of the vertical position category distribution is obtained to get the vertical coordinates of the keypoint. The horizontal and vertical coordinates corresponding to the same keypoint are combined to generate the corresponding human keypoint coordinates. The coordinates of all human keypoints are summarized to obtain the complete human keypoint set, which represents the human pose.
[0045] This embodiment constructs a human pose estimation network based on the method described in Embodiment 1, and trains and tests the network.
[0046] To verify the performance of the human pose estimation method described in this embodiment, two publicly available human pose datasets, MPII Human Pose Dataset (MPII) and Common Objects in Context (COCO), were used to conduct quantitative tests and visualization verification.
[0047] The evaluation metrics used were PCKh@0.5, AP, and AP. 50 AP 75 AP AP And AR. To verify the technical effect of the present invention, the method of the present invention is compared with existing methods such as SimpleBaseline (a baseline method for human pose estimation based on residual networks), MobileNetV2 (a lightweight convolutional neural network), Lite-HRNet (a lightweight high-resolution network), and RTM-Pose (a real-time multi-person pose estimation method).
[0048] As shown in Table 1, compared with existing baseline methods, the method of the present invention achieves higher overall detection accuracy with only a slight increase in the number of parameters and computational cost. The improvement in prediction accuracy for small-scale key points such as elbows, wrists, knees, and ankles is particularly significant, with an average key point detection accuracy of 89.2%, which is 2.0 percentage points higher than that of RTM-Pose.
[0049]
[0050] Table 1. Performance comparison results on the MPII dataset. As shown in Table 2, on the COCO human pose estimation dataset, the average accuracy (AP) of the method in this invention reaches 71.2%, which is 0.9 percentage points higher than that of RTM-Pose; AP 75 and AP The accuracy rates reached 78.4% and 68.6% respectively, both superior to the comparative methods. Furthermore, the method of this invention achieves better results in AP... 50 AP It also maintains a high level in metrics such as AR. This invention has good key point localization performance in complex scenes and multi-scale human targets, performs even better in small and medium scale target detection scenarios, and has good adaptability to complex poses and variable scale scenes.
[0051]
[0052] Table 2. Comparison Experiment Results of COCO Dataset As shown in Table 3, channel rearrangement, attention calibration, and high-resolution feature processing modules can all improve the network detection accuracy on their own. The synergistic effect of multiple modules can further optimize feature representation, and the various technical modules complement each other effectively.
[0053]
[0054] Table 3 Ablation Experiment Results refer to Figure 3 Each row corresponds to a set of typical human pose samples, where... Figure 3The top part shows the detection results of the RTM-Pose method, and the bottom part shows the detection results of the method of the present invention. The target area of the human body is marked with a rectangle in the figure, and key points that are mislocated or missed are highlighted with circles or ellipses.
[0055] from Figure 3 It can be seen that in scenarios with complex poses, human occlusion, and small-scale key points, the RTM-Pose method suffers from key point localization bias and missed detection issues. For example, in partially occluded human body areas and distant human targets, the RTM-Pose method is insufficient in responding to small-scale key points such as wrists and ankles, resulting in some key point position shifts or inaccurate detection.
[0056] In comparison, the detection results of the method of the present invention are more complete, and the key point locations are closer to the distribution of real human joint points, especially for small-scale key points such as wrists and ankles, the positioning deviation is significantly reduced. Figure 3 The visualization results are consistent with the quantitative experimental results in Tables 1, 2, and 3, further verifying the ability of the method of the present invention to locate human key points in complex poses, partial occlusion, and small-scale key point scenarios.
[0057] Example 2: Based on the same inventive concept, this embodiment provides a human pose estimation system based on multi-scale feature fusion. The principle of solving the problem is similar to the human pose estimation method based on multi-scale feature fusion provided in Embodiment 1, and the repeated parts will not be described again.
[0058] The present invention provides a human pose estimation system based on multi-scale feature fusion, comprising: Data preprocessing module 210 is used to acquire human image data, preprocess the human image data, and obtain standardized human image data. The feature extraction module 220 is used to input standardized human image data into a multi-branch feature extraction network configured with a main branch and a shortcut branch. After the main branch extracts features from the standardized human image data, it performs channel rearrangement to obtain the main branch features after channel rearrangement. The shortcut branch outputs the shortcut branch features. The main branch features and the shortcut branch features are concatenated to obtain the concatenated features. Channel attention enhancement is performed on the concatenated features to output multi-scale features. The feature fusion module 230 is used to extract high-resolution features and deep features based on multi-scale features. It performs feature transformation and scale adjustment processing on the high-resolution features in sequence to obtain scale-adjusted high-resolution features. It concatenates and fused the scale-adjusted high-resolution features and deep features to obtain convolutional fused features. It calculates the difference between the convolutional fused features and deep features as the fusion increment features. It performs residual modulation on the fusion increment features and adds the modulated fusion increment features to the deep features to obtain the pose fusion features. The classification and decoding module 240 is used to perform classification and decoding processing based on pose fusion features to obtain the coordinates of human key points and output the human pose based on the coordinates of human key points.
[0059] Example 3: The present invention also provides a computer storage medium storing a computer software product, the computer software product including several instructions for causing a computer device to execute the human pose estimation method based on multi-scale feature fusion as described in Embodiment 1.
[0060] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0061] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0062] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0063] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0064] Obviously, the above embodiments are merely illustrative examples for clear explanation and are not intended to limit the implementation. Those skilled in the art will recognize that other variations or modifications can be made based on the above description. It is neither necessary nor possible to exhaustively list all possible implementations here. However, obvious variations or modifications derived therefrom are still within the scope of protection of this invention.
Claims
1. A human pose estimation method based on multi-scale feature fusion, characterized in that, include: Acquire human image data, and preprocess the human image data to obtain standardized human image data; The standardized human image data is input into a multi-branch feature extraction network configured with a main branch and a shortcut branch. The main branch extracts features from the standardized human image data and performs channel rearrangement to obtain the channel rearranged main branch features. The shortcut branch outputs shortcut branch features. The main branch features and the shortcut branch features are concatenated to obtain concatenated features. Channel attention enhancement is performed on the concatenated features to output multi-scale features. Based on the multi-scale features, high-resolution features and deep features are extracted. Feature transformation and scale adjustment are performed on the high-resolution features in sequence to obtain scale-adjusted high-resolution features. The scale-adjusted high-resolution features and the deep features are concatenated and fused by convolution to obtain convolutional fused features. The difference between the convolutional fused features and the deep features is calculated as the fusion increment features. The fusion increment features are residual modulated. The modulated fusion increment features are added to the deep features to obtain the pose fusion features. Based on the posture fusion features, classification and decoding processes are performed to obtain the coordinates of key human body points.
2. The human pose estimation method based on multi-scale feature fusion according to claim 1, characterized in that, The method for obtaining the main branch features after performing channel rearrangement on the standardized human image data by extracting features from the main branch includes: the main branch extracts features from the standardized human image data to obtain a feature tensor; the channel rearrangement does not include learnable parameters; the channel dimension of the feature tensor is divided into multiple channel groups; and the channel data in each of the multiple channel groups is rearranged to obtain the main branch features after channel rearrangement.
3. The human pose estimation method based on multi-scale feature fusion according to claim 1, characterized in that, The method for performing channel attention enhancement on the spliced features and outputting multi-scale features includes: performing global average pooling on the spliced features to obtain global descriptive information corresponding to the channel dimensions of the spliced features; inputting the global descriptive information into a nonlinear mapping structure composed of two fully connected layers; obtaining channel weights through nonlinear activation; and multiplying the channel weights with the feature data of the corresponding dimension in the spliced features to obtain the multi-scale features.
4. The human pose estimation method based on multi-scale feature fusion according to claim 1, characterized in that, The method for obtaining convolutional fusion features includes: performing feature transformation on the high-resolution features using consecutive convolutional layers to obtain feature-transformed high-resolution features; performing max pooling adjustment on the feature-transformed high-resolution features; concatenating the scale-adjusted high-resolution features with the deep features to obtain concatenated feature data; and performing channel mapping and feature fusion on the concatenated feature data to obtain the convolutional fusion features.
5. The human pose estimation method based on multi-scale feature fusion according to claim 1, characterized in that, The method for performing residual modulation on the fused incremental features and adding the modulated fused incremental features to the deep features to obtain the attitude fusion features includes: performing scaling operations on the fused incremental features using a learnable scaling parameter to obtain the modulated incremental features, and performing an addition operation on the modulated incremental features to the deep features to obtain the attitude fusion features.
6. The human pose estimation method based on multi-scale feature fusion according to claim 5, characterized in that, The learnable scaling parameter is a channel-wise learnable vector, and the learnable scaling parameter only performs scaling operations on the fused incremental features.
7. The human pose estimation method based on multi-scale feature fusion according to claim 1, characterized in that, The method for obtaining human body key point coordinates by performing classification and decoding processing based on the posture fusion features includes: based on the posture fusion features, performing position classification prediction for each human body key point in the horizontal and vertical directions respectively, obtaining the horizontal position classification distribution and the vertical position classification distribution, determining the horizontal coordinates based on the horizontal position classification distribution, determining the vertical coordinates based on the vertical position classification distribution, and obtaining the human body key point coordinates based on the horizontal coordinates and the vertical coordinates.
8. The human pose estimation method based on multi-scale feature fusion according to claim 1, characterized in that, The multi-branch feature extraction network is a cross-stage partial network.
9. A human pose estimation system based on multi-scale feature fusion, characterized in that, include: The data preprocessing module is used to acquire human image data and preprocess the human image data to obtain standardized human image data. The feature extraction module is used to input the standardized human image data into a multi-branch feature extraction network configured with a main branch and a shortcut branch. The main branch performs feature extraction on the standardized human image data and then performs channel rearrangement to obtain the channel rearranged main branch features. The shortcut branch outputs shortcut branch features. The main branch features and the shortcut branch features are concatenated to obtain concatenated features. Channel attention enhancement is performed on the concatenated features to output multi-scale features. The feature fusion module is used to extract high-resolution features and deep features based on the multi-scale features, perform feature transformation and scale adjustment processing on the high-resolution features in sequence to obtain scale-adjusted high-resolution features, concatenate and fused the scale-adjusted high-resolution features with the deep features to obtain convolutional fused features, calculate the difference between the convolutional fused features and the deep features as fusion increment features, perform residual modulation on the fusion increment features, and add the modulated fusion increment features with the deep features to obtain pose fusion features; The classification and decoding module is used to perform classification and decoding processing based on the posture fusion features to obtain the coordinates of human body key points.
10. A computer storage medium, characterized in that, The computer storage medium stores a computer software product, which includes several instructions for causing a computer device to execute the human pose estimation method based on multi-scale feature fusion as described in any one of claims 1 to 8.
