Object posture recognition model construction method and apparatus, and object posture recognition method and apparatus

By enhancing and segmenting sample images, and using a self-supervised training method to construct an object posture recognition model, the problems of high training cost and poor recognition accuracy in the existing technology are solved, and a more efficient posture recognition effect is achieved.

WO2024188056A1PCT designated stage expired Publication Date: 2024-09-19BEIJING ZITIAO NETWORK TECH CO LTD

Patent Information

Application Number
PCT/CN2024/079159
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-03-10
Filing Date
2024-02-28
Publication Date
2024-09-19

AI Technical Summary

Technical Problem

In the existing technology, the training of object posture recognition models requires high-cost collection of label samples, resulting in an insufficient number of training samples and affecting the accuracy of the recognition results.

Method used

By enhancing and segmenting the sample image, a mask image block group and an enhanced image block group are generated, and a self-supervised training method is used to train the network and build an object pose recognition model without the need for sample images to carry pose labels.

Benefits of technology

It reduces the cost of sample image collection and training, improves the accuracy of object posture recognition and the information processing capability of the model, and facilitates the collection of a large number of samples for training.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024079159_19092024_PF_FP_ABST
    Figure CN2024079159_19092024_PF_FP_ABST
Patent Text Reader

Abstract

The present disclosure relates to an object posture recognition model construction method and apparatus, and an object posture recognition method and apparatus. The object posture recognition model construction method comprises: acquiring a first object sample image; performing enhancement processing on the first object sample image to obtain a sample enhanced image; segmenting the sample enhanced image to obtain an enhanced image block group, and performing mask processing on some image blocks in the enhanced image block group to obtain a masked image block group; on the basis of the masked image block group, acquiring first posture recognition information of a target object by means of a first network, and on the basis of the enhanced image block group, acquiring second posture recognition information of the target object by means of a second network; performing self-supervised training on the first network according to the difference between the first posture recognition information and the second posture recognition information; and constructing an object posture recognition model according to the first network that has undergone self-supervised training. The present disclosure can improve the accuracy of posture recognition results while reducing the training cost.
Need to check novelty before this filing date? Find Prior Art

Description

Method for constructing object posture recognition model, object posture recognition method and device

[0001] This application claims priority to the Chinese invention patent application entitled “Method for constructing an object posture recognition model, method and device for object posture recognition” and application number 202310257873X, filed on March 10, 2023. The entire contents of that application are incorporated herein by reference. Technical Field

[0002] The present disclosure relates to the field of artificial intelligence technology, and in particular to a method for constructing an object posture recognition model, an object posture recognition method, and a device. Background Art

[0003] Recognizing the pose of a target object, such as a hand gesture or human body position, is required in many scenarios, such as gaming and control. Most related technologies require supervised training of network models using labeled sample images. This requires high acquisition costs for training these training samples, and consequently, high model training costs. Furthermore, this high cost often results in insufficient training samples, leading to poor accuracy in the trained network model's pose recognition results.

[0004] Summary of the Invention

[0005] In order to solve the above technical problems or at least partially solve the above technical problems, the present disclosure provides a method for constructing an object posture recognition model, an object posture recognition method, and an apparatus.

[0006] In a first aspect, an embodiment of the present disclosure provides a method for constructing an object posture recognition model, comprising: obtaining a first object sample image; wherein the first object sample image is an image containing a target object; performing enhancement processing on the first object sample image to obtain a sample enhanced image; segmenting the sample enhanced image to obtain an enhanced image block group, and performing mask processing on some image blocks in the enhanced image block group to obtain a mask image block group; based on the mask image block group, obtaining first posture recognition information of the target object through a first network; and based on the enhanced image block group, obtaining second posture recognition information of the target object through a second network; performing self-supervised training on the first network based on the difference between the first posture recognition information and the second posture recognition information; and constructing an object posture recognition model based on the first network after self-supervised training.

[0007] In a second aspect, an embodiment of the present disclosure provides an object posture recognition method, comprising: acquiring an image to be recognized; using a pre-built object posture recognition model to recognize the posture of a target object in the image to be recognized; wherein the object posture recognition model is obtained based on the object posture recognition model construction method provided in the first aspect.

[0008] In a third aspect, an embodiment of the present disclosure provides a device for constructing an object posture recognition model, comprising: a sample image acquisition module for acquiring a first object sample image; wherein the first object sample image is an image containing a target object; a sample image enhancement module for performing enhancement processing on the first object sample image to obtain a sample enhanced image; an image segmentation and mask module for segmenting the sample enhanced image to obtain an enhanced image block group, and performing mask processing on some image blocks in the enhanced image block group to obtain a mask image block group; a posture recognition module for obtaining first posture recognition information of the target object through a first network based on the mask image block group; and obtaining second posture recognition information of the target object through a second network based on the enhanced image block group; a self-supervised training module for performing self-supervised training on the first network according to the difference between the first posture recognition information and the second posture recognition information; and a model construction module for constructing an object posture recognition model based on the first network after self-supervised training.

[0009] In a fourth aspect, an embodiment of the present disclosure provides an object posture recognition device, comprising: an image acquisition module for acquiring an image to be recognized; a posture recognition module for using a pre-built object posture recognition model to recognize the posture of a target object in the image to be recognized; wherein the object posture recognition model is obtained based on the object posture recognition model construction method described in the first aspect.

[0010] In a fifth aspect, an embodiment of the present disclosure provides an electronic device, comprising: a processor; a memory for storing executable instructions of the processor; the processor for reading the executable instructions from the memory and executing the instructions to implement the method for constructing an object posture recognition model of the first aspect, or to implement the object posture recognition method of the second aspect.

[0011] In a sixth aspect, an embodiment of the present disclosure provides a computer-readable storage medium storing a computer program for executing the method for constructing an object posture recognition model of the first aspect, or implementing the object posture recognition method of the second aspect.

[0012] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present disclosure, nor are they intended to limit the scope of the present disclosure. Other features of the present disclosure will become readily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0014] In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0015] FIG1 is a flow chart of a method for constructing an object posture recognition model provided by an embodiment of the present disclosure;

[0016] FIG2 is a schematic diagram of a network training method according to an embodiment of the present disclosure;

[0017] FIG3 is a schematic diagram of a network training method according to an embodiment of the present disclosure;

[0018] FIG4 is a schematic structural diagram of an object posture recognition model provided by an embodiment of the present disclosure;

[0019] FIG5 is a schematic diagram of an application of an object posture recognition model provided by an embodiment of the present disclosure;

