A method for reconstructing multi-person human models for low-resolution images
Multi-person human body models are reconstructed in low-resolution images through a dual-branch reconstruction network and a cross-scale feature reference strategy, which solves the problem of insufficient reconstruction accuracy of low-resolution images in the existing technology and achieves more accurate human body shape and posture estimation. Enhanced handling of occlusion issues.
Patent Information
- Application Number
- CN202210571881.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-25
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2042-05-25
AI Technical Summary
Existing technologies cannot accurately reconstruct multi-person human models in low-resolution images. Existing methods are mainly based on high-resolution images and cannot be effectively extended to low-resolution image environments.
Design a dual-branch reconstruction network, fuse high-resolution branch features through constraints such as contrastive learning, introduce a cross-scale feature reference strategy and instance segmentation network, and optimize the accuracy of low-resolution branch feature generation and human detection frames.
It improves the reconstruction accuracy of multi-person human models in low-resolution images, enhances the model's robustness to occlusion problems, and achieves optimal results on public data sets.
Smart Images

Figure CN114782637B
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of three-dimensional vision and relates to a multi-person human body model reconstruction method for low-resolution images. Background Art
[0002] The 3D reconstruction technology of the human body has always been the focus and development direction of the computer vision field; this technology has been widely used in the film, television, game and other industries; however, these applications are all high-precision 3D human models, which require the help of complex motion capture systems and high-definition cameras; in real life, such high-quality images taken by expensive equipment are often difficult to obtain and cannot be promoted to consumers; considering that in daily life, due to the limitations of various photographic equipment, such as mobile phones, tablets or network restrictions, images will be compressed during the transmission process and the resolution will be greatly reduced; at the same time, for large-scale events such as public safety and sports events, the wide-field data taken by public equipment such as surveillance cameras has a larger field of view, and the clarity of the human body will be relatively reduced, so the image is relatively blurred.
[0003] Although such low-resolution images are widely used in life, existing multi-person reconstruction methods are all based on research on images with higher resolution in experimental environments. Zanfi et al. (Zanfir A, Marinoiu E, Zanfir M, et al. Deep Network for the Integrated 3D Sensing of Multiple People in Natural Images [J]. Advances in Neural Information Processing Systems (NIPS), 2018) first proposed a reconstruction model based on multi-person images. However, this model needs to use 3D pose estimation as an intermediate result for optimization, which makes the reconstruction process more complicated and the reconstruction accuracy is slightly low. Later, Zanfir et al. (Zanfir A, Marinoiu E, Sminchisescu C. Monocular 3d pose and shape estimation of multiple people in natural scenes-the importance of multiple scene constraints [C]. In Proceedings of the IEEE / CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2018) added a multi-scene loss function to optimize the multi-person reconstruction results based on the previous work, thereby improving the reconstruction accuracy to some extent. In order to obtain a more consistent relative position relationship of multiple people, Jiang et al. (Jiang W, Kolotouros N, Pavlakos G, et al.) al.Coherent Reconstruction of Multiple Humans from a Single Image[J].Proceedings of the IEEE / CVF ConferenceonComputer Vision and Pattern Recognition(CVPR),2020) proposed the CRMH model, which uses Faster-RCNN(Ren S,He K,Girshick R,et al.Faster R-CNN:Towards Real-TimeObject Detection with Region Proposal Networks[J].IEEE Transactions on Pattern Analysis and Machine Intelligence (PAMI), 2017), first regresses the detection box and then regresses the SMPL parameters of the corresponding area through the method of first detection and then reconstruction. In order to obtain a relatively accurate positional relationship, the model uses the penetration loss and depth order constraint to optimize the occlusion problem caused by multi-person interaction; afterwards, Zhang et al. (Zhang J, Yu D, Liew JH, et al. Body Meshes as Points [J], 2021 BMP) proposed a single-stage method BMP based on CRMH, which better estimates the relative positional relationship between people by representing multiple human instances as points in three-dimensional space. At the same time, this work improves the robustness of the model to occluded human bodies by enhancing the loss of joint points; Sun et al. (Sun Y, Bao Q, Liu W, et al. Monocular, one-stage, regression of multiple 3dpeople [C]. In Proceedings of the IEEE / CVF International Conference on Computer Vision (ICCV), 2021) also proposed a single-stage method ROMP, which predicts the position of the human center point by predicting the body center heat map, making the model more robust to occlusion problems; however, these methods are all based on high-resolution images, and the reconstruction results on low-resolution images are average. .
[0004] In view of the above problems, the present invention proposes a model for multi-person reconstruction under low-resolution images, designs a dual-branch reconstruction network for high-resolution images and low-resolution images, and realizes the basic reconstruction function of the low-resolution branch by fusing the high-resolution branch features through constraints such as contrast learning; proposes a cross-scale feature reference strategy, utilizes high-resolution image features to guide the generation of low-resolution branch features, and effectively guides the low-resolution branch features by shortening the feature distance between the two branches; introduces an instance segmentation network, and simultaneously optimizes the instance segmentation network and the reconstruction network under a multi-task learning mechanism, thereby improving the accuracy of the human body detection frame, thereby effectively improving the accuracy of the reconstruction result. Summary of the invention
[0005] (I) Technical problems to be solved by the present invention:
[0006] The purpose of the present invention is to provide a multi-person human body model reconstruction method for low-resolution images in view of the fact that existing methods cannot obtain relatively accurate reconstruction results in low-resolution images. A dual-branch reconstruction network for high-resolution images and low-resolution images is designed, and high-resolution branch features are fused through constraints such as contrast learning to achieve the basic reconstruction function of the low-resolution branch; a cross-scale feature reference strategy is proposed, and high-resolution image features are used to guide the generation of low-resolution branch features, and the low-resolution branch features are effectively guided by shortening the feature distance between the two branches; an instance segmentation network is introduced, and the instance segmentation network and the reconstruction network are simultaneously optimized under a multi-task learning mechanism, thereby improving the accuracy of the human body detection frame, thereby effectively improving the accuracy of the reconstruction result.
[0007] (II) In order to achieve the above-mentioned purpose, the present invention adopts the following technical solutions:
[0008] A method for reconstructing a multi-person human body model from a low-resolution image comprises the following steps:
[0009] S1. Perform data preprocessing on the public dataset, reduce the resolution of the high-resolution image by downsampling it to obtain a low-resolution image, and scale the low-resolution image to a uniform size while maintaining the original aspect ratio of the image for training the low-resolution branch network;
[0010] S2. A high-resolution branch network is trained using the original high-resolution image. The high-resolution branch network is divided into a target detection stage and an SMPL human reconstruction stage. In the target detection stage, feature extraction is achieved through the backbone network and pyramid network of the target detection network, and then the human body region is identified using the region candidate network and the region of interest network. Finally, the human body region identified by the human body detection frame is analyzed and a 3D human body model is reconstructed.
[0011] S3, using the low-resolution image preprocessed in S1 to train the low-resolution branch network, and reconstructing the low-resolution image through the target detection stage and SMPL human body reconstruction stage that share parameters with the high-resolution branch network;
[0012] S4. A spatial attention mechanism with unshared parameters is designed at the front end of the target detection network to extract feature information of the high-resolution branch network and the low-resolution branch network respectively, thereby increasing the recognition of the high-resolution branch network and the low-resolution branch network to better distinguish feature information of different resolutions;
[0013] S5. In the training process of the low-resolution branch network, a cross-scale feature reference strategy is added in the target detection stage, and the feature information of the high-resolution branch network is used to guide the generation of the feature information of the low-resolution branch network; at the same time, contrast learning constraints are introduced to the highest-level features in the pyramid network to better distinguish the image information of different scenes, so that the features of the low-resolution branch network are closer to the high-resolution branch network;
[0014] S6. Based on S5, an instance segmentation network is added to the SMPL reconstruction stage, and the instance segmentation network and the reconstruction network are simultaneously optimized under the multi-task learning mechanism, thereby improving the accuracy of the human detection frame and the precision of the reconstruction results.
[0015] Preferably, the pretreatment process described in S1 mainly includes the following steps:
[0016] S101, maintaining the original aspect ratio of the high-resolution image, downsampling the high-resolution image to (208, 128) to obtain a low-resolution image;
[0017] S102, unify the low-resolution image to (832, 512) by bilinear interpolation, and fill the insufficient part with 0.
[0018] Preferably, after training the high-resolution branch network in S2, the parameters of the high-resolution branch network are fixed, and in the process of training the low-resolution branch network with low-resolution images in S3, the parameters of the high-resolution branch network are not updated through back propagation.
[0019] Preferably, the attention mechanism used in the target detection network front end in S4 is as follows:
[0020] y i =R(φ(x i )×x i ),i∈{0,1}
[0021] Where i represents the corresponding branch, 0 is the high-resolution branch, and 1 is the low-resolution branch; i represents the input image features, φ represents the spatial attention mechanism, R represents the backbone network of the feature extraction part, and y i Represents the features after passing through the backbone network.
[0022] Preferably, the specific implementation process in S5 is as follows:
[0023] S501, for an input low-resolution image, identifying a human body in the low-resolution image through a target detection network;
[0024] S502, during the recognition process, comparing the highest-level features of the pyramid network of the feature extraction parts of the high-resolution branch network and the low-resolution branch network;
[0025] S503, effectively guiding the low-resolution network feature generation by constraining the feature distance between the high-resolution branch network and the low-resolution branch network;
[0026] S504, for the feature information of the low-resolution branch network, a vector with the same feature dimension as the high-resolution branch network is obtained through a quasi-encoder-decoder network, that is, the feature information of the low-resolution branch network is encoded through a series of convolutional networks, and then the information is decoded into the information domain of the high-resolution feature branch network through the corresponding convolutional network, and the final output result is constrained by the L2 loss to the feature information of the high-resolution branch network;
[0027] S505. At the same time, contrastive learning loss is introduced to constrain the highest-level features of the pyramid network of the high-resolution branch network and the low-resolution branch network extracted in S502, and L2 constraints are applied to the human body detection box results of the high-resolution branch network and the low-resolution branch network, thereby improving the accuracy of the detection results of the low-resolution branch network.
[0028] Preferably, the contrastive learning loss function corresponding to the contrastive learning loss described in S505 is as follows:
[0029]
[0030] in and x 低分 They represent the feature values from the high-resolution branch network and the feature values from the low-resolution branch network respectively, γ is an adjustable hyperparameter, and Q represents the feature queue size.
[0031] Preferably, the specific implementation process of S6 is as follows:
[0032] S601, adding an instance segmentation network to the SMPL reconstruction network part of the low-resolution branch network;
[0033] S602, jointly optimizing the high-resolution branch network and the low-resolution branch network through a multi-task learning mechanism to better solve the multi-person occlusion problem;
[0034] S603, inputting the sampling results of the target detection stage into the original reconstruction network and the instance segmentation network respectively;
[0035] S604. In the instance segmentation network part, the sampling result is first passed through a convolution layer with a convolution kernel of 14×14 and 256 channels, repeated four times to obtain the extracted feature information, and then passed through a convolution layer with a convolution kernel of 28×28 and 256 channels and a convolution kernel of 28×28 and 80 channels to obtain a mask to achieve constraints on human body segmentation.
[0036] (III) The beneficial effects of the present invention include the following:
[0037] (1) The present invention proposes a method for reconstructing a three-dimensional model of a multi-person human body from a low-resolution image. By inputting a low-resolution image, a more accurate human body shape and posture model can be reconstructed using the above method. The method proposes a cross-scale feature reference strategy and introduces contrast learning constraints.
[0038] (2) The present invention provides a method for reconstructing a multi-person human body model for low-resolution images, which solves the problem that the prior art cannot obtain relatively accurate reconstruction results in low-resolution images.
[0039] (3) The present invention proposes a cross-scale feature reference strategy by introducing the feature information of the high-resolution branch as a guide, comparing the high-resolution features with the low-resolution features, and guiding the low-resolution network to more effectively extract the feature information of the low-resolution image, thereby optimizing the feature extraction of the low-resolution branch; at the same time, the contrast learning constraint is introduced to optimize the feature information of different scenes, distinguish the feature information from different scenes, and make the low-resolution branch features from the same scene closer to the high-resolution branch features, thereby increasing the amount of feature information extracted from the low-resolution image.
[0040] (4) In order to solve the more serious multi-person occlusion problem in low-resolution images, the present invention introduces an instance segmentation network on the basis of the original reconstruction network, and optimizes the two networks simultaneously through a multi-task learning mechanism, thereby effectively solving the problem of inaccurate reconstruction results caused by multi-person occlusion in low-resolution images, thereby improving the accuracy of the human body detection frame and increasing the robustness of the model to the occlusion problem.
[0041] (5) The multi-person human body model reconstruction method for low-resolution images proposed in this invention has achieved the best results on the public datasets Panoptic and MuPoTS-3D. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] Figure 1 A multi-person reconstruction network block diagram under low-resolution images in a multi-person human body model reconstruction method for low-resolution images proposed by the present invention;
[0043] Figure 2 This is an instance segmentation network diagram based on a multi-task learning mechanism in a multi-person human body model reconstruction method for low-resolution images proposed by the present invention;
[0044] Figure 3 This is a schematic diagram of a cross-scale feature reference strategy in a multi-person human body model reconstruction method for low-resolution images proposed by the present invention;
[0045] Figure 4 A schematic diagram of human body reconstruction results on COCO and MuPoTS-3D test sets in a multi-person human body model reconstruction method for low-resolution images proposed in the present invention;
[0046] Figure 5 This is a comparison diagram of qualitative results between a multi-person human body model reconstruction method for low-resolution images proposed in the present invention and a mainstream multi-person reconstruction method in the prior art. DETAILED DESCRIPTION
[0047] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0048] Embodiment 1:
[0049] A method for reconstructing a multi-person human body model from a low-resolution image comprises the following steps:
[0050] S1. Perform data preprocessing on the public dataset, reduce the resolution of the high-resolution image by downsampling it to obtain a low-resolution image, and scale the low-resolution image to a uniform size while maintaining the original aspect ratio of the image for training the low-resolution branch network;
[0051] The pretreatment process described in S1 mainly includes the following steps:
[0052] S101, maintaining the original aspect ratio of the high-resolution image, downsampling the high-resolution image to (208, 128) to obtain a low-resolution image;
[0053] S102, unify the low-resolution image to (832, 512) by bilinear interpolation, and fill the insufficient part with 0;
[0054] S2. A high-resolution branch network is trained using the original high-resolution image. The high-resolution branch network is divided into a target detection stage and an SMPL human reconstruction stage. In the target detection stage, feature extraction is achieved through the backbone network and pyramid network of the target detection network, and then the human body region is identified using the region candidate network and the region of interest network. Finally, the human body region identified by the human body detection frame is analyzed and a 3D human body model is reconstructed.
[0055] S3, using the low-resolution image preprocessed in S1 to train the low-resolution branch network, and reconstructing the low-resolution image through the target detection stage and SMPL human body reconstruction stage that share parameters with the high-resolution branch network;
[0056] After training the high-resolution branch network in S2, the parameters of the high-resolution branch network are fixed, and in the process of training the low-resolution branch network with low-resolution images in S3, the parameters of the high-resolution branch network are not updated through back propagation;
[0057] S4. A spatial attention mechanism with unshared parameters is designed at the front end of the target detection network to extract feature information of the high-resolution branch network and the low-resolution branch network, respectively, and then to better distinguish feature information of different resolutions by increasing the recognition of the high-resolution branch network and the low-resolution branch network; the attention mechanism used at the front end of the target detection network in S4 is as follows:
[0058] y i =R(φ(x i )×x i ),i∈{0,1}
[0059] Where i represents the corresponding branch, 0 is the high-resolution branch, and 1 is the low-resolution branch; i represents the input image features, φ represents the spatial attention mechanism, R represents the backbone network of the feature extraction part, and y i Represents the features after passing through the backbone network;
[0060] S5. In the training process of the low-resolution branch network, a cross-scale feature reference strategy is added in the target detection stage, and the feature information of the high-resolution branch network is used to guide the generation of the feature information of the low-resolution branch network; at the same time, contrast learning constraints are introduced to the highest-level features in the pyramid network to better distinguish the image information of different scenes, so that the features of the low-resolution branch network are closer to the high-resolution branch network;
[0061] The specific implementation process in S5 is as follows:
[0062] S501, for an input low-resolution image, identifying a human body in the low-resolution image through a target detection network;
[0063] S502, during the recognition process, comparing the highest-level features of the pyramid network of the feature extraction parts of the high-resolution branch network and the low-resolution branch network;
[0064] S503, effectively guiding the low-resolution network feature generation by constraining the feature distance between the high-resolution branch network and the low-resolution branch network;
[0065] S504, for the feature information of the low-resolution branch network, a vector with the same feature dimension as the high-resolution branch network is obtained through a quasi-encoder-decoder network, that is, the feature information of the low-resolution branch network is encoded through a series of convolutional networks, and then the information is decoded into the information domain of the high-resolution feature branch network through the corresponding convolutional network, and the final output result is constrained by the L2 loss to the feature information of the high-resolution branch network;
[0066] S505. At the same time, contrastive learning loss is introduced to constrain the highest-level features of the pyramid network of the high-resolution branch network and the low-resolution branch network extracted in S502, and L2 constraints are applied to the human body detection box results of the high-resolution branch network and the low-resolution branch network, thereby improving the accuracy of the detection results of the low-resolution branch network;
[0067] The contrastive learning loss function corresponding to the contrastive learning loss described in S505 is as follows:
[0068]
[0069] in and x 低分 They represent the feature values from the high-resolution branch network and the feature values from the low-resolution branch network respectively, γ is an adjustable hyperparameter, and Q represents the feature queue size;
[0070] S6. Based on S5, an instance segmentation network is added to the SMPL reconstruction stage. The instance segmentation network and the reconstruction network are optimized simultaneously under the multi-task learning mechanism, thereby improving the accuracy of the human detection frame and the accuracy of the reconstruction results, and better solving the multi-person occlusion problem in low-resolution images;
[0071] The specific implementation process of S6 is as follows:
[0072] S601, adding an instance segmentation network to the SMPL reconstruction network part of the low-resolution branch network;
[0073] S602, jointly optimizing the high-resolution branch network and the low-resolution branch network through a multi-task learning mechanism to better solve the multi-person occlusion problem;
[0074] S603, inputting the sampling results of the target detection stage into the original reconstruction network and the instance segmentation network respectively;
[0075] S604, in the instance segmentation network part, firstly, the sampling result is passed through a convolution layer with a convolution kernel of 14×14 and a channel number of 256, and repeated four times to obtain the extracted feature information, and then the mask is obtained by passing through a convolution layer with a convolution kernel of 28×28 and a channel number of 256 and a convolution kernel of 28×28 and a channel number of 80 to realize the constraint of human body segmentation;
[0076] Specifically, for the low-resolution branch network, after the input image undergoes feature extraction in the target detection stage to obtain the human detection frame and corresponding area feature information, these features are not only input into the original multi-person reconstruction network part, but also into the instance segmentation network part to achieve joint optimization of the human detection frame and the sampling area, making the model more robust to occlusion problems.
[0077] Embodiment 2:
[0078] See also Figure 1-5 The specific implementation process of the multi-person human body model reconstruction method for low-resolution images described in Example 1 is as follows:
[0079] (I) Data preprocessing:
[0080] The present invention uses the publicly available Human3.6M, MPI-INF 3DHP, COCO, and MPII datasets, which include crowd activities in a variety of situations. In order to obtain low-resolution images, these data are first downsampled to (208, 128) while maintaining the original aspect ratio of the image. For unified training, the image is then fixed to (832, 512) through bilinear interpolation, and the insufficient area is filled with 0.
[0081] (II) Dual-branch multi-person reconstruction network:
[0082] During the training process, the high-resolution image is first input into the high-resolution branch for training to obtain feature information from the high-resolution image; then the parameters of the branch network are fixed, and in the process of training the low-resolution network with low-resolution images, the parameters of the high-resolution branch network are not updated through back propagation; in order to distinguish branches of different resolutions, a spatial attention mechanism with non-shared parameters is designed at the front end of the object detection network;
[0083] Specifically, after the image is input into the network, its average and maximum values are calculated, and the convolution kernel is input into the convolution network with 7×7 and 1 channel. The attention weight is obtained through the Sigmoid activation function, which is multiplied with the input image to obtain the feature information, and then propagated backward;
[0084] (III) Cross-scale feature reference strategy:
[0085] Based on the above steps, the highest-level features of the pyramid network in the feature extraction part of the target detection stage are constrained; for the feature extraction process of the low-resolution branch, a cross-scale feature reference strategy is proposed: first, the highest-level features of the pyramid network pass through two conventional convolutional network modules, where a conventional convolutional network module consists of a convolutional layer, a normalization layer, and a ReLU activation function, and then the information is encoded through pooling; then it also passes through two conventional convolutional networks, and then decodes the information through the pooling layer; finally, the feature information is mapped to the original feature dimension through two convolutional networks, and L2 constraints are performed on the high-resolution feature information;
[0086] (IV) Multi-task learning mechanism:
[0087] On the basis of the above steps, an instance segmentation network is added to the SMPL reconstruction network part of the low-resolution branch, and the two networks are jointly optimized through a multi-task learning mechanism to better solve the multi-person occlusion problem; specifically, the sampling results of the target detection stage are input into the original reconstruction network and the instance segmentation network respectively; in the instance segmentation part, the sampling results are first passed through a convolution layer with a convolution kernel of 14×14 and 256 channels, repeated four times to obtain the extracted feature information, and then passed through a convolution layer with a convolution kernel of 28×28 and 256 channels and a convolution kernel of 28×28 and 80 channels to obtain a mask to realize the constraint on human body segmentation;
[0088] like Figure 1 As shown, a block diagram of a multi-person reconstruction network under low-resolution images proposed in the present invention is shown. The network consists of two branches, corresponding to high-resolution images and low-resolution images respectively. In the specific training process, the high-resolution branch is first trained and then fixed. In the training of the low-resolution branch, the reconstruction feature generation of the low-resolution branch network is guided by constraints such as a cross-scale feature reference strategy, and does not participate in back propagation.
[0089] like Figure 2 As shown, the cross-scale feature reference strategy diagram proposed in the present invention is shown, which passes the features of the low-resolution network through a series of convolutional networks to obtain a feature vector with the same dimension as the high-resolution image features, and then constrains the feature distance between the two branches through the L2 loss function;
[0090] like Figure 3 As shown, the instance segmentation network diagram based on the multi-task learning mechanism proposed in the present invention is shown. By adding an instance segmentation network to the low-resolution branch, the detection frame and sampling results of the target detection stage are reversely constrained to optimize the multi-person occlusion problem;
[0091] like Figure 4As shown in the figure, the human body reconstruction results of the present invention on the COCO and MuPoTS-3D test sets are shown. The results fully show that the 3D human body reconstruction method proposed in the present invention can more effectively utilize the image information at low resolution, more accurately identify the human body area, and thus reconstruct a more accurate 3D human body model;
[0092] like Figure 5 As shown in the figure, the qualitative results of the present invention are compared with those of the current mainstream multi-person reconstruction method. It can be seen that the present method can identify individuals with a smaller proportion and the identification position is relatively accurate. At the same time, for the reconstructed human body model, the present method is closer to the real result in terms of human body shape and posture estimation.
[0093] Table 1 lists the comparison of the quantitative results of the present invention and the current mainstream multi-person reconstruction methods on the Panoptic dataset; CRMH was proposed by Jiang et al. (Jiang W, Kolotouros N, Pavlakos G, et al. Coherent Reconstruction of Multiple Humans from a Single Image[J]. Proceedings of the IEEE / CVF Conference on Computer Vision and Pattern Recognition(CVPR), 2020) in 2020, BMP was proposed by Zhang et al. (Zhang J, Yu D, Liew JH, et al. Body Meshes as Points[J], 2021) in 2021, and ROMP was proposed by Sun et al. (Sun Y, Bao Q, Liu W, et al. Monocular, one-stage, regression of multiple 3d people[C]. In Proceedings of the IEEE / CVF International Conference on Computer Vision (ICCV, 2021) was proposed in 2021; the evaluation index of the quantitative results is MPJPE, which is used to measure the Euclidean distance between the predicted human 3D model and the real human model; the data set is the four commonly used sub-datasets of Panoptic, Haggling, Mafia, Ultim. and Pizza. It can be seen that the reconstruction result of the present invention has achieved the best effect in the problem of reconstructing multi-person human models under low-resolution images;
[0094] Table 1
[0095] Dataset Evaluation Method result CRMH BMP ROMP This method Panoptic MPJPE Mean 143.56 135.4 154.43 131.18
[0096] Table 2 lists the comparison of the quantitative results of the present invention and the current mainstream multi-person reconstruction methods on the MuPoTS-3D dataset; CRMH was proposed by Jiang et al. (Jiang W, Kolotouros N, Pavlakos G, et al. Coherent Reconstruction of Multiple Humans from a Single Image[J]. Proceedings of the IEEE / CVF Conference on Computer Vision and Pattern Recognition(CVPR), 2020) in 2020, and BMP was proposed by Zhang et al. (Zhang J, Yu D, Liew JH, et al. Body Meshes as Points[J], 2021) in 2021. The evaluation index of the quantitative results is 3DPCK, which is used to measure the proportion of key points of the match between the predicted three-dimensional human body model and the real human body model; it can be seen that the reconstruction results of the present invention have achieved the best effect in the problem of reconstructing multi-person human body models under low-resolution images;
[0097] Table 2
[0098] Dataset Evaluation Method CRMH BMP This method MuPoTS-3D 3DPCK 66.34 73.83 75.42
[0099] The above description is only a preferred specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can make equivalent replacements or changes according to the technical scheme and improved concepts of the present invention within the technical scope disclosed by the present invention, and they should be covered by the protection scope of the present invention.
Claims
1. A method for reconstructing a multi-person human body model from a low-resolution image, characterized in that: The steps include: S1. Perform data preprocessing on the public dataset, reduce the resolution of the high-resolution image by downsampling it to obtain a low-resolution image, and scale the low-resolution image to a uniform size while maintaining the original aspect ratio of the image for training the low-resolution branch network; S2. A high-resolution branch network is trained using the original high-resolution image. The high-resolution branch network is divided into a target detection stage and an SMPL human reconstruction stage. In the target detection stage, feature extraction is achieved through the backbone network and pyramid network of the target detection network, and then the human body region is identified using the region candidate network and the region of interest network. Finally, the human body region identified by the human body detection frame is analyzed and a 3D human body model is reconstructed. S3, using the low-resolution image preprocessed in S1 to train the low-resolution branch network, and reconstructing the low-resolution image through the target detection stage and SMPL human body reconstruction stage that share parameters with the high-resolution branch network; S4. A spatial attention mechanism with unshared parameters is designed at the front end of the target detection network to extract feature information of the high-resolution branch network and the low-resolution branch network respectively, thereby increasing the recognition of the high-resolution branch network and the low-resolution branch network to better distinguish feature information of different resolutions; S5. In the training process of the low-resolution branch network, a cross-scale feature reference strategy is added in the target detection stage, and the feature information of the high-resolution branch network is used to guide the generation of the feature information of the low-resolution branch network; at the same time, contrast learning constraints are introduced to the highest-level features in the pyramid network to better distinguish the image information of different scenes, so that the features of the low-resolution branch network are closer to the high-resolution branch network; S6. Based on S5, an instance segmentation network is added to the SMPL reconstruction stage, and the instance segmentation network and the reconstruction network are simultaneously optimized under the multi-task learning mechanism, thereby improving the accuracy of the human detection frame and the precision of the reconstruction results.
2. The method for reconstructing a multi-person human body model based on a low-resolution image according to claim 1, characterized in that: The pretreatment process described in S1 mainly includes the following steps: S101, maintaining the original aspect ratio of the high-resolution image, downsampling the high-resolution image to (208, 128) to obtain a low-resolution image; S102, unify the low-resolution image to (832, 512) by bilinear interpolation, and fill the insufficient part with 0.
3. The method for reconstructing a multi-person human body model based on a low-resolution image according to claim 1, characterized in that: After training the high-resolution branch network in S2, the parameters of the high-resolution branch network are fixed, and in the process of training the low-resolution branch network with low-resolution images in S3, the parameters of the high-resolution branch network are not updated through back propagation.
4. The method for reconstructing a multi-person human body model based on a low-resolution image according to claim 1, characterized in that: The attention mechanism used in the target detection network front end in S4 is as follows: y i =R(φ(x i )×x i ),i∈{0,1} Where i represents the corresponding branch, 0 is the high-resolution branch, and 1 is the low-resolution branch; x i represents the input image features, φ represents the spatial attention mechanism, R represents the backbone network of the feature extraction part, and y i Represents the features after passing through the backbone network.
5. The method for reconstructing a multi-person human body model based on a low-resolution image according to claim 1, characterized in that: The specific implementation process in S5 is as follows: S501, for an input low-resolution image, identifying a human body in the low-resolution image through a target detection network; S502, during the recognition process, comparing the highest-level features of the pyramid network of the feature extraction parts of the high-resolution branch network and the low-resolution branch network; S503, effectively guiding the low-resolution network feature generation by constraining the feature distance between the high-resolution branch network and the low-resolution branch network; S504, for the feature information of the low-resolution branch network, a vector with the same feature dimension as the high-resolution branch network is obtained through a quasi-encoder-decoder network, that is, the feature information of the low-resolution branch network is encoded through a series of convolutional networks, and then the information is decoded into the information domain of the high-resolution feature branch network through the corresponding convolutional network, and the final output result is constrained by the L2 loss to the feature information of the high-resolution branch network; S505. At the same time, contrastive learning loss is introduced to constrain the highest-level features of the pyramid network of the high-resolution branch network and the low-resolution branch network extracted in S502, and L2 constraints are applied to the human body detection box results of the high-resolution branch network and the low-resolution branch network, thereby improving the accuracy of the detection results of the low-resolution branch network.
6. The method for reconstructing a multi-person human body model based on a low-resolution image according to claim 5, characterized in that: The contrastive learning loss function corresponding to the contrastive learning loss described in S505 is as follows: in and x 低分 They represent the feature values from the high-resolution branch network and the feature values from the low-resolution branch network respectively, γ is an adjustable hyperparameter, and Q represents the feature queue size.
7. The method for reconstructing a multi-person human body model based on a low-resolution image according to claim 1, characterized in that: The specific implementation process of S6 is as follows: S601, adding an instance segmentation network to the SMPL reconstruction network part of the low-resolution branch network; S602, jointly optimizing the high-resolution branch network and the low-resolution branch network through a multi-task learning mechanism to better solve the multi-person occlusion problem; S603, inputting the sampling results of the target detection stage into the original reconstruction network and the instance segmentation network respectively; S604. In the instance segmentation network part, the sampling result is first passed through a convolution layer with a convolution kernel of 14×14 and 256 channels, repeated four times to obtain the extracted feature information, and then passed through a convolution layer with a convolution kernel of 28×28 and 256 channels and a convolution kernel of 28×28 and 80 channels to obtain a mask to achieve constraints on human body segmentation.