[0020] FIG6 is a flow chart of a method for object posture recognition according to an embodiment of the present disclosure;

[0021] FIG7 is a schematic structural diagram of a device for constructing an object posture recognition model provided by an embodiment of the present disclosure;

[0022] FIG8 is a schematic structural diagram of an object posture recognition device provided by an embodiment of the present disclosure;

[0023] FIG9 is a schematic structural diagram of an electronic device provided by an embodiment of the present disclosure. DETAILED DESCRIPTION

[0024] In order to more clearly understand the above-mentioned objectives, features and advantages of the present disclosure, the scheme of the present disclosure will be further described below. It should be noted that the embodiments of the present disclosure and the features therein can be combined with each other in the absence of conflict.

[0025] In the following description, many specific details are set forth to facilitate a full understanding of the present disclosure, but the present disclosure may also be implemented in other ways different from those described herein; it is obvious that the embodiments in the specification are only part of the embodiments of the present disclosure, rather than all of the embodiments.

[0026] Figure 1 is a flow chart of a method for constructing an object posture recognition model provided by an embodiment of the present disclosure. The method can be executed by a device for constructing an object posture recognition model, wherein the device can be implemented using software and / or hardware and can generally be integrated into an electronic device. As shown in Figure 1, the method mainly includes the following steps S102 to S112:

[0027] Step S102 : Acquire a first object sample image; wherein the first object sample image is an image containing a target object.

[0028] The embodiments of the present disclosure do not limit the target object. For example, the target object can be a hand or other specified part of the human body, or the target object can be the entire human body; or the target object can be an animal such as a cat or dog, or a robot, which is not limited here.

[0029] Step S104: performing enhancement processing on the first object sample image to obtain a sample enhanced image.

[0030] In practical applications, one or more random data enhancement processes can be performed on the first object sample image, and the enhancement processes can be, for example, rotation, blurring, color change, scaling, filtering, etc., which are not limited here. In some specific implementation examples, two enhancement processes can be performed on the first object sample image respectively, and sample enhanced images corresponding to each enhancement process can be obtained respectively, that is, the sample enhanced image includes a first enhanced image and a second enhanced image. The first object sample image is enhanced to obtain a sample enhanced image, including: performing a first enhancement process on the first object sample image to obtain a first enhanced image; and performing a second enhancement process on the first object sample image to obtain a second enhanced image; wherein the first enhancement process is different from the second enhancement process. Through the above-mentioned enhancement processing method, an image with different information presentation methods can be obtained on the basis of the original first object sample image, so that the network can be better trained based on the two images with different information presentation methods, which helps the network finally trained to have stronger information processing capabilities.

[0031] Step S106 : segmenting the sample enhanced image to obtain an enhanced image block group, and performing mask processing on some image blocks in the enhanced image block group to obtain a masked image block group.

[0032] In the disclosed embodiment, the sample enhanced image obtained through the enhancement process can be segmented to obtain multiple image blocks, which can be referred to as enhanced image block groups. Subsequently, some of the image blocks in the enhanced image block group can be masked, that is, some of the image blocks are covered or erased. In actual applications, the image blocks to be masked can be specified or randomly selected, and there is no limitation here. In addition, if multiple sample enhanced images are obtained in the aforementioned step S104, each sample enhanced image has a corresponding enhanced image block group and mask image block group.

[0033] Step S108: Based on the mask image block group, first posture recognition information of the target object is obtained through the first network; and based on the enhanced image block group, second posture recognition information of the target object is obtained through the second network.

[0034] In practical applications, the first network can be used to directly perform feature extraction on the masked image block group to obtain the target object's posture recognition information. Alternatively, preliminary feature extraction can be performed on the masked image block group first, and then the shallow feature vectors of the masked image block group are input into the first network for deep feature extraction. This is not limited here. To distinguish it from the posture recognition information of the second network, the target object's posture recognition information obtained by the first network is referred to as the first posture recognition information, and the target object's posture recognition information obtained by the second network is referred to as the second posture recognition information. The posture recognition information can include, for example, the object posture obtained by network recognition (referred to as the recognized posture). The recognized posture can be represented by parameters such as shape parameters and posture parameters, for example, the shape parameters and posture parameters of the three-dimensional model data corresponding to the target object. In addition, the posture recognition information can also include intermediate information used to generate the recognized posture. This intermediate information can include image block information in the enhanced image block group or the masked image block group. The image block information can be used for posture recognition or image reconstruction. This intermediate information can also include feature vectors used to generate the image block information, such as feature vectors output by a specified network layer of the first network. This is not limited here.

[0035] In the disclosed embodiments, two networks are used to perform gesture recognition based on a mask image block group and an enhanced image block group, respectively. The first network can be considered a student network, and the second network can be considered a teacher network. The structures of the first and second networks can be the same or different, without limitation. In some specific implementation examples, the first and second networks can both be implemented using Transformer networks.

[0036] In practical applications, all first posture recognition information can be directly obtained through the first network. Alternatively, a portion of the first posture recognition information can be obtained through the first network, and then the remaining first posture recognition information can be obtained through other networks based on the output information of the first network. Alternatively, a feature vector used to generate the first posture recognition information can be obtained through the first network, and then the first posture recognition information can be generated through other networks based on the feature vector output by the first network. The specific implementation method can be flexibly set according to needs and is not limited here. The method for obtaining the second posture recognition information through the second network is similar and will not be repeated here.

[0037] In some specific implementation examples, when obtaining gesture recognition information through the first network or the second network, the first network or the second network can also obtain gesture recognition information with the help of other networks, such as the first network and the second network are mainly used for feature extraction, and the other network is mainly used for information recognition. In some implementation examples, the first network and the second network are respectively connected to a third network, that is, the third network is a shared network of the first network and the second network. On this basis, when the above step S108 is implemented, the feature vector of the mask image block group can be obtained through the first network, and the first gesture recognition information of the target object corresponding to the feature vector of the mask image block group can be obtained through the third network; and the feature vector of the enhanced image block group can be obtained through the second network, and the second gesture recognition information of the target object corresponding to the feature vector of the enhanced image block group can be obtained through the third network. The present disclosure embodiment does not limit the implementation method of the third network. For example, the third network can be an MLP (Multilayer Perceptron) network. MLP is a fully connected neural network including an input layer, a hidden layer, and an output layer. The layers are fully connected and can effectively perform classification processing based on the feature vector, and ultimately output gesture recognition information.

[0038] Step S110 , performing self-supervised training on the first network based on the difference between the first posture recognition information and the second posture recognition information.

[0039] It is understandable that although the first network analyzes and processes the masked image block group and the second network analyzes and processes the enhanced image block group, since both networks essentially recognize the posture of the target object in the first object sample image, it is theoretically expected that the posture recognition information output by the two networks will match. Therefore, the disclosed embodiment does not require the first object sample image to carry posture labels. Instead, the first network is self-supervisedly trained directly by measuring the difference between the first posture recognition information and the second posture recognition information. While the first network is self-supervised, the parameters of the second network can also be updated.

[0040] In practical applications, the difference between the first posture recognition information and the second posture recognition information can be represented by a loss function value. The greater the difference, the greater the loss function value. The first network can then be trained based on the loss function value to adjust the parameters of the first network. In specific implementation, the parameters of the first network can be adjusted first according to the loss function value to reduce the loss function value. That is, the difference between the first posture recognition information and the second posture recognition information can be reduced by adjusting the network parameters. The parameters of the second network can then be updated with the adjusted parameters of the first network until the preset training end conditions are met. The training end conditions can be, for example, that the loss function value between the first posture recognition information and the second posture recognition information converges to a preset threshold. In this way, the posture recognition information output by the trained first and second networks can be approximated and meet expectations.

[0041] Step S112: constructing an object posture recognition model based on the first network after self-supervised training.

[0042] It can be understood that since the first network processes the masked image group, the first posture recognition information obtained can still be similar to the second posture recognition information obtained by the second network processing the unmasked image group. Therefore, the first network has good information processing capabilities, can effectively extract features from images and further obtain more accurate posture recognition information. Therefore, in the embodiment of the present disclosure, the first network after self-supervised training can be directly used to construct an object posture recognition model.

[0043] In summary, the method for constructing the object posture recognition model provided by the embodiments of the present disclosure does not require the object sample images to carry posture labels. Instead, the sample images are enhanced, the enhanced sample images are segmented to obtain an enhanced image block group, and some of the image blocks in the enhanced image block group are masked to obtain a masked image block group. A first network is used to perform posture recognition based on the masked image block group, and a second network is used to perform posture recognition based on the enhanced image block group. Subsequently, based on the difference between the first posture recognition information and the second posture recognition information, network training is performed using a self-supervised approach. Finally, the trained first network is used to construct the object posture recognition model. Since the sample images do not need to carry posture labels, the sample image acquisition cost is greatly reduced. This not only effectively reduces the model training cost, but also facilitates the acquisition of a large number of sample images for training, helping to improve the accuracy of posture recognition results. Furthermore, the object posture recognition model is constructed based on the first network, which processes the masked image block group during training. Therefore, the first network has excellent information processing capabilities, which further helps to improve the accuracy of posture recognition results.

[0044] On the basis that the sample enhanced image includes a first enhanced image and a second enhanced image, the first posture recognition information includes: a first recognition posture obtained based on the mask image block group of the first enhanced image, and a second recognition posture obtained based on the mask image block group of the second enhanced image; the second posture recognition information includes: a third recognition posture obtained based on the enhanced image block group of the first enhanced image, and a fourth recognition posture obtained based on the enhanced image block group of the second enhanced image.

[0045] Specifically, since two enhancement processing methods are used to generate two enhanced images, each having a corresponding enhanced image block group and mask image block group, and the first and second enhanced images correspond to different enhancement processing methods, the information presentation methods also differ. The results obtained by analyzing and processing the enhanced image block groups or mask image block groups corresponding to the first and second enhanced images by the same untrained network may also differ. Therefore, the first posture recognition information and the second posture recognition information each include two recognized postures. The recognized postures can be represented by parameters such as shape parameters and posture parameters, such as shape parameters and posture parameters of the three-dimensional model data corresponding to the target object. That is, the parameters for different recognized postures may vary. However, since the first and second enhanced images correspond to the same sample image of the same object, it is theoretically expected that the network outputs the same recognized posture. That is, regardless of the enhancement processing method used or whether or not partial image blocks are masked, the network's final output is expected to be the correct posture of the target object in the first sample image. To improve the generalization and recognition performance of the ultimately constructed recognition model, network training can be performed based on the recognized postures output by the first and second networks. In some specific implementation examples, performing self-supervised training on the first network based on the difference between the first posture recognition information and the second posture recognition information includes the following steps a and b:

[0046] Step a: determining a first loss based on a difference between the first recognized posture and the fourth recognized posture, and a difference between the second recognized posture and the third recognized posture.

[0047] In a specific implementation, a preset first loss function can be used to determine the first loss function value (i.e., the first loss) based on the difference between the first and fourth recognition postures, as well as the difference between the second and third recognition postures. The disclosed embodiment does not limit the first loss function. For example, the first loss function can be a cross-entropy loss.

[0048] In practical applications, if the first enhancement processing or the second enhancement processing involves processing methods such as rotation or offset, a posture calibration method such as an inverse matrix can be used to restore the network's recognition posture so that it corresponds to the recognition posture in the first object sample image, thereby better performing a comparison of the differences between different recognition postures.

[0049] It is understandable that the first recognition posture is obtained by analyzing the masked image block group of the first enhanced image through the first network. The fourth recognition posture is obtained by analyzing the enhanced image block group of the second enhanced image through the second network. Both the enhanced image and the image block group category (masked or not) are different. Comparing the difference between the two places higher requirements on the network than directly comparing the difference between the first recognition posture and the third recognition posture, which helps to train a network with stronger information processing capabilities.

[0050] Step b, self-supervised training of the first network is performed based on the first loss. That is, the parameters of the first network can be adjusted in the direction of reducing the first loss until the first loss meets the requirements. In addition, when adjusting the parameters of the first network according to the first loss, the relevant parameters of the second network will also be adjusted according to the parameter adjustment results of the first network, which will not be described in detail here. It should be understood that in actual applications, when self-supervised training of the first network is performed based on the first loss, other losses can also be introduced, that is, the first network can be trained simultaneously based on the first loss and other losses until the total loss of the first loss and other losses meets the requirements.

[0051] In addition, the first posture recognition information may also include: the image block information in the mask image block group of the first enhanced image and the image block information in the mask image block group of the second enhanced image; the second posture recognition information includes: the image block information in the enhanced image block group of the first enhanced image and the image block information in the enhanced image block group of the second enhanced image. Among them, the image block information can also be represented in the form of a feature vector, which can reflect image space information, image content information, etc., which is not limited here. The embodiment of the present disclosure expects that the first network can identify the information of the masked image blocks based on the unmasked image blocks in the mask image block group, so that the image block information output by the first network is consistent with the image block information output by the second network. Therefore, in order to achieve the expectation as much as possible, the network training can be performed based on the image block information output by each of the first network and the second network. In some specific implementation examples, the first network and the second network are self-supervised trained based on the difference between the first posture recognition information and the second posture recognition information, including the following steps 1 and 2:

[0052] Step 1: Determine a second loss based on the difference between the image block information in the mask image block group of the first enhanced image and the image block information in the enhanced image block group of the first enhanced image, and the difference between the image block information in the mask image block group of the second enhanced image and the image block information in the enhanced image block group of the second enhanced image.

[0053] In a specific implementation, a preset second loss function can be used to determine the second loss function value (i.e., the second loss) based on the difference between the image block information in the mask image block group of the first enhanced image and the image block information in the enhanced image block group of the first enhanced image. The embodiment of the present disclosure does not limit the second loss function. For example, the second loss function can be a cross entropy loss.

[0054] It is understandable that some image blocks in the masked image block group have been occluded, making it more difficult for the first network to analyze and process the masked image block group, and the output information of the occluded image blocks is based on the analysis and identification of information of the unoccluded image blocks. In order to improve the first network's ability to identify information about occluded image blocks, and thereby correspondingly improve the first network's information processing capabilities, the disclosed embodiment uses a second network to analyze the image block information obtained from the unoccluded enhanced image block group and compares it with the image block information obtained from the first network's analysis of the masked image block group. Network training is performed based on the difference between the two, thereby effectively improving the first network's information processing capabilities.

[0055] Step 2: Perform self-supervised training on the first network based on the second loss. It should be understood that in practical applications, when performing self-supervised training on the first network based on the second loss, other losses can also be introduced. That is, the first network can be trained simultaneously based on the second loss and other losses until the total loss of the second loss and other losses meets the requirements. For example, the aforementioned first loss can be introduced, and the first network can be trained based on both the first and second losses. When adjusting the parameters of the first network based on the first and second losses, the relevant parameters of the second network will also be adjusted based on the results of the parameter adjustment of the first network. This will not be further explained here.

[0056] To further improve the model training effect, the step of performing self-supervised training on the first network and the second network based on the difference between the first posture recognition information and the second posture recognition information can also be performed with reference to the following steps A to C:

[0057] In step A, a third loss is obtained according to the difference between the first posture recognition information and the second posture recognition information.

[0058] In some specific implementation examples, the third loss includes the first loss and / or the second loss. The specific method of obtaining the first loss and the second loss can refer to the above-mentioned related content and is not limited here.

[0059] Step B: reconstructing an image using the first posture recognition information to obtain a reconstructed image.

[0060] In some implementation examples, upsampling may be performed a specified number of times based on the image block information in the first gesture recognition information. For example, the image block information may be upsampled four times to obtain a better reconstructed image.

[0061] In other implementation examples, image reconstruction can be performed based on intermediate information carried by the first posture recognition information for generating recognized posture and / or image block information. The intermediate information can be, for example, a feature vector output by a specified network layer of the first network. The feature vector output by the specified network layer can be upsampled and / or fused a specified number of times to obtain a reconstructed image.

[0062] In step C, a fourth loss is obtained according to the difference between the reconstructed image and the sample enhanced image.

[0063] In a specific implementation, a preset fourth loss function can be used to determine the fourth loss function value (i.e., the fourth loss) based on the difference between the reconstructed image and the sample enhanced image. The embodiment of the present disclosure does not limit the fourth loss function. For example, the fourth loss function can be an L1 loss.

[0064] Theoretically, it is expected that the reconstructed image corresponding to the first network can match the sample enhanced image. By comparing the reconstructed image with the sample enhanced image and training the network based on the difference between the two, the first network can achieve pixel-level information restoration capabilities. By analyzing and processing the mask image block group, the results obtained can also better restore the input image of the first network.

[0065] In step D, the first network is trained in a self-supervised manner according to the third loss and the fourth loss.

[0066] In some implementation examples, the weights of the third loss and the fourth loss can be obtained separately, and the weights of the two can be the same or different, which is not limited here. The total loss is then determined based on the weighted sum of the third loss and the fourth loss, and the first network is self-supervised trained based on the total loss. Among them, the third loss includes the first loss and / or the second loss. Taking the third loss including the first loss and the second loss as an example, the first network is trained together based on the first loss, the second loss and the fourth loss until the total loss meets the requirements. In addition, when adjusting the parameters of the first network according to the first loss, the second loss and the fourth loss, the relevant parameters of the second network will also be adjusted according to the parameter adjustment results of the first network, which will not be repeated here.

[0067] For ease of understanding, you can refer to a network training diagram as shown in Figure 2, which clearly illustrates the relationship between the first network, the second network and the third network, wherein the first network and the second network share the third network, the input of the first network is the mask image block group, the input of the second network is the enhanced image block group, and the output of the third network is the first posture recognition information corresponding to the first network and the second posture recognition information corresponding to the second network.

[0068] Based on Figure 2, in some specific implementation examples, a network training diagram can be referred to as shown in Figure 3. The first network and the second network have the same structure and can both be Transformer networks; wherein the first network is regarded as a student network, the second network is regarded as a teacher network, and the third network can be implemented using an MLP network, and the student network and the teacher network share the MLP network.

[0069] FIG3 illustrates a first object sample image, a first enhanced image obtained by performing a first enhancement process on the first object sample image, and a group of image blocks after segmentation (referred to as the first enhanced image block group), as well as a second enhanced image obtained by performing a second enhancement process on the first object sample image, and a group of image blocks after segmentation (referred to as the second enhanced image block group). For ease of distinction, the image segmented with light lines corresponds to the first enhancement process, and the image segmented with dark lines corresponds to the second enhancement process. Subsequently, some image blocks in the first enhanced image block group and the second enhanced image block group will be masked to obtain a first masked image block group and a second masked image block group. In FIG3 , a column of light-colored blocks represents the feature vector of the first enhanced image block group, and a column of dark-colored blocks represents the feature vector of the second enhanced image block group. A column of light-colored blocks containing missing blocks (i.e., white blocks with slashes in FIG3 ) represents the feature vector of the first masked image block group, and a column of dark-colored blocks containing missing blocks represents the feature vector of the second masked image block group. In a specific implementation, some image blocks in the first mask image block group and some image blocks in the second mask image block group can be masked. FIG3 illustrates that the processed image block group can be preliminarily converted into the representation of a feature vector so that the student network or the teacher network can process it on this basis. The MLP network can further process the information output by the student network and the teacher network respectively, thereby generating first posture recognition information corresponding to the student network and second posture recognition information corresponding to the teacher network. In actual applications, the first posture recognition information, in addition to including the recognition posture and image block information output by the MLP network, can also include information output by a specified network layer of the student network, which is not limited here.

[0070] Among them, considering that the first enhancement process or the second enhancement process may involve processing methods such as rotation or offset, FIG3 also illustrates that a posture calibration method such as an inverse matrix can be used to restore the recognition posture output by the MLP to match the posture in the sample image, so as to facilitate subsequent posture comparison. Among them, the first posture recognition information output by the MLP includes both the recognition posture (represented by the first individual block) and the image block information (represented by a column of blocks located below the first individual block). The posture loss L can be determined by using the difference between the recognition posture corresponding to the first mask image block group (the aforementioned first recognition posture) and the recognition posture corresponding to the second enhanced image block group (the aforementioned fourth recognition posture), as well as the difference between the recognition posture corresponding to the second mask image block group (the aforementioned second recognition posture) and the recognition posture corresponding to the first enhanced image block group (the aforementioned third recognition posture). pose(the aforementioned first loss); and, determining the image block loss L according to the difference between the image block information corresponding to the first mask image block group and the image block information corresponding to the first enhanced image block group, and according to the difference between the image block information corresponding to the second mask image block group and the image block information corresponding to the second enhanced image block group. patch (the aforementioned second loss). In addition, it is also shown that an image reconstruction operation can be performed based on the output information of the student network, and the reconstruction loss L is determined based on the difference between the reconstructed image and the input image of the student network. recon (the fourth loss mentioned above), the subsequent pose , image block loss L patch and reconstruction loss L recon The total loss L is calculated and used to train the student network until the total loss L converges to a preset threshold range, resulting in a trained student network. During the student network training, the parameters of the teacher network can be adjusted accordingly based on the parameter adjustment results of the student network.

[0071] For ease of understanding, the posture loss L is given below pose , image block loss L patch and reconstruction loss L recon Specific implementation example:

[0072] Assume P s Represents the student network, P t Represents the teacher network, u and v represent the first enhancement processing method and the second enhancement processing method respectively. The first posture recognition information can be obtained by Indicates that, are the posture information obtained after the student network analyzes and processes the mask image block group of the first enhanced image and the mask image block group of the second enhanced image; the second posture recognition information can be represented by U and V, and U and V are the posture information obtained after the teacher network analyzes and processes the enhanced image block group of the first enhanced image and the enhanced image block group of the second enhanced image; specifically, U=P t (u), V=P t (v), you can refer to the following formula: L recon =||M⊙(T 4 -x)||1

[0073] Among them, T 4 Indicates four times upsampling based on image block information, x represents the input image corresponding to the student network, and M represents the occluded image block area. pose and L patch is the cross entropy loss, L reconL1 loss. In some specific implementation examples, the above losses can be directly added together to obtain the total loss L = L pose +L patch +L recon In practical applications, L pose , L patch , L recon The weights of each network are then used to calculate the total loss L, which is not restricted here. After obtaining the total loss L, the network parameters can be adjusted in the direction of reducing the total loss L. For example, the parameters of the student network can be adjusted first, and then the parameters of the teacher network can be updated using the EMA (Exponential Moving Average) method based on the adjusted parameters of the student network until the total loss L converges to the preset threshold, indicating that the expected network has been obtained and self-supervised training has ended.

[0074] After obtaining the first network after self-supervised training, the embodiment of the present disclosure can directly construct an object posture recognition model based on the first network after self-supervised training. In order to further improve the accuracy and reliability of the object posture recognition model, in actual application, the following steps (1) to (3) can be referred to:

[0075] Step (1) is to obtain a second object sample image; wherein the second object sample image is an image containing the target object, and the second object sample image carries a pose label of the target object. In practical applications, since the first object sample images do not require pose labels, a large number of first object sample images can be collected quickly and easily. However, since the second object sample images require pose labels, the number of collected second object sample images is usually lower than that of first object sample images.

[0076] Step (2) uses the second object sample image to perform supervised training on the first network after self-supervised training. Specifically, the posture recognition information of the second object sample image can be obtained by the first network after self-supervised training. Based on the difference between the posture recognition information and the posture label, the network parameters of the first network after self-supervised training are adjusted again, and the parameters of the first network are further optimized through supervised training.

[0077] In some specific examples, after the self-supervised training is completed, the first network can also obtain posture recognition information with the help of other networks. When the above step (2) is implemented, the first network and the fourth network after the self-supervised training can be supervised by using the second object sample image; wherein, the first network after the self-supervised training is used to extract the feature vector of the second object sample image, and the fourth network is used to identify the posture of the target object in the second object sample image based on the feature vector of the second object sample image. In actual applications, the structure of the fourth network can be the same as that of the third network, or it can be different from the structure of the third network. For example, the fourth network can be an MLP network or a PyMAF (Pyramidal Mesh Alignment Feedback Loop) network. For example, it can be a three-stage key point feedback network, which is not limited here. In this way, based on the information output by the first network, the fourth network can be used to more accurately perform posture recognition.

[0078] Step (3), constructing an object posture recognition model based on the first network after supervised training.

[0079] Specifically, an object pose recognition model can be directly derived based on the supervised trained first network and the supervised trained fourth network. The supervised trained first network can serve as the backbone network in the object pose recognition model, and the supervised trained fourth network can serve as the recognition head network of the object pose recognition model. The object pose recognition model derived in this manner can be directly used to perform pose recognition on images containing target objects.

[0080] For easier understanding, refer to the structural diagram of an object gesture recognition model shown in Figure 4, which illustrates the connection between the first and fourth networks; the first network serves as the backbone network, and the fourth network serves as the head network. Furthermore, taking the target object as a human hand as an example, refer to the application diagram of an object gesture recognition model shown in Figure 5. By inputting a hand image into the object gesture recognition model, gesture recognition information is output by the object gesture recognition model. Based on this gesture recognition information, a three-dimensional hand model can then be constructed, which is well-suited for scenarios such as AR (augmented reality) games.

[0081] The method for constructing the object posture recognition model provided by the embodiments of the present disclosure allows for network training to be achieved using a self-supervised approach, resulting in a low training cost. Furthermore, since a large number of sample images that do not require labeling can be easily collected for training, this helps improve the robustness and accuracy of the object posture recognition model. Furthermore, the object posture recognition model is constructed based on a first network, which processes groups of masked image blocks during training, thus having excellent information processing capabilities, which further helps improve the accuracy of posture recognition results. Furthermore, supervised training of the first network can be performed based on labeled sample images to further optimize the parameters of the first network, further improving the performance of the object posture recognition model and ensuring the accuracy and reliability of the object posture recognition results.

[0082] Furthermore, the embodiment of the present disclosure provides an object posture recognition method. Referring to FIG6 , which is a flow chart of an object posture recognition method provided by the embodiment of the present disclosure, the method mainly includes the following steps S602 to S604:

[0083] Step S602: Acquire an image to be recognized.

[0084] Step S604 , using a pre-built object posture recognition model to recognize the posture of the target object in the image to be recognized; wherein the object posture recognition model is obtained based on the aforementioned object posture recognition model construction method, which will not be repeated here.

[0085] Through the above method, the accuracy and reliability of object posture recognition can be effectively improved.

[0086] Corresponding to the aforementioned method for constructing an object posture recognition model, an embodiment of the present disclosure further provides a device for constructing an object posture recognition model. FIG7 is a schematic structural diagram of a device for constructing an object posture recognition model provided by an embodiment of the present disclosure. The device can be implemented by software and / or hardware and can generally be integrated into an electronic device. As shown in FIG7 , the device for constructing an object posture recognition model includes:

[0087] The sample image acquisition module 702 is configured to acquire a first object sample image; wherein the first object sample image is an image containing a target object;

[0088] The sample image enhancement module 704 is configured to perform enhancement processing on the first object sample image to obtain a sample enhanced image;

[0089] An image segmentation and masking module 706 is configured to segment the sample enhanced image to obtain an enhanced image block group, and perform masking on some image blocks in the enhanced image block group to obtain a masked image block group;

[0090] a posture recognition module 708 configured to obtain first posture recognition information of the target object through a first network based on the mask image block group; and obtain second posture recognition information of the target object through a second network based on the enhanced image block group;

[0091] A self-supervised training module 710 for performing self-supervised training on the first network based on the difference between the first posture recognition information and the second posture recognition information;

[0092] The model building module 712 is configured to build an object posture recognition model based on the first network after self-supervised training.

[0093] Because the above-mentioned device does not require sample images to carry posture labels, it enhances the sample images, segments the sample enhanced images to obtain an enhanced image block group, and masks some of the image blocks in the enhanced image block group to obtain a masked image block group. A first network is used to perform posture recognition based on the masked image block group, and a second network is used to perform posture recognition based on the enhanced image block group. Network training is then performed using a self-supervised approach based on the difference between the first and second posture recognition information. Finally, the trained first network is used to construct an object posture recognition model. This significantly reduces the sample image acquisition cost, effectively lowering the model training cost and facilitating the acquisition of a large number of sample images for training, which helps improve the accuracy of posture recognition results. Furthermore, the object posture recognition model is constructed based on the first network, which processes the masked image block group during training. Therefore, the first network has excellent information processing capabilities, which further helps improve the accuracy of posture recognition results.

[0094] In some embodiments, the sample enhanced image includes a first enhanced image and a second enhanced image; the sample image enhancement module 704 is specifically used to: perform a first enhancement process on the first object sample image to obtain a first enhanced image; and perform a second enhancement process on the first object sample image to obtain a second enhanced image; wherein the first enhancement process is different from the second enhancement process.

[0095] In some embodiments, the first posture recognition information includes: a first recognition posture obtained based on the mask image block group of the first enhanced image, and a second recognition posture obtained based on the mask image block group of the second enhanced image; the second posture recognition information includes: a third recognition posture obtained based on the enhanced image block group of the first enhanced image, and a fourth recognition posture obtained based on the enhanced image block group of the second enhanced image.

[0096] In some embodiments, the self-supervised training module 710 is specifically used to: determine a first loss based on the difference between the first recognition posture and the fourth recognition posture, and the difference between the second recognition posture and the third recognition posture; and perform self-supervised training on the first network based on the first loss.

[0097] In some embodiments, the first posture recognition information includes: image block information in the mask image block group of the first enhanced image and image block information in the mask image block group of the second enhanced image; the second posture recognition information includes: image block information in the enhanced image block group of the first enhanced image and image block information in the enhanced image block group of the second enhanced image.

[0098] In some embodiments, the self-supervised training module 710 is specifically used to: determine a second loss based on the difference between the image block information in the mask image block group of the first enhanced image and the image block information in the enhanced image block group of the first enhanced image, and the difference between the image block information in the mask image block group of the second enhanced image and the image block information in the enhanced image block group of the second enhanced image; and perform self-supervised training on the first network based on the second loss.

[0099] In some embodiments, the self-supervised training module 710 is specifically used to: perform self-supervised training on the first network and the second network based on the difference between the first posture recognition information and the second posture recognition information, including: obtaining a third loss based on the difference between the first posture recognition information and the second posture recognition information; performing image reconstruction using the first posture recognition information to obtain a reconstructed image; obtaining a fourth loss based on the difference between the reconstructed image and the sample enhanced image; and performing self-supervised training on the first network based on the third loss and the fourth loss.

[0100] In some embodiments, the first network and the second network are respectively connected to the third network; the posture recognition module 708 is specifically used to: obtain the feature vector of the mask image block group through the first network, and obtain the first posture recognition information of the target object corresponding to the feature vector of the mask image block group through the third network; obtain the feature vector of the enhanced image block group through the second network, and obtain the second posture recognition information of the target object corresponding to the feature vector of the enhanced image block group through the third network.

[0101] In some embodiments, the model building module 712 is specifically used to: obtain a second object sample image; wherein the second object sample image is an image containing the target object, and the second object sample image carries a posture label of the target object; use the second object sample image to perform supervised training on the first network after self-supervised training; and construct an object posture recognition model based on the first network after supervised training.

[0102] In some embodiments, the model building module 712 is specifically used to: use the second object sample image to perform supervised training on the first network after self-supervised training, including: using the second object sample image to perform supervised training on the first network after self-supervised training and the fourth network; wherein, the first network after self-supervised training is used to extract the feature vector of the second object sample image, and the fourth network is used to identify the posture of the target object in the second object sample image based on the feature vector of the second object sample image; and obtain an object posture recognition model based on the first network after supervised training and the fourth network after supervised training.

[0103] The device for constructing an object posture recognition model provided by the embodiments of the present disclosure can execute the method for constructing an object posture recognition model provided by any embodiment of the present disclosure, and has the functional modules and beneficial effects corresponding to the execution method.

[0104] Corresponding to the aforementioned object gesture recognition method, an embodiment of the present disclosure further provides an object gesture recognition device. FIG8 is a schematic structural diagram of an object gesture recognition device provided by an embodiment of the present disclosure. The device can be implemented by software and / or hardware and can generally be integrated into an electronic device. As shown in FIG8 , the object gesture recognition device includes:

[0105] The image to be identified acquisition module 802 is used to acquire the image to be identified;

[0106] The posture recognition module 804 is used to recognize the posture of the target object in the image to be recognized by using a pre-built object posture recognition model; wherein the object posture recognition model is obtained based on the aforementioned object posture recognition model construction method.

[0107] The above device can effectively improve the accuracy and reliability of object posture recognition.

[0108] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the above-described device embodiment can refer to the corresponding process in the method embodiment, and will not be repeated here.

[0109] An embodiment of the present disclosure also provides an electronic device, which includes: a processor; a memory for storing processor-executable instructions; and a processor for reading executable instructions from the memory and executing the instructions to implement the above-mentioned object posture recognition model construction method, or to implement the above-mentioned object posture recognition method.

[0110] FIG9 is a schematic diagram of the structure of an electronic device provided by an embodiment of the present disclosure. As shown in FIG9 , the electronic device 900 includes one or more processors 901 and a memory 902 .

[0111] The processor 901 may be a central processing unit (CPU) or other forms of processing units having data processing capabilities and / or instruction execution capabilities, and may control other components in the electronic device 900 to perform desired functions.

[0112] The memory 902 may include one or more computer program products, which may include various forms of computer-readable storage media, such as volatile memory and / or non-volatile memory. The volatile memory may include, for example, random access memory (RAM) and / or cache memory. The non-volatile memory may include, for example, read-only memory (ROM), a hard disk, a flash memory, etc. One or more computer program instructions may be stored on the computer-readable storage medium, and the processor 901 may execute the program instructions to implement the object posture recognition model construction method, object posture recognition method, and / or other desired functions of the embodiment of the present disclosure described above. Various contents such as input signals, signal components, noise components, etc. may also be stored in the computer-readable storage medium.

[0113] In one example, the electronic device 900 may further include an input device 903 and an output device 904 , and these components are interconnected via a bus system and / or other forms of connection mechanisms (not shown).

[0114] In addition, the input device 903 may also include, for example, a keyboard, a mouse, and the like.

[0115] The output device 904 can output various information to the outside, including determined distance information, direction information, etc. The output device 904 can include, for example, a display, a speaker, a printer, a communication network and its connected remote output device, etc.

[0116] Of course, for the sake of simplicity, FIG9 only shows some of the components related to the present disclosure in the electronic device 900, omitting components such as buses, input / output interfaces, etc. In addition, the electronic device 900 may further include any other appropriate components according to specific application scenarios.

[0117] In addition to the above-mentioned methods and devices, the embodiments of the present disclosure may also be a computer program product, which includes computer program instructions. When the computer program instructions are executed by a processor, the processor executes the object posture recognition model construction method and object posture recognition method provided by the embodiments of the present disclosure.

[0118] The computer program product may be written in any combination of one or more programming languages ​​to implement the operations of the disclosed embodiments, including object-oriented programming languages ​​such as Java, C++, and conventional procedural programming languages ​​such as C or similar programming languages. The program code may be executed entirely on the user's computing device, partially on the user's computing device, as a standalone software package, partially on the user's computing device and partially on a remote computing device, or entirely on a remote computing device or server.

[0119] In addition, the embodiment of the present disclosure may also be a computer-readable storage medium having computer program instructions stored thereon. When the computer program instructions are executed by a processor, the processor executes the object posture recognition model construction method and object posture recognition method provided by the embodiment of the present disclosure.

[0120] The computer-readable storage medium can adopt any combination of one or more readable media. The readable medium can be a readable signal medium or a readable storage medium. The readable storage medium can, for example, include but is not limited to a system, device or component of electricity, magnetism, light, electromagnetic, infrared, or semiconductor, or any combination thereof. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof.

[0121] The embodiments of the present disclosure further provide a computer program product, including a computer program / instruction, which, when executed by a processor, implements the object posture recognition model construction method and object posture recognition method in the embodiments of the present disclosure.

[0122] It is understandable that before using the technical solutions disclosed in the various embodiments of this disclosure, the type, scope of use, usage scenarios, etc. of the personal information involved in this disclosure should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with relevant laws and regulations.

[0123] For example, in response to a user's active request, a prompt message is sent to the user to clearly inform the user that the operation requested will require the acquisition and use of the user's personal information. This allows the user to independently choose whether to provide personal information to the electronic device, application, server, storage medium, or other software or hardware that performs the operations of the disclosed technical solution based on the prompt message.

[0124] As an optional but non-limiting implementation, in response to receiving a user's active request, the prompt information may be sent to the user in the form of a pop-up window, in which the prompt information may be presented in text form. Furthermore, the pop-up window may also contain a selection control for the user to select "agree" or "disagree" to provide personal information to the electronic device.

[0125] It is understandable that the above notification and user authorization process are merely illustrative and do not constitute a limitation on the implementation of the present disclosure. Other methods that comply with relevant laws and regulations may also be applied to the implementation of the present disclosure.

[0126] It should be noted that, in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the terms "comprises," "comprising," or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article, or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, article, or device. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of other identical elements in the process, method, article, or device comprising the element.

[0127] The foregoing description is intended only to provide specific embodiments of the present disclosure, intended to enable those skilled in the art to understand and implement the present disclosure. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present disclosure. Therefore, the present disclosure is not intended to be limited to the embodiments described herein, but rather to be construed in the broadest manner consistent with the principles and novel features disclosed herein.

Claims

1. A method for constructing an object posture recognition model, comprising: Acquire a first object sample image; wherein the first object sample image is an image containing a target object; Performing enhancement processing on the first object sample image to obtain a sample enhanced image; Segmenting the sample enhanced image to obtain an enhanced image block group, and performing mask processing on some image blocks in the enhanced image block group to obtain a masked image block group; Based on the mask image block group, obtaining first posture recognition information of the target object through a first network; and based on the enhanced image block group, obtaining second posture recognition information of the target object through a second network; performing self-supervised training on the first network according to a difference between the first posture recognition information and the second posture recognition information; An object posture recognition model is constructed based on the first network after self-supervised training.

2. The method according to claim 1, wherein: The sample enhanced image includes a first enhanced image and a second enhanced image; The step of performing enhancement processing on the first object sample image to obtain a sample enhanced image includes: Performing a first enhancement process on the first object sample image to obtain a first enhanced image; and performing a second enhancement process on the first object sample image to obtain a second enhanced image; wherein the first enhancement process is different from the second enhancement process.

3. The method according to claim 2, wherein: The first posture recognition information includes: a first recognition posture obtained based on the mask image block group of the first enhanced image, and a second recognition posture obtained based on the mask image block group of the second enhanced image; The second posture recognition information includes: a third recognized posture obtained based on the enhanced image block group of the first enhanced image, and a fourth recognized posture obtained based on the enhanced image block group of the second enhanced image.

4. The method according to claim 3, wherein: The step of performing self-supervisory training on the first network according to the difference between the first posture recognition information and the second posture recognition information comprises: determining a first loss according to a difference between the first recognition gesture and the fourth recognition gesture, and a difference between the second recognition gesture and the third recognition gesture; The first network is trained in a self-supervised manner based on the first loss.

5. The method according to claim 2, wherein: The first posture recognition information includes: image block information in the mask image block group of the first enhanced image and image block information in the mask image block group of the second enhanced image; The second posture recognition information includes: image block information in an enhanced image block group of the first enhanced image and image block information in an enhanced image block group of the second enhanced image.

6. The method according to claim 5, wherein: The step of performing self-supervisory training on the first network according to the difference between the first posture recognition information and the second posture recognition information comprises: determining a second loss according to a difference between image block information in the mask image block group of the first enhanced image and image block information in the enhanced image block group of the first enhanced image, and a difference between image block information in the mask image block group of the second enhanced image and image block information in the enhanced image block group of the second enhanced image; The first network is trained by self-supervision based on the second loss.

7. The method according to claim 1, wherein: The step of performing self-supervisory training on the first network according to the difference between the first posture recognition information and the second posture recognition information comprises: obtaining a third loss according to a difference between the first posture recognition information and the second posture recognition information; Reconstructing an image using the first posture recognition information to obtain a reconstructed image; Obtaining a fourth loss according to a difference between the reconstructed image and the sample enhanced image; The first network is trained by self-supervision according to the third loss and the fourth loss.

8. The method according to any one of claims 1 to 7, wherein: The first network and the second network are respectively connected to a third network; The acquiring the first posture recognition information of the target object through the first network based on the mask image block group includes: acquiring the feature vector of the mask image block group through the first network, and acquiring the first posture recognition information of the target object corresponding to the feature vector of the mask image block group through the third network; The method of obtaining the second posture recognition information of the target object through the second network based on the enhanced image block group includes: obtaining the feature vector of the enhanced image block group through the second network, and obtaining the second posture recognition information of the target object corresponding to the feature vector of the enhanced image block group through the third network.

9. The method according to any one of claims 1 to 7, wherein: The step of constructing an object posture recognition model based on the first network after self-supervisory training includes: Acquire a second object sample image; wherein the second object sample image is an image containing the target object, and the second object sample image carries a posture label of the target object; Performing supervised training on the first network after the self-supervised training using the second object sample image; An object posture recognition model is constructed based on the first network after supervised training.

10. The method according to claim 9, wherein: The using the second object sample image to perform supervised training on the first network after the self-supervised training is completed includes: The first network and the fourth network after the self-supervised training are supervisedly trained using the second object sample image; wherein the first network after the self-supervised training is used to extract the feature vector of the second object sample image, and the fourth network is used to extract the feature vector of the second object sample image. identifying a posture of a target object in the second object sample image based on a feature vector of the second object sample image; The method of constructing an object posture recognition model based on the first network after supervised training includes: An object posture recognition model is obtained based on the first network after supervised training and the fourth network after supervised training.

11. A method for object posture recognition, comprising: Obtain an image to be recognized; The posture of the target object in the image to be recognized is recognized using a pre-constructed object posture recognition model; wherein the object posture recognition model is obtained based on the object posture recognition model construction method according to any one of claims 1 to 10.

12. A device for constructing an object posture recognition model, comprising: A sample image acquisition module, used to acquire a first object sample image; wherein the first object sample image is an image containing a target object; A sample image enhancement module, used for performing enhancement processing on the sample image of the first object to obtain a sample enhanced image; An image segmentation and masking module, used for segmenting the sample enhanced image to obtain an enhanced image block group, and performing masking processing on some image blocks in the enhanced image block group to obtain a masked image block group; a posture recognition module, configured to obtain first posture recognition information of the target object through a first network based on the mask image block group; and obtain second posture recognition information of the target object through a second network based on the enhanced image block group; A self-supervised training module, configured to perform self-supervised training on the first network according to a difference between the first posture recognition information and the second posture recognition information; A model building module is used to build an object posture recognition model based on the first network after self-supervised training.

13. An object gesture recognition device, comprising: An image acquisition module to be identified, used to acquire an image to be identified; A posture recognition module, used to recognize the posture of the target object in the image to be recognized by using a pre-built object posture recognition model; wherein the object posture recognition model is obtained based on the object posture recognition model construction method described in any one of claims 1 to 10.

14. An electronic device comprising: processor; a memory for storing instructions executable by the processor; The processor is used to read the executable instructions from the memory and execute the instructions to implement the method for constructing an object posture recognition model described in any one of claims 1 to 10, or to implement the object posture recognition method described in claim 11.

15. A computer-readable storage medium storing a computer program, wherein the computer program is used to execute the method for constructing an object posture recognition model as described in any one of claims 1 to 10, or to implement the object posture recognition method as described in claim 11.

Citation Information

Patent Citations

  • Network training method and device and attitude prediction method and device

    CN111783986A

  • Neural network training method and target re-identification method

    CN113269307A

  • Self-supervised deep learning algorithm for segmenting abnormal region in image

    CN114240968A

  • Training method of image classification model, and image classification method and device

    CN115457329A

  • Gait recognition method, gait recognition model training method and device, terminal and storage medium

    CN115761879A

Cited By

  • Model training method and device for identifying seal characters, equipment and medium

    CN121170810A