Method for determining three-dimensional attitude estimation model and method for determining attitude

By selecting reference key points from visible key points and calculating relative depth prediction values, the problem of invisible target key points is solved, the performance and sample richness of the three-dimensional pose estimation model are improved, and the collection cost is reduced.

CN118710703APending Publication Date: 2024-09-27BEIJING UNICORN TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202311118894.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-08-31
Publication Date
2024-09-27

AI Technical Summary

Technical Problem

In scenarios such as motion recognition, virtual reality, and posture recognition of workers in dangerous places, it is difficult to effectively utilize image samples with invisible target key points during the training process of the human body three-dimensional posture estimation model, resulting in high sample richness and high collection costs. high.

Method used

By selecting one of the visible key points as a reference key point, the relative depth prediction value of each visible key point relative to the reference key point is calculated, and then the model loss is determined, and the model to be trained is updated to achieve an image in which the target key point is occluded It can also be used as a sample image for model training.

Benefits of technology

It improves the richness of image samples under limited equipment conditions, improves the performance of the three-dimensional pose estimation model, reduces the collection requirements and cost of sample images, and enhances the accuracy of model prediction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118710703A
    Figure CN118710703A
Patent Text Reader

Abstract

The invention provides a method for determining a three-dimensional attitude estimation model and a method for determining an attitude. According to the specific implementation scheme, the following operations are executed through a to-be-trained model until training of the to-be-trained model is finished, and a three-dimensional attitude estimation model is obtained: for any sample image containing a sample object in any batch, a prediction result of the sample image is determined by using the to-be-trained model; based on the depth truth value of each visible key point and a relative depth predicted value in the prediction result, determining a relative depth truth value and a relative depth predicted value of each visible key point relative to the reference key point; determining the absolute depth predicted value of the reference key point based on the relative depth predicted value of the reference key point and the absolute depth predicted value of the target key point in the prediction result; determining the model loss of the sample image based on the determined predicted values and true values; and updating model parameters of the to-be-trained model based on the model loss corresponding to each sample image in the batch.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of artificial intelligence technology, and in particular to a method for determining a three-dimensional posture estimation model and a method for determining a posture. Background Art

[0002] Human three-dimensional (3D) posture estimation is widely used in scenarios such as motion recognition, virtual reality (VR), human-computer interaction, and posture recognition of workers in dangerous places. Human three-dimensional posture estimation usually needs to be implemented based on a three-dimensional posture estimation model. Summary of the invention

[0003] In a first aspect, an embodiment of the present disclosure provides a method for determining a three-dimensional posture estimation model, comprising: obtaining multiple sample images containing sample objects; wherein each sample image carries the image coordinate true value of each preset key point in a preset key point set of the sample object and the depth true value corresponding to at least one visible key point; the visible key point is a preset key point in the preset key point set that is visible in the sample image; the multiple sample images are divided into multiple batches, each batch including at least one sample image; the following operations are performed by the model to be trained until the training of the model to be trained is completed, thereby obtaining a three-dimensional posture estimation model: for any sample image in any batch, the prediction result of the sample image is determined using the model to be trained; wherein the prediction result includes: the image coordinate prediction value of each preset key point, the relative depth prediction value of each preset key point relative to the target key point in the preset key point set, the absolute depth prediction value of the target key point Depth prediction value; based on the depth true value of each visible key point in the sample image and the relative depth prediction value of each visible key point relative to the target key point, determine the relative depth true value and relative depth prediction value of each visible key point in the sample image relative to the reference key point in the sample image; wherein the reference key point is one of at least one visible key point in the sample image; based on the relative depth prediction value of the reference key point relative to the target key point and the absolute depth prediction value of the target key point, determine the absolute depth prediction value of the reference key point; based on the relative depth true value and relative depth prediction value of each visible key point relative to the reference key point, the absolute depth prediction value and depth true value of the reference key point, and the image coordinate true value and image coordinate prediction value of each preset key point, determine the model loss of the sample image; based on the model losses corresponding to each sample image in the batch, the model parameters of the model to be trained are updated.

[0004] In a second aspect, an embodiment of the present disclosure provides a method for determining a three-dimensional posture, including: obtaining a target image containing a target object; determining a prediction result corresponding to the target image using a pre-acquired target three-dimensional posture estimation model; wherein the target three-dimensional posture estimation model is obtained based on the method for determining a three-dimensional posture estimation model provided in any of the above embodiments; the prediction results include: an image coordinate prediction value of each preset key point in the target image, a relative depth prediction value of each preset key point relative to a target key point in a preset key point set, and an absolute depth prediction value of the target key point; based on the prediction results, the three-dimensional posture of the target object is determined.

[0005] In a third aspect, an embodiment of the present disclosure provides a device for determining a three-dimensional posture estimation model, comprising: a sample acquisition module, used to acquire multiple sample images containing sample objects; wherein each sample image carries the image coordinate true value of each preset key point in the preset key point set of the sample object and the depth true value corresponding to at least one visible key point; the visible key point is a preset key point in the preset key point set that is visible in the sample image; the multiple sample images are divided into multiple batches, each batch including at least one sample image; a model training module, used to perform the following operations through the model to be trained until the training of the model to be trained is completed to obtain a three-dimensional posture estimation model: for any sample image in any batch, use the model to be trained to determine the prediction result of the sample image; wherein the prediction result includes: the image coordinate prediction value of each preset key point, the relative depth prediction value of each preset key point relative to the target key point in the preset key point set , the absolute depth prediction value of the target key point; based on the depth true value of each visible key point in the sample image and the relative depth prediction value of each visible key point relative to the target key point, determine the relative depth true value and relative depth prediction value of each visible key point in the sample image relative to the reference key point in the sample image; wherein the reference key point is one of at least one visible key point in the sample image; based on the relative depth prediction value of the reference key point relative to the target key point and the absolute depth prediction value of the target key point, determine the absolute depth prediction value of the reference key point; based on the relative depth true value and relative depth prediction value of each visible key point relative to the reference key point, the absolute depth prediction value and depth true value of the reference key point, and the image coordinate true value and image coordinate prediction value of each preset key point, determine the model loss of the sample image; based on the model losses corresponding to each sample image in the batch, the model parameters of the model to be trained are updated.

[0006] In a fourth aspect, an embodiment of the present disclosure provides a device for determining a three-dimensional posture, comprising: an image acquisition module for acquiring a target image containing a target object; a prediction module for determining a prediction result corresponding to the target image using a pre-acquired target three-dimensional posture estimation model; wherein the target three-dimensional posture estimation model is obtained based on the method for determining a three-dimensional posture estimation model provided in any of the above embodiments; the prediction result includes: an image coordinate prediction value of each preset key point in the target image, a relative depth prediction value of each preset key point relative to a target key point in a preset key point set, and an absolute depth prediction value of the target key point; based on the prediction result, the three-dimensional posture of the target object is determined; a three-dimensional posture determination module is used to determine the three-dimensional posture of the target object based on the prediction result.

[0007] In a fifth aspect, an embodiment of the present disclosure provides a computer-readable storage medium storing a computer program for executing at least one of the method for determining a three-dimensional posture estimation model provided by any of the above embodiments of the present disclosure and the method for determining a three-dimensional posture provided by any of the above embodiments.

[0008] In a sixth aspect, an embodiment of the present disclosure provides an electronic device, comprising: a processor; a memory for storing processor executable instructions; a processor, configured to read executable instructions from the memory and execute the instructions to implement at least one of the method for determining a three-dimensional posture estimation model provided in any of the above embodiments of the present disclosure and the method for determining a three-dimensional posture provided in any of the above embodiments.

[0009] The technical solution of the present disclosure is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS

[0010] The above and other purposes, features and advantages of the present disclosure will become more apparent by describing the embodiments of the present disclosure in more detail in conjunction with the accompanying drawings. The accompanying drawings are used to provide a further understanding of the embodiments of the present disclosure and constitute a part of the specification. Together with the embodiments of the present disclosure, they are used to explain the present disclosure and do not constitute a limitation of the present disclosure. In the drawings, the same reference numerals generally represent the same components or steps.

[0011] Figure 1 is an exemplary system architecture that can be applied to embodiments of the method or apparatus for determining a three-dimensional pose estimation model of the present disclosure;

[0012] Figure 2 is a flowchart of a method for determining a three-dimensional posture estimation model provided by an exemplary embodiment of the present disclosure;

[0013] Figure 3is a flowchart for training a three-dimensional pose estimation model provided by an exemplary embodiment of the present disclosure;

[0014] Figure 4 is a schematic diagram of preset key points of a human body provided by an exemplary embodiment of the present disclosure;

[0015] Figure 5 is a flowchart for evaluating a three-dimensional pose estimation model provided by another exemplary embodiment of the present disclosure;

[0016] Figure 6 is a flowchart for evaluating a three-dimensional pose estimation model provided by another exemplary embodiment of the present disclosure;

[0017] Figure 7 is a flowchart of a method for determining a three-dimensional posture provided by an exemplary embodiment of the present disclosure;

[0018] Figure 8 is a structural schematic diagram of an apparatus for determining a three-dimensional posture estimation model provided by an exemplary embodiment of the present disclosure;

[0019] Fig. 9 is a schematic structural diagram of a device for determining a three-dimensional posture provided by an exemplary embodiment of the present disclosure;

[0020] Fig.10 It is a structural schematic diagram of an application embodiment of the electronic device disclosed in the present invention. DETAILED DESCRIPTION

[0021] Below, the exemplary embodiments according to the present disclosure will be described in detail with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of the present disclosure, rather than all the embodiments of the present disclosure, and it should be understood that the present disclosure is not limited to the exemplary embodiments described here.

[0022] It should be noted that the relative arrangement of components and steps, the numerical expressions and numerical values ​​set forth in these embodiments do not limit the scope of the present disclosure unless specifically stated otherwise.

[0023] Those skilled in the art can understand that the terms "first" and "second" in the embodiments of the present disclosure are only used to distinguish different steps, devices or modules, etc., and neither represent any specific technical meaning nor indicate the necessary logical order between them.

[0024] It should also be understood that in the embodiments of the present disclosure, “plurality” may refer to two or more than two, and “at least one” may refer to one, two, or more than two.

[0025] The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the present disclosure, its application, or uses.

[0026] The disclosed embodiments can be applied to electronic devices such as head-mounted display devices, terminal devices, servers, etc., which can operate with many other general or special computing system environments or configurations. The computer system / server can be implemented in a distributed cloud computing environment, in which tasks are performed by remote processing devices linked through a communication network. In a distributed cloud computing environment, program modules can be located on local or remote computing system storage media including storage devices.

[0027] The specific implementation of the present disclosure is described in detail below in conjunction with the accompanying drawings. It should be understood that the specific implementation described herein is only used to illustrate and explain the present disclosure, and is not used to limit the present disclosure.

[0028] Figure 1 It is an exemplary system architecture that can be applied to an embodiment of the method or apparatus for determining a three-dimensional pose estimation model of the present disclosure. The system architecture may include a terminal device 1, a network 2, and a server 3. The network 2 may be a medium that provides a communication link between the terminal device 1 and the server 3. The network 2 may include various connection types, including wired communication links (such as optical fibers, cables, etc.), wireless communication links (such as Bluetooth, WIFI, etc.), and the like.

[0029] The above-mentioned terminal device 1 may include a mobile phone, a tablet, a head-mounted display device, a depth camera and other devices with image acquisition functions. Taking a head-mounted display device as an example, the head-mounted display device may be an electronic device with an image display function, including but not limited to AR (Augmented Reality) smart glasses, VR (Virtual Reality) smart glasses, and the like. The terminal device 1 can be used to collect images containing sample objects. The terminal device 1 can store the collected images or transmit them to the server 3 through the network 2. The server 3 can automatically annotate the obtained images, or annotate them manually, or annotate them manually and by machine, to obtain the image coordinate true value of each preset key point in the preset key point set containing the sample object in the image and the depth true value corresponding to at least one visible key point. The annotated image is used as a sample image for the training of the three-dimensional posture estimation model of the embodiment of the present disclosure. The server 3 can provide various services. For example, multiple sample images containing sample objects can be obtained; wherein each sample image carries the image coordinate true value of each preset key point in the preset key point set of the sample object and the depth true value corresponding to at least one visible key point; the visible key point is a preset key point in the preset key point set that is visible in the sample image; the multiple sample images are divided into multiple batches, each batch includes at least one sample image; the following operations are performed by the model to be trained until the training of the model to be trained is completed, and a three-dimensional posture estimation model is obtained: for any sample image in any batch, the prediction result of the sample image is determined using the model to be trained; wherein the prediction result includes: the image coordinate prediction value of each preset key point, the relative depth prediction value of each preset key point relative to the target key point in the preset key point set, and the absolute depth prediction value of the target key point; based on the sample image The relative depth true value and relative depth predicted value of each visible key point in the sample image relative to the reference key point in the sample image are determined based on the depth true value of each visible key point and the relative depth predicted value of each visible key point relative to the target key point; wherein the reference key point is one of at least one visible key point in the sample image; based on the relative depth predicted value of the reference key point relative to the target key point and the absolute depth predicted value of the target key point, the absolute depth predicted value of the reference key point is determined; based on the relative depth true value and relative depth predicted value of each visible key point relative to the reference key point, the absolute depth predicted value and depth true value of the reference key point, and the image coordinate true value and image coordinate predicted value of each preset key point, the model loss of the sample image is determined; based on the model losses corresponding to each sample image in the batch, the model parameters of the model to be trained are updated.

[0030] It should also be pointed out that the method for determining the three-dimensional posture estimation model provided by the present disclosure can also be applied to other terminal devices connected to the head-mounted display device in addition to the server 3. The other terminal devices here can be mobile phones, tablets, computers, adapters, etc.

[0031] Exemplary Methods

[0032] Figure 2-Figure 3 1 is a flow chart of a method for determining a three-dimensional posture estimation model provided by an exemplary embodiment of the present disclosure. The embodiments of the present disclosure can be applied to electronic devices, such as servers, mobile phones, tablets, computers, adapters, etc. Figure 2 As shown, the method comprises the following steps:

[0033] Step 20: Acquire multiple sample images containing sample objects.

[0034] In some optional embodiments of the present disclosure, each sample image carries the true image coordinate value of each preset key point in the preset key point set of the sample object and the true depth value corresponding to at least one visible key point. The visible key point is a preset key point in the preset key point set that is visible in the sample image. The multiple sample images are divided into multiple batches, each batch including at least one sample image.

[0035] In some optional embodiments of the present disclosure, the sample object may be any object that needs to recognize a three-dimensional posture, such as a human body, a hand, a face, an animal, etc. The human body, the face, and the hand are different research directions. For example, the human body studies the morphology of the entire human body from a large granularity, and does not focus on the facial expressions and fine hand movements of the human body. However, the face focuses on fine facial expressions, and the hand focuses on the gestures of the hand.

[0036] In some optional embodiments of the present disclosure, the plurality of sample images may be acquired in advance based on a terminal device provided with a camera. The terminal device may be a head mounted display device, a mobile phone, a tablet, etc. provided with a camera.

[0037] An execution body of a method for determining a three-dimensional pose estimation model (e.g., Figure 1 When a 3D posture estimation model needs to be trained, a plurality of sample images containing sample objects can be obtained. Figure 1 In the case where the server 3 in the method for determining the three-dimensional pose estimation model is used as the execution subject, the sample image required by the server 3 can be obtained from Figure 1 For the case where other terminal devices connected to the head mounted display device are used as the execution subject of the method for determining the three-dimensional posture estimation model, the sample images required by the other terminal devices can be obtained from the head mounted display device.

[0038] In some optional embodiments of the present disclosure, the sample image carries the true image coordinate value of each preset key point in the preset key point set of the sample object and the true depth value corresponding to at least one visible key point. The image coordinate true value and the depth true value can be obtained by automatic annotation, or by manual annotation or manual and machine mixed annotation. For example, the image coordinates of each preset key point can be detected by a two-dimensional image as the image coordinate true value. The depth value corresponding to the visible key point of the sample object is provided based on the depth camera as the depth true value corresponding to the visible key point. The depth true value of the visible key point can be used as the coordinate value of the visible key point along the Z-axis direction in the camera coordinate system.

[0039] In some optional embodiments, the image coordinate true value may be converted based on the image coordinate true value of the visible key point, the coordinate value of the visible key point along the Z axis in the camera coordinate system, and the camera internal parameter to obtain the coordinate values ​​of the visible key point along the X and Y axis in the camera coordinate system used to capture the sample image. The coordinate values ​​along the X, Y, and Z axis in the camera coordinate system constitute the three-dimensional coordinate true value of the visible key point in the camera coordinate system.

[0040] In some optional embodiments of the present disclosure, the visible key points of the sample object are preset key points in the preset key point set of the sample object that are visible in the sample image where the sample object is located. The preset key points of the sample object can be set according to the actual situation of the sample object.

[0041] If the sample object is a human body, N preset key points can be set for the human body, for example, they may include head key points, neck key points, torso key points, arm key points, and leg key points. The preset key points of the human body may be points used to characterize the large joints of the human body or the movable ends of the human body. The shape of the sample object can be well determined by the preset key points. The position and number of preset key points on each part of the human body can be set according to actual needs. For example, the preset key points on the arm may include 3 key points including the shoulder key point, the elbow key point, and the hand key point, or may include 2 key points including the shoulder key point and the hand key point, without specific limitation. Figure 4 , which is a schematic diagram of preset key points of a human body provided by an exemplary embodiment of the present disclosure. Figure 416 preset key points are set for the human body, each preset key point is identified by a number, and the 16 preset key points are represented by 16 numbers from 1 to 16. In practical applications, the identification method for each preset key point can also be other methods. For example, other corresponding identifiers are set for each preset key point, such as using letters, not limited to the above numbers. Since the relative posture of the human body and the camera will affect the visibility of the preset key points to the camera, some preset key points of the human body may be blocked, so that only some preset key points are visible in the image containing the human body captured by the camera. For example, when the left side of the human body faces the camera, some preset key points on the right leg or arm of the human body may be blocked in the image captured by the camera, and are not visible in the sample image.

[0042] If the sample object is a hand, the preset key points of the hand may be points used to characterize gestures, such as points at joints, fingertips, etc. of the hand.

[0043] If the sample object is a human face, the preset key points of the human face may be points used to characterize the human face and expressions, such as the eyebrows, the center of the eyebrows, the end of the eyebrows, the corners of the eyes, the pupils, the tip of the nose, the corners of the mouth, the center of the upper lip, the center of the lower lip, etc.

[0044] If the sample object is an animal, the preset key points of the animal may be points used to characterize the posture of the animal, such as eyes, nose, throat, ear bottom, tail, elbows, knees, claws, etc.

[0045] In some optional embodiments of the present disclosure, target key points of different sample objects may be set according to specific circumstances of the sample objects.

[0046] In some optional embodiments of the present disclosure, the true value of the image coordinate corresponding to the preset key point may include the true value coordinate of the preset key point in the two-dimensional coordinate system. The two-dimensional coordinate system here may be, for example, the pixel coordinate system of the sample image. The true value of the image coordinate of each preset key point may be output by a key point recognition network of any relevant technology or obtained by manual marking, etc. The depth true value of the visible key point may be the sample image itself, or may be provided by a depth camera, or may be obtained by processing the sample image with other depth restoration algorithms, etc. The present disclosure does not limit the way and method of obtaining the depth.

[0047] In some optional embodiments of the present disclosure, when the true depth value of each visible key point in the sample image is known, the true depth value of the visible key point is the coordinate value of the visible key point along the Z axis in the camera coordinate system. When the camera intrinsic parameters corresponding to the sample image, the coordinate value of the visible key point along the Z axis in the camera coordinate system, and the true image coordinate value of the visible key point are known, the true image coordinate value of the visible key point (for example, the pixel coordinate system coordinate of the sample image) can be converted into the coordinate values ​​along the X and Y axis directions in the camera coordinate system, respectively, and combined with the coordinate value of the visible key point along the Z axis, the three-dimensional coordinate true value of the visible key point in the camera coordinate system is obtained.

[0048] Step 30, performing the following steps 310 to 350 through the model to be trained until the training of the model to be trained is completed, and a three-dimensional posture estimation model is obtained (see Figure 3 ):

[0049] Step 310: for any sample image in any batch, determine the prediction result of the sample image using the model to be trained.

[0050] In some optional embodiments of the present disclosure, the prediction results include: the image coordinate prediction value of each preset key point, the relative depth prediction value of each preset key point relative to the target key point in the preset key point set, and the absolute depth prediction value of the target key point.

[0051] In some optional embodiments of the present disclosure, the network structure of the model to be trained can adopt any feasible structure. For example, the network structure of the model to be trained can adopt a series of network structures based on convolutional neural networks. The network structure based on convolutional neural networks can include ResNets (residual network), MobileHumanPose, etc. MobileHumanPose is an efficient 3D human pose estimation model that can be used for real-time 3D human pose estimation.

[0052] In some optional embodiments of the present disclosure, the condition for completing the training of the model to be trained may include any one of the following conditions:

[0053] 1. All sample images have been learned at least once.

[0054] 2. The model to be trained has completed a preset number of rounds of learning, which may be 50 or 100 rounds, for example.

[0055] 3. The trained model converges. Model convergence can mean that the decrease in the model loss of the training sample set tends to be stable and the decrease in the model loss of the validation sample set tends to be stable.

[0056] 4. After the model parameters are updated, at least one evaluation indicator of the model meets the expected conditions. The evaluation indicators can be set according to actual needs. For example, the evaluation indicators can include indicators such as model accuracy and model recall.

[0057] In some optional embodiments of the present disclosure, the obtained multiple sample images may be divided into multiple batches, each batch including at least one sample image. The parameters of the model to be trained may be adjusted once according to the training results of each batch.

[0058] In some optional embodiments of the present disclosure, the image coordinate prediction value of each preset key point is the predicted coordinate of the preset key point in the two-dimensional coordinate system of the sample image. The two-dimensional coordinate system can be, for example, a pixel coordinate system (expressed as a uv coordinate system), an image coordinate system (expressed as an xy coordinate system), or a plane coordinate system composed of the XY axes of the camera coordinate system (expressed as an XY coordinate system). The relative depth prediction value of each preset key point relative to the target key point is the predicted relative depth value of the preset key point relative to the target key point. The coordinate system of the image coordinate prediction value of any preset key point is consistent with the coordinate system of the image coordinate true value of the preset key point. For example, if the coordinate system of the image coordinate prediction value of any preset key point is a pixel coordinate system, the coordinate system of the image coordinate true value is also a pixel coordinate system. The coordinate system of the relative depth prediction value of any visible key point relative to the target key point is consistent with the coordinate system of the relative depth true value of the visible key point relative to the target key point. In addition, the coordinate systems used for relative depth and absolute depth also need to be consistent. For example, the distance d relative to the camera plane that shoots the sample image is used as the depth. If the coordinate system used by the image coordinate prediction value and the relative depth prediction value (for example, using the UVD coordinate system) is inconsistent with the coordinate system used by the image coordinate true value and the relative depth true value (for example, using the camera coordinate system), they need to be unified into a consistent coordinate system.

[0059] In some optional embodiments of the present disclosure, the absolute depth prediction value of the target key point is the predicted absolute distance between the pixel corresponding to the target key point and the camera.

[0060] Step 320, based on the true depth value of each visible key point in the sample image and the relative depth prediction value of each visible key point relative to the target key point, determine the relative depth true value and relative depth prediction value of each visible key point in the sample image relative to the reference key point in the sample image.

[0061] In some optional embodiments of the present disclosure, the reference key point is one of at least one visible key point in the sample image.

[0062] In some optional embodiments of the present disclosure, for any visible key point among the at least one visible key point, based on the true depth value of the visible key point and the true depth value of the reference key point, by taking a difference, a relative depth true value of the visible key point relative to the reference key point can be obtained. Similarly, based on the relative depth prediction value of the visible key point relative to the target key point and the relative depth prediction value of the reference key point relative to the target key point, a relative depth prediction value of the visible key point relative to the reference key point can be obtained by taking a difference.

[0063] In some optional embodiments of the present disclosure, the sample object includes a total of |a| preset key points, |a|=|s|+|o|. For any sample image, |s| represents the number of visible key points of the sample object in the sample image, and |o| represents the number of invisible preset key points of the sample object in the sample image. a represents a set of preset key points, s represents an index set of visible key points, and o represents an index set of invisible preset key points other than visible key points. J={j i}, i∈range(a), J represents the set of true image coordinates and true depth values ​​of |a| preset key points, that is, j i ∈R 3 (u,v,d), u, v, d represent the u-axis coordinate component, v-axis coordinate component and depth component of the image coordinates respectively. Among them, |o| preset key points are invisible, have image coordinate true values, but no depth true values. |s| preset key points are visible, have image coordinate true values ​​and depth true values. The |s| preset key points are visible key points, J=J s ∪J o The index set of visible key points s = {k}, j k ∈J s , J s ={j k} represents the set of true image coordinates and depth values ​​of visible key points. The index set of invisible key points o = {l}, j l ∈J o , o may include target key points. e(e∈s) represents the index of the reference key point. For each visible key point, the relative depth truth value of the visible key point (e.g., index k(k∈s)) relative to the reference key point can be expressed as j k [2]-j e [2], [2] represents the component index corresponding to the true depth value, for example j k [2] indicates j k The third component, namely R 3The d component in (u,v,d) can be represented by [0] and the component index of the v component can be represented by [1]. The set of image coordinate prediction values ​​of each preset key point and the relative depth prediction value of each preset key point relative to the target key point is expressed as The relative depth prediction value of the visible keypoint with index k relative to the reference keypoint is expressed as

[0064] For different sample objects, the target key points can be different. For example, for a human body, the navel key point can be used as the target key point. For a hand, the middle finger root key point can be used as the target key point. For a face, the nose tip key point can be used as the target key point. For an animal, the eye key point can be used as the target key point, etc.

[0065] In some optional embodiments of the present disclosure, the number of reference key points may be one or more. In the case of multiple reference key points, for each reference key point, the relative depth true value and relative depth prediction value of each visible key point relative to the reference key point are determined to determine the model loss.

[0066] Step 330 : Determine an absolute depth prediction value of the reference key point based on the relative depth prediction value of the reference key point relative to the target key point and the absolute depth prediction value of the target key point.

[0067] In some optional embodiments of the present disclosure, the absolute depth prediction value of the reference key point may be obtained by adding the absolute depth prediction value of the target key point and the relative depth prediction value of the reference key point relative to the target key point.

[0068] In some optional embodiments of the present disclosure, the relative depth prediction value of the target key point relative to the target key point may not be 0, indicating that the predicted relative depth prediction values ​​of each preset key point relative to the target key point may have an overall deviation. In this regard, the difference between the predicted relative depth prediction value of each visible key point relative to the target key point and the relative depth prediction value of the target key point relative to the target key point can be used as the relative depth prediction value of the visible key point relative to the target key point to eliminate or reduce the above-mentioned deviation. Based on this, the difference between the relative depth prediction value of the reference key point relative to the target key point and the relative depth prediction value of the target key point relative to the target key point is summed with the absolute depth prediction value of the target key point to obtain the absolute depth prediction value of the reference key point.

[0069] Step 340, based on the relative depth true value and relative depth prediction value of each visible key point relative to the reference key point, the absolute depth prediction value and depth true value of the reference key point, and the image coordinate true value and image coordinate prediction value of each preset key point, determine the model loss corresponding to the sample image.

[0070] In some optional embodiments of the present disclosure, a preset loss function may be used to determine the model loss corresponding to the sample image. The preset loss function may, for example, be any one of a mean absolute error (MAE) loss function (L1 loss function), a mean square error (MSE) loss function (L2 loss function), and the like.

[0071] In some optional embodiments of the present disclosure, the model loss may include at least one of depth loss, target key point loss, and image coordinate loss.

[0072] In some optional embodiments of the present disclosure, for any sample image, any visible key point is selected as a reference key point, and the model loss corresponding to the sample image can be expressed as follows:

[0073] L=λ1L d +λ2L r +λ3L u +λ4L v

[0074] Among them, L d represents the depth loss, L r represents the target key point loss, L u and L v represents the image coordinate loss, λ1, λ2, λ3, and λ4 represent the weight coefficients of each loss, and the weight coefficients can be set according to actual needs. For example, each weight coefficient can be set to the same value, such as 1, or each weight coefficient can be set to a different value.

[0075] In some optional embodiments of the present disclosure, L d Determined based on the relative depth truth and relative depth prediction of each visible keypoint relative to the reference keypoint.

[0076] In some optional embodiments of the present disclosure, L r The absolute depth prediction and the ground truth are determined based on the reference keypoints.

[0077] In some optional embodiments of the present disclosure, L u and L v Determined based on the true image coordinate value and the predicted image coordinate value of each preset key point.

[0078] In some optional embodiments of the present disclosure, λ3 is equal to λ4, so that L u and L v They have an equal impact on the model loss.

[0079] In some optional embodiments of the present disclosure, in order to ensure the performance of the model, target key points of at least a portion of the sample images among the multiple sample images are visible key points.

[0080] Step 350: Update the model parameters of the model to be trained based on the model losses corresponding to each sample image in the batch.

[0081] In some optional embodiments of the present disclosure, the model losses corresponding to the sample images in the batch may be fused to obtain the model loss of the batch, and then the model loss of the batch may be used to adjust the model parameters. The fusion may be processing such as addition and averaging, addition, weighted summation, etc.

[0082] In some optional embodiments of the present disclosure, the update gradient of the model parameters can be calculated based on the model loss, and then the model parameters can be updated based on the update gradient to obtain an updated model to be trained.

[0083] In some optional embodiments of the present disclosure, the update gradient can be determined using any implementable gradient descent algorithm, such as a stochastic gradient descent algorithm, a batch gradient descent algorithm, a learning rate adaptive gradient descent algorithm, and the like.

[0084] The method for determining a three-dimensional posture estimation model provided by the embodiment of the present disclosure is to obtain the image coordinate prediction value of each preset key point of the sample object in the sample image and the relative depth prediction value of each preset key point relative to the target key point by predicting, then determine a visible key point from the visible key points in each preset key point as a reference key point, and determine the relative depth true value and relative depth prediction value of each visible key point relative to the reference key point based on the depth true value of each visible key point and the relative depth prediction value of each visible key point relative to the target key point. Based on the relative depth prediction value of the reference key point relative to the target key point and the absolute depth prediction value of the target key point, determine the absolute depth prediction value of the reference key point. Then, based on the relative depth true value and relative depth prediction value of each visible key point relative to the reference key point, the absolute depth prediction value and depth true value of the reference key point, and the image coordinate true value and image coordinate prediction value of each preset key point, determine the model loss corresponding to the sample image, which is used to update the model parameters of the model to be trained. Since the depth truth of the visible key points can be obtained for each image containing sample objects, the depth loss in the model loss is calculated based on the reference key points. Even if the depth truth of the target key points of the sample objects in the image is unknown, the accurate depth loss can be determined for the training of the supervised model. In addition, the absolute depth value and the depth truth of the reference key points, the image coordinate truth value and the image coordinate prediction value of each preset key point can be combined to determine the model loss for supervised model training, which helps to further improve the overall performance of the 3D pose estimation model, thereby further improving the accuracy of the 3D pose estimation results.

[0085] In the related art, images in which the target key points are not visible cannot be used for model training. If the target key points need to be visible all the time, multiple depth cameras with multi-viewing angles need to be deployed, and the sample image acquisition requirements and acquisition costs are very high. Compared with the related art, the method of the embodiment of the present disclosure selects one of the visible key points as a reference key point and calculates the relative depth prediction value of each visible key point relative to the reference key point. On the one hand, it helps to improve the sample richness of the image acquired under limited equipment conditions, and further helps to improve the performance of the three-dimensional posture estimation model obtained by training, thereby improving the accuracy of the relative depth prediction value of each preset key point predicted by the model relative to the target key point; on the other hand, it can significantly reduce the sample image acquisition requirements and acquisition costs.

[0086] In some optional embodiments of the present disclosure, the method of the embodiment of the present disclosure further includes:

[0087] Step 410: Determine a reference key point based on at least one visible key point of the sample object in the sample image.

[0088] In some optional embodiments of the present disclosure, the rule for determining the reference key point based on at least one visible key point can adopt any implementable rule. For example, a visible key point can be randomly selected from at least one visible key point as a reference key point. It is also possible to select a visible key point closest to the target key point as a reference key point according to the distance relationship between each visible key point and the target key point. It is also possible to select a preset number of visible key points from at least one visible key point according to the distance relationship as reference key points, that is, select multiple reference key points. It is also possible to select all visible key points as reference key points.

[0089] It should be noted that the above step 310 and step 410 have no dependency on the execution order and can be executed simultaneously or successively without any restriction on the execution order.

[0090] In this embodiment, the problem that the target key point in the sample image may not be visible is addressed. A reference key point is determined from at least one visible key point of the sample object in the sample image for calculating the model loss. This allows images with occluded target key points to be used as sample images for model training, thereby improving the richness of the sample images and achieving effective model training.

[0091] In some optional embodiments of the present disclosure, determining a reference key point based on at least one visible key point of the sample object in the sample image in step 410 includes:

[0092] Determine whether the at least one visible key point includes a target key point. In response to the at least one visible key point including the target key point, use the target key point as a reference key point. In response to the at least one visible key point not including the target key point, determine a visible key point from the at least one visible key point as a reference key point.

[0093] In some optional embodiments of the present disclosure, whether the at least one visible key point includes a target key point may be determined by matching any one of an identification or an index of the visible key point with corresponding information of the target key point.

[0094] In some optional embodiments of the present disclosure, when the target key point is included in each visible key point, the target key point can be used as a reference key point, which helps to improve the prediction accuracy of the model. When the target key point is not included in each visible key point, a visible key point is determined from each visible key point as a reference key point, which helps to improve the sample richness and reduce the requirements for the collection of sample images for model training. The method for determining a visible key point from each visible key point as a reference key point can adopt any feasible method, such as a random method, a method of determining by distance from the target key point, etc., see the above content.

[0095] In some optional embodiments of the present disclosure, in response to the at least one visible key point not including the target key point, determining a visible key point from the at least one visible key point as a reference key point includes:

[0096] A visible key point among the at least one visible key point that is closest to the target key point is used as a reference key point.

[0097] In some optional embodiments of the present disclosure, each preset key point in the preset key point set may have its own index, and the distance relationship between the key points represented by each index may be marked in advance to facilitate subsequent queries. When the index of each preset key point is determined, the distance relationship between each preset key point and the target key point is determined. For example, see Figure 4 For the human sample object shown, the target key point is key point 4, and the distance from the target key point from near to far can be expressed as 4<11=12<3<13=14<2<5=8<1<… If the visible key points in the sample image include 1, 2, 3, 5, 6, 7, 11, 13, 15, 16, then select 11, which is closest to 4, as the reference key point.

[0098] This embodiment helps to reduce the loss error caused by inaccurate true value of the three-dimensional coordinates of the reference key point by taking the visible key point closest to the target key point as the reference key point, and further improves the accuracy of the model prediction results.

[0099] In some optional embodiments of the present disclosure, the model loss includes: depth loss, target key point loss, and image coordinate loss. Step 340 determines the model loss of the sample image based on the relative depth true value and relative depth prediction value of each visible key point relative to the reference key point, the absolute depth prediction value and the depth true value of the reference key point, and the image coordinate true value and image coordinate prediction value of each preset key point, including:

[0100] Step 3410: Determine the depth loss of the sample image based on the relative depth true value and the relative depth prediction value of each visible key point relative to the reference key point.

[0101] In some optional embodiments of the present disclosure, the depth loss of the sample image may be determined based on a depth loss function. The depth loss function may be any one of an L1 loss function, an L2 loss function, and the like.

[0102] In some optional embodiments of the present disclosure, the depth loss L d It can be expressed as follows:

[0103]

[0104] Among them, s represents the index set of visible key points, |s| represents the number of visible key points of the sample object in the sample image, e(e∈s) represents the index of the reference key point, and f d Represents the depth loss function. Other symbols can be found in the previous content.

[0105] Step 3420: Determine the target key point loss of the sample image based on the absolute depth prediction value and the true depth value of the reference key point.

[0106] In some optional embodiments of the present disclosure, the target key point loss may be determined based on a target key point loss function.

[0107] In some optional embodiments of the present disclosure, the target key point loss of the sample image can be expressed as follows:

[0108]

[0109] In some optional embodiments of the present disclosure, if the target key point r is a visible key point s, and the reference key point is the target key point, then the target key point loss function is f r .d r Represents the true depth value of the target key point, L r =j r [2] represents the absolute depth prediction value of the target key point. Since the number of reference key points is 1, f r It can be expressed as a calculation With d r A function of the error value. The error value can be the difference or the absolute value of the difference.

[0110] In some optional embodiments of the present disclosure, if the target key point r is an invisible key point o, the target key point loss can be determined based on the reference key point e, and the target key point loss function is f e . Represents the relative depth prediction value of the reference key point relative to the target key point, represents the absolute depth prediction value of the target key point, d e Represents the ground truth depth of the reference keypoint.

[0111] In some optional embodiments of the present disclosure, It can represent the relative depth prediction value of the reference key point relative to the target key point after decentralization.

[0112] In some optional embodiments of the present disclosure, for each sample image, if the number of reference key points is multiple, the target key point loss corresponding to each reference key point can be determined based on the absolute depth prediction value and the true depth value of the reference key point, and then the target key point losses corresponding to the multiple reference key points are fused to obtain the target key point loss of the sample image.

[0113] Step 3430, based on the true image coordinate value and the predicted image coordinate value of each preset key point, determine the image coordinate loss of the sample image.

[0114] In some optional embodiments of the present disclosure, the image coordinate loss may be determined based on an image coordinate loss function, and the image coordinate loss function may adopt any one of an L1 loss function, an L2 loss function, and the like.

[0115] In some optional embodiments of the present disclosure, the image coordinate loss may be expressed as follows:

[0116]

[0117] Among them, f uv represents the image coordinate loss function. U i and V i Represents the true value of the image coordinates of the preset key points, and Represents the image coordinate prediction value of the preset key point, U i =j i [0],V i =j i [1] The meanings of other symbols can be found in the above content.

[0118] This embodiment determines the model loss of the sample image by determining the depth loss, target key point loss and image coordinate loss. It can supervise the relative depth prediction value, image coordinate prediction value and absolute depth prediction value of the target key point predicted by the model, which helps to improve the overall performance of the model prediction, thereby further improving the accuracy of the model prediction.

[0119] In some optional embodiments of the present disclosure, in response to the at least one visible key point not including the target key point, determining the relative depth true value and the relative depth predicted value of each visible key point in the sample image relative to the reference key point in the sample image based on the depth true value of each visible key point in the sample image and the relative depth predicted value of each visible key point relative to the target key point in step 320 includes:

[0120] Traverse the at least one visible key point, use the traversed visible key point as the current reference key point, and perform the following steps:

[0121] Based on the true depth value of each visible key point, the relative true depth value of the visible key point relative to the current reference key point is determined. Based on the relative depth prediction value of the visible key point relative to the target key point, the relative depth prediction value of the visible key point relative to the current reference key point is determined.

[0122] In some optional embodiments of the present disclosure, for each current reference key point, the specific operation of determining the relative depth true value and the relative depth prediction value of the visible key point relative to the current reference key point can be referred to the aforementioned step 320 and will not be repeated here.

[0123] This embodiment can further improve the effectiveness of the model loss by taking each visible key point of at least one visible key point as a reference key point, and using the relative depth true value and the relative depth prediction value of each visible key point relative to each reference key point for determining the depth loss, thereby helping to further improve the accuracy of the obtained model prediction results.

[0124] In some optional embodiments of the present disclosure, determining the depth loss of the sample image based on the relative depth true value and the relative depth prediction value of each visible key point relative to the reference key point in step 3410 includes:

[0125] For each visible key point as the current reference key point: determine the number of times the visible key point is visible in the batch. Based on the number of times the visible key point is visible, determine the loss weight corresponding to the visible key point. Obtain the depth loss corresponding to the visible key point through the relative depth true value and the relative depth prediction value of the at least one visible key point relative to the visible key point as the current reference key point. Based on the depth loss corresponding to each visible key point in the sample image and the loss weight, determine the depth loss corresponding to the sample image.

[0126] It should be noted that there is no restriction on the execution order of determining the loss weight corresponding to the visible key point and obtaining the depth loss corresponding to the visible key point. They can be executed one after the other or simultaneously without affecting the implementation of the embodiments of the present disclosure.

[0127] In some optional embodiments of the present disclosure, the number of times the visible key point is visible in the batch refers to the number of sample images of the batch in which the visible key point is a visible key point in each sample image. For example, if the batch includes N sample images, and among the N sample images, the visible key point is a visible key point in n sample images, then the number of times the visible key point is visible in the batch is n.

[0128] In some optional embodiments of the present disclosure, the loss weight corresponding to the visible key point can be determined based on the rule that the greater the number of times it is visible, the smaller the loss weight. For example, the loss weight corresponding to the visible key point can be inversely proportional to the number of times the visible key point is visible. This is because if a preset key point is visible more times in the batch, the model has more learning opportunities for it, and it is necessary to reduce its impact on the model loss of the sample image. On the contrary, if a preset key point is visible less times in the batch, the model has fewer learning opportunities for it, and it is necessary to increase its impact on the model loss of the sample image.

[0129] In some optional embodiments of the present disclosure, the loss weight corresponding to the visible key point is the inverse of the number of times the visible key point is visible, for example, expressed as 1 / n, where n represents the number of times the visible key point is visible in the batch.

[0130] In some optional embodiments of the present disclosure, for the visible key point serving as the current reference key point, the depth loss corresponding to the visible key point may be calculated based on a preset loss function, such as an L1 loss function, an L2 loss function, and the like.

[0131] In some optional embodiments of the present disclosure, for each visible key point that serves as the current reference key point, its loss weight is used to weight the depth loss corresponding to the visible key point, and the depth loss corresponding to the sample image is obtained by weighted summing the depth losses and loss weights corresponding to each visible key point.

[0132] In some optional embodiments of the present disclosure, the depth loss corresponding to the sample image can be expressed as follows:

[0133]

[0134] Where s represents the index set of visible key points, |s| represents the number of visible key points of the sample object in the sample image, and e represents the index of the reference key point. d represents the depth loss function, w e Represents the loss weight of the visible keypoint as the current reference keypoint. Represents the relative depth prediction value of the visible keypoint with index k relative to the current reference keypoint, j k [2]-j e [2] represents the relative depth truth value of the visible keypoint with index k relative to the current reference keypoint.

[0135] This embodiment determines the depth loss corresponding to the sample image according to the depth loss and loss weight corresponding to the visible key point serving as the current reference key point by taking at least one visible key point as the current reference key point. Since the depth loss comprehensively considers the situation that at least one visible key point is used as the reference key point, the reliability of the depth loss is further improved, thereby improving the prediction performance of the model.

[0136] It should be noted that step 3410, step 3420, and step 3430 have no execution order dependency and can be executed simultaneously or sequentially without any restriction on the execution order.

[0137] Figure 5 It is a flowchart for evaluating a three-dimensional pose estimation model provided by yet another exemplary embodiment of the present disclosure.

[0138] In some optional embodiments of the present disclosure, after obtaining the three-dimensional posture estimation model in step 30, the method further includes:

[0139] Step 510: Acquire a plurality of test images containing the test object.

[0140] In some optional embodiments of the present disclosure, each test image carries the true value of the image coordinates of each preset test key point in the preset test key point set of the test object and the true depth value corresponding to at least one visible test key point.

[0141] In some optional embodiments of the present disclosure, the visible test key points are preset test key points in the preset test key point set that are visible in the test image.

[0142] In some optional embodiments of the present disclosure, the test object is consistent with the sample object of the aforementioned embodiment, and the test image is similar to the aforementioned sample image. For example, a part of all sample images can be used as sample images for training, and another part can be used as test images for testing.

[0143] In some optional embodiments of the present disclosure, the preset test key point set is consistent with the preset key point set of the aforementioned embodiment. The preset test key points are consistent with the preset key points of the aforementioned embodiment. The visible test key points are consistent with the visible key points of the aforementioned embodiment.

[0144] Step 520: for each test image in the plurality of test images, determine a prediction result of the test image using the three-dimensional pose estimation model.

[0145] In some optional embodiments of the present disclosure, the prediction results include: the image coordinate prediction value of each preset test key point, the relative depth prediction value of each preset test key point relative to the target test key point in the preset test key point set, and the absolute depth prediction value of the target test key point.

[0146] It should be noted that the specific operation of step 520 is consistent with the operation on the sample image in the aforementioned embodiment, and reference may be made to the aforementioned embodiment, and no further description is given here.

[0147] Step 530, based on the difference between the relative depth prediction value of each visible test key point in the test image relative to the target test key point and the relative depth prediction value of the target test key point relative to the target test key point, the absolute depth prediction value of the target test key point, the image coordinate prediction value of each visible test key point, and the camera intrinsic parameters of the camera that took the test image, obtain the three-dimensional coordinate prediction value of each visible test key point in the camera coordinate system of the camera.

[0148] In some optional embodiments of the present disclosure, the relative depth prediction value of the target test key point relative to the target test key point characterizes that the model prediction result may have an unknown deviation. By calculating the difference between the relative depth prediction value of each visible test key point relative to the target test key point and the relative depth prediction value of the target test key point relative to the target test key point, the decentralization of the overall depth prediction value of the model can be achieved to eliminate or reduce the deviation of the prediction result.

[0149] In some optional embodiments of the present disclosure, the absolute depth prediction value of each visible test key point can be obtained by adding the difference between the relative depth prediction value of each visible test key point relative to the target test key point and the relative depth prediction value of the target test key point relative to the target test key point to the absolute depth prediction value of the target test key point. Then, based on the absolute depth prediction value and image coordinate prediction value of each visible test key point, the image coordinate prediction value of each visible test key point can be converted from a two-dimensional coordinate system to a camera coordinate system in combination with the camera intrinsic parameter to obtain the three-dimensional coordinate prediction value of each visible test key point in the camera coordinate system of the camera.

[0150] In some optional embodiments of the present disclosure, the absolute depth prediction value of each visible test key point represents the absolute distance between the pixel corresponding to the visible test key point and the camera. Therefore, based on the absolute depth prediction value of the visible test key point, the coordinate prediction value of the visible test key point in the Z-axis direction in the camera coordinate system can be obtained, and the intrinsic parameter matrix can be determined based on the camera intrinsic parameter. Then, based on the coordinate prediction value in the Z-axis direction and the intrinsic parameter matrix, the image coordinate prediction value of the visible test key point can be converted to the camera coordinate system to obtain the three-dimensional coordinate prediction value in the camera coordinate system.

[0151] In some optional examples of the present disclosure, taking the two-dimensional coordinate system as a pixel coordinate system as an example, the conversion relationship between the pixel coordinate system and the camera coordinate system can be expressed as follows:

[0152]

[0153] Among them, (X c ,Y c ,Z c ) represents the coordinates in the camera coordinate system, (u,v) represents the coordinates in the pixel coordinate system, Represents the intrinsic parameter matrix determined by the camera intrinsic parameters. c Determined based on absolute depth values, for example, Z is determined based on the absolute depth prediction values ​​of visible test keypoints. c It can be considered that the absolute depth prediction value of the visible test key point is consistent with Z c equal.

[0154] In some optional embodiments of the present disclosure, the set of three-dimensional coordinate prediction values ​​of each visible test key point in the camera coordinate system can be expressed as Represents the set of 3D coordinate prediction values ​​of |s| visible test key points. X, Y, and Z represent the coordinate components of the X-axis, Y-axis, and Z-axis of the camera coordinate system, respectively.

[0155] Step 540, based on the depth true value and image coordinate true value of each visible test key point in the test image and the camera intrinsic parameter, obtain the three-dimensional coordinate true value of each visible test key point in the camera coordinate system.

[0156] In some optional embodiments of the present disclosure, it can be seen that the principle of determining the true value of the three-dimensional coordinate of the test key point is similar to the aforementioned three-dimensional coordinate prediction value, which will not be elaborated here.

[0157] In some optional embodiments of the present disclosure, the set of true values ​​of the three-dimensional coordinates of each visible test key point in the camera coordinate system can be expressed as P s ={p k}, s = {k}, P s Represents the set of true values ​​of the 3D coordinates of |s| visible test key points.

[0158] It should be noted that step 530 and step 540 have no dependency on the execution order and can be executed simultaneously or successively without restriction on the execution order.

[0159] Step 550 , evaluating the 3D pose estimation model based on the 3D coordinate prediction value and the 3D coordinate true value of each visible test key point in the camera coordinate system.

[0160] In some optional embodiments of the present disclosure, the evaluation of the 3D posture estimation model can be achieved by calculating the index value of the evaluation index. The evaluation index can adopt any feasible index, for example, the average key point position error can be used as the evaluation index.

[0161] In some optional embodiments of the present disclosure, the MPJPE (Mean Per Joint Position Error) of a test object (such as a human body, hand, face, animal, etc.) can be evaluated based on determined reference points, that is, the average error of the positions of visible test key points of the test object can be evaluated.

[0162] In some optional embodiments of the present disclosure, the image coordinate true value corresponding to each visible test key point can be converted into a three-dimensional coordinate true value X in the camera coordinate system based on the image coordinate true value, depth true value and camera intrinsic parameter of the visible test key point. k , Y k , Z k . The three-dimensional posture estimation model will output the image coordinate prediction value of each preset test key point, the relative depth prediction value of each preset test key point relative to the target test key point, and the absolute depth prediction value of the target test key point. Based on the difference between the relative depth prediction value of the visible test key point relative to the target test key point and the relative depth prediction value of the target test key point relative to the target test key point, and the absolute depth prediction value of the target test key point, the absolute depth prediction value of each visible test key point can be obtained. Based on the image coordinate prediction value, absolute depth prediction value and camera intrinsic parameter of each visible test key point, the three-dimensional coordinate prediction value of each visible test key point in the camera coordinate system is obtained.

[0163] The position error of each key point can be expressed as Euclidean distance. The evaluation index value corresponding to the test image can be expressed as follows:

[0164]

[0165] In some optional embodiments of the present disclosure, the three-dimensional relative coordinate true value and the three-dimensional relative coordinate predicted value of each visible test key point in the camera coordinate system relative to the reference point can also be used to evaluate the three-dimensional posture estimation model. The difference between the three-dimensional coordinate true value of each visible test key point and the three-dimensional coordinate true value of the reference point is used to represent the three-dimensional relative coordinate true value of the visible test key point relative to the reference point: ΔX k =X k -X e , ΔY k =Y k -Y e , ΔZ k =Zk -Z e Similarly, the difference between the predicted 3D coordinate value of each visible test key point and the predicted 3D coordinate value of the reference point is used to represent the predicted 3D relative coordinate value of the visible test key point relative to the reference point. Based on the Euclidean distance between the true value of the 3D relative coordinates of each visible test key point and the predicted value of the 3D relative coordinates, the evaluation index value of the 3D pose estimation model is calculated.

[0166] In some optional embodiments of the present disclosure, the evaluation index value corresponding to the test image can be calculated according to the following formula:

[0167]

[0168] In some optional embodiments of the present disclosure, the image coordinate true value and depth true value of the visible test key points can also be used directly to evaluate the three-dimensional posture estimation model. The absolute depth prediction value of each visible test key point relative to the target test key point and the absolute depth prediction value of the target test key point are used to obtain the absolute depth prediction value of each visible test key point. Then, the image coordinate prediction value, absolute depth prediction value, image coordinate true value, and depth true value of each visible key point are used to calculate the evaluation index value corresponding to the test image in a manner similar to the above. There are many other specific implementation methods, which are not listed one by one in the present disclosure.

[0169] After obtaining the evaluation index value corresponding to each test image, the evaluation index value corresponding to each test image in the multiple test images can be fused to obtain the evaluation index value of the 3D posture estimation model. The fusion method can be at least one of averaging, median, summing, weighted summing, maximum value, minimum value, quantile value, etc., or a combination of at least one of the above.

[0170] This embodiment evaluates the trained 3D pose estimation model based on multiple test images, which helps to understand the performance of the 3D pose estimation model. If the model performance does not meet the expected conditions, training can be continued to ensure the accuracy and reliability of the prediction results of the 3D pose estimation model.

[0171] In some optional embodiments of the present disclosure, since the depth loss is the error of the relative depth of the visible key point relative to the reference key point, rather than the error of the relative depth of the visible key point relative to the target key point, the reference key point may not be the target key point, which may cause the relative depth prediction values ​​of each preset key point relative to the target key point obtained by the model prediction to have an unknown deviation Δ as a whole. In order to eliminate this deviation, the three-dimensional posture estimation model obtained by training can first decentralize the relative depth prediction values ​​of each preset key point relative to the target key point in the prediction result during the inference application stage. It can be expressed as: i∈range(a), express The third component in , that is, removing the relative depth prediction value of the target key point relative to the target key point. Because the relative depth prediction value of the target key point relative to the target key point may not be 0, this deviation needs to be removed.

[0172] In the model evaluation stage, for each test image, the relative depth prediction values ​​of each preset test key point in the test image relative to the target test key point can be decentralized. Then, the relative depth prediction value of each decentralized visible test key point relative to the target test key point is used to obtain the relative depth prediction value of the visible test key point relative to the reference point. Then, based on the relative depth true value and relative depth prediction value of each visible test key point in each test image relative to the reference point in the test image, the 3D pose estimation model is evaluated.

[0173] Figure 6 It is a flowchart for evaluating a three-dimensional pose estimation model provided by another example embodiment of the present disclosure.

[0174] In some optional embodiments of the present disclosure, after obtaining the three-dimensional posture estimation model in step 30, the method further includes:

[0175] Step 610: Acquire a plurality of test images containing the test object.

[0176] In some optional embodiments of the present disclosure, each test image carries the true value of the image coordinates of each preset test key point in the preset test key point set of the test object and the true depth value corresponding to at least one visible test key point.

[0177] In some optional embodiments of the present disclosure, the visible test key points are preset test key points in the preset test key point set that are visible in the test image.

[0178] Step 620: for each test image in the plurality of test images, determine a prediction result of the test image using the three-dimensional pose estimation model.

[0179] In some optional embodiments of the present disclosure, the prediction results include: the image coordinate prediction value of each preset test key point, the relative depth prediction value of each preset test key point relative to the target test key point in the preset test key point set, and the absolute depth prediction value of the target test key point.

[0180] It should be noted that the specific operations of step 610 and step 620 can be found in the above-mentioned embodiment and will not be described in detail here.

[0181] Step 630, based on the relative depth prediction value of each visible test key point in the test image relative to the target test key point, the absolute depth prediction value of the target test key point, the image coordinate prediction value of each visible test key point, and the camera intrinsic parameters of the camera that took the test image, obtain the three-dimensional relative coordinate prediction value of each visible test key point relative to the reference point in the camera coordinate system of the camera.

[0182] In some optional embodiments of the present disclosure, the reference point is a visible test key point that is closest to the target test key point among at least one visible test key point in the test image.

[0183] In some optional embodiments of the present disclosure, for any visible test key point, based on the relative depth prediction value of the visible test key point relative to the target test key point and the relative depth prediction value of the reference point relative to the target test key point, the relative depth prediction value of the visible test key point relative to the reference point in the camera coordinate system can be obtained. Based on the difference between the relative depth prediction value of the visible test key point relative to the target test key point and the relative depth prediction value of the target test key point relative to the target test key point, and the absolute depth prediction value of the target test key point, the absolute depth prediction value of the visible test key point in the camera coordinate system can be obtained. Based on the absolute depth prediction value of the visible test key point in the camera coordinate system, the image coordinate prediction value of the visible test key point, and the camera internal parameter, the coordinate prediction values ​​of the visible test key point along the X-axis and Y-axis directions in the camera coordinate system can be obtained. Based on the coordinate prediction values ​​of the visible test key point along the X-axis and Y-axis directions in the camera coordinate system, the relative coordinate prediction values ​​of the visible test key point relative to the reference point along the X-axis and Y-axis directions in the camera coordinate system can be obtained. The relative depth prediction value of the visible test key point relative to the reference point in the camera coordinate system and the relative coordinate prediction values ​​along the X-axis and Y-axis directions respectively constitute the three-dimensional relative coordinate prediction value of the visible test key point relative to the reference point in the camera coordinate system.

[0184] In some optional embodiments of the present disclosure, for any visible test key point, based on the difference between the relative depth prediction value of the visible test key point relative to the target test key point and the relative depth prediction value of the target test key point relative to the target test key point, and the absolute depth prediction value of the target test key point, the absolute depth prediction value of the visible test key point in the camera coordinate system can be obtained. Based on the absolute depth prediction value and the image coordinate prediction value of the visible test key point, combined with the camera intrinsic parameters of the camera, the image coordinate prediction value of the visible test key point can be converted to the camera coordinate system to obtain the three-dimensional coordinate prediction value of the visible test key point in the camera coordinate system. The reference point is a visible test key point, so the three-dimensional coordinate prediction value of the reference point can be obtained. Based on the three-dimensional coordinate prediction value of the visible test key point and the three-dimensional coordinate prediction value of the reference point, the three-dimensional relative coordinate prediction value of the visible test key point relative to the reference point in the camera coordinate system of the camera is obtained.

[0185] Step 640, based on the depth true value and image coordinate true value of each visible test key point in the test image and the camera intrinsic parameter, obtain the three-dimensional relative coordinate true value of each visible test key point relative to the reference point in the camera coordinate system.

[0186] In some optional embodiments of the present disclosure, for any visible test key point, based on the depth true value, image coordinate true value and camera intrinsic parameter of the visible test key point, the image coordinate true value of the visible test key point can be converted to the camera coordinate system to obtain the three-dimensional coordinate true value of the visible test key point in the camera coordinate system. The reference point is also a visible test key point, so the three-dimensional coordinate true value of the reference point in the camera coordinate system can be obtained. Furthermore, based on the three-dimensional coordinate true value of the visible test key point and the three-dimensional coordinate true value of the reference point, the three-dimensional relative coordinate true value of the visible test key point relative to the reference point in the camera coordinate system can be obtained.

[0187] It should be noted that step 630 and step 640 have no dependency on the execution order and can be executed simultaneously or successively without restriction on the execution order.

[0188] Step 650 , evaluating the 3D pose estimation model based on the 3D relative coordinate prediction value and the 3D relative coordinate true value of each visible test key point relative to the reference point in the camera coordinate system.

[0189] In some optional embodiments of the present disclosure, the evaluation index value corresponding to the test image can be calculated based on the three-dimensional relative coordinate prediction value of each visible test key point relative to the reference point and the three-dimensional relative coordinate true value, such as the aforementioned MPJPE. Afterwards, the evaluation index value corresponding to each test image in the multiple test images can be fused to obtain the evaluation index value of the three-dimensional posture estimation model. The fusion method can be at least one or a combination of averaging, median, summing, weighted summing, taking the maximum value, taking the minimum value, taking the quantile value, etc. The evaluation index value of the three-dimensional posture estimation model is used to evaluate the three-dimensional posture estimation model.

[0190] This embodiment evaluates the trained 3D posture estimation model through the 3D relative coordinate prediction value and the 3D relative coordinate true value of each visible test key point relative to the reference point, which helps to understand the performance of the 3D posture model and promptly discover the situation where the model performance does not meet the expected conditions, so that the model can continue to be trained to improve the model performance.

[0191] In some optional embodiments of the present disclosure, step 630 obtains a three-dimensional relative coordinate prediction value of each visible test key point relative to a reference point in a camera coordinate system based on a relative depth prediction value of each visible test key point in the test image relative to a target test key point, an absolute depth prediction value of the target test key point, an image coordinate prediction value of each visible test key point, and a camera intrinsic parameter of a camera that shoots the test image, including:

[0192] Step 6310, based on the relative depth prediction value of each visible test key point relative to the target test key point, obtain the relative depth prediction value of each visible test key point relative to the reference point in the camera coordinate system.

[0193] In some optional embodiments of the present disclosure, for any visible test key point, the difference between the relative depth prediction value of the test key point relative to the target test key point and the relative depth prediction value of the reference key point relative to the target test key point can be used as the relative depth prediction value of the visible test key point relative to the reference point in the camera coordinate system.

[0194] Step 6320, based on the difference between the relative depth prediction value of each visible test key point relative to the target test key point and the relative depth prediction value of the target test key point relative to the target test key point, and the absolute depth prediction value of the target test key point, obtain the absolute depth prediction value of each visible test key point in the camera coordinate system.

[0195] In some optional embodiments of the present disclosure, the difference between the relative depth prediction value of each visible test key point relative to the target test key point and the relative depth prediction value of the target test key point relative to the target test key point is calculated, which can achieve decentralization of the relative depth prediction value, eliminate or reduce the deviation of the overall relative depth prediction value, and improve the accuracy of the absolute depth prediction value. The calculation of the absolute depth prediction value can refer to the aforementioned embodiment and will not be repeated here.

[0196] Step 6330, based on the absolute depth prediction value of each visible test key point in the camera coordinate system, the image coordinate prediction value of each visible test key point, and the camera intrinsic parameters, obtain the coordinate prediction value of each visible test key point along the X-axis and Y-axis directions in the camera coordinate system.

[0197] In some optional embodiments of the present disclosure, the principle of conversion from a two-dimensional coordinate system to a camera coordinate system can be referred to in the aforementioned embodiments and will not be described in detail here.

[0198] Step 6340, based on the coordinate prediction values ​​of each visible test key point along the X-axis and Y-axis directions in the camera coordinate system, obtain the relative coordinate prediction values ​​of each visible test key point along the X-axis and Y-axis directions relative to the reference point in the camera coordinate system.

[0199] In some optional embodiments of the present disclosure, the coordinate prediction values ​​of each visible test key point along the X-axis and Y-axis directions in the camera coordinate system are calculated, and the differences between the coordinate prediction values ​​of the reference point along the X-axis and Y-axis directions in the camera coordinate system are calculated. The relative coordinate prediction values ​​of each visible test key point along the X-axis and Y-axis directions in the camera coordinate system relative to the reference point can be obtained.

[0200] Therefore, the relative depth prediction value of each visible test key point relative to the reference point in the camera coordinate system and the relative coordinate prediction value along the X-axis and Y-axis directions relative to the reference point constitute the three-dimensional relative coordinate prediction value of the visible test key point relative to the reference point in the camera coordinate system.

[0201] This embodiment can decentralize the relative depth prediction value of each visible test key point by calculating the difference between the relative depth prediction value of each visible test key point relative to the target test key point and the relative depth prediction value of the target test key point relative to the target test key point, which helps to eliminate or reduce the deviation of the overall relative depth prediction value and improve the accuracy of the absolute depth prediction value.

[0202] In some optional embodiments of the present disclosure, the sample object may be any one of a human body, a hand, a human face, and an animal.

[0203] In some optional embodiments of the present disclosure, the multiple sample images include at least one target sample image, and at least one visible key point of the sample object in the target sample image includes a target key point.

[0204] In some optional embodiments of the present disclosure, the target key points of different sample objects can be set according to the actual situation of the sample objects. For example, the target key points of the human body can be as follows: Figure 4 The target key point of the hand may be the key point at the base of the palm, etc., as shown in key point No. 4 at the position shown.

[0205] This embodiment includes at least one target sample image in multiple sample images, so that the target key points of the sample object are visible in at least one sample image, which helps the model learn the association information between each preset key point and the target key point. Therefore, when the three-dimensional posture estimation model is used for reasoning, even if the target key point is not visible, it can predict the accurate and effective relative depth prediction value of each preset key point relative to the target key point and the absolute depth prediction value of the target key point.

[0206] The above-mentioned embodiments or optional examples of the present disclosure may be implemented separately or in any combination without conflict. The specific configuration may be based on actual needs and the present disclosure does not limit this.

[0207] Any method for determining a three-dimensional posture estimation model provided in the embodiments of the present disclosure may be performed by any appropriate device with data processing capabilities, including but not limited to: a terminal device and a server, etc. Alternatively, any method for determining a three-dimensional posture estimation model provided in the embodiments of the present disclosure may be performed by a processor, such as the processor executing any method for determining a three-dimensional posture estimation model mentioned in the embodiments of the present disclosure by calling corresponding instructions stored in a memory. This will not be described in detail below.

[0208] Figure 7 is a flow chart of a method for determining a three-dimensional posture provided by an exemplary embodiment of the present disclosure. The embodiment of the present disclosure can be applied to electronic devices, such as head-mounted display devices, mobile phones, tablets, computers, servers, etc. Figure 7 As shown, the method comprises the following steps:

[0209] Step 710: Acquire a target image containing a target object.

[0210] In some optional embodiments of the present disclosure, the target image can be acquired by a terminal device with a camera. The terminal device can be a head-mounted display device, a mobile phone, a tablet, etc. with a camera.

[0211] Step 720: Determine a prediction result corresponding to the target image using the pre-acquired target three-dimensional posture estimation model.

[0212] In some optional embodiments of the present disclosure, the target three-dimensional posture estimation model is obtained based on the method for determining the three-dimensional posture estimation model provided in any of the above embodiments.

[0213] In some optional embodiments of the present disclosure, the prediction results include: image coordinate prediction values ​​of each preset key point in the target image, relative depth prediction values ​​of each preset key point relative to the target key point in the preset key point set, and absolute depth prediction values ​​of the target key point.

[0214] It should be noted that the specific method for obtaining the three-dimensional posture estimation model and its function can be found in the above-mentioned embodiment, which will not be described in detail here.

[0215] Step 730 : determining the three-dimensional posture of the target object based on the prediction result.

[0216] In some optional embodiments of the present disclosure, after obtaining the image coordinate prediction value of each preset key point of the target object, the relative depth prediction value of each preset key point relative to the target key point, and the absolute depth prediction value of the target key point, the absolute depth prediction value of each preset key point can be determined based on the image coordinate prediction value of each preset key point, the relative depth prediction value relative to the target key point, and the absolute depth prediction value of the target key point. Then, based on the absolute depth prediction value, image coordinate prediction value, and camera internal parameter of each preset key point, the three-dimensional coordinate prediction value of each preset key point in the camera coordinate system is determined. Based on the three-dimensional coordinate prediction value of each preset key point in the camera coordinate system, the relative position of each preset key point of the target object relative to the target key point is determined. Then, based on the relative position and the correlation between each preset key point, the posture of the target object and each part of the target object can be determined. For example, the bending state of the arm, the direction of the arm, the bending state of the leg, the direction of the leg, the overall three-dimensional posture of the target object, etc. The action of the target object can also be determined by the three-dimensional posture of the target object in a continuous time frame.

[0217] The method for determining three-dimensional posture provided by the embodiments of the present disclosure utilizes the three-dimensional posture estimation model obtained in the aforementioned embodiments to determine the three-dimensional coordinate prediction value of each preset key point in the target image in the camera coordinate system, which is used to determine the three-dimensional posture of the target object. When the target key points of the target object are invisible (randomly occluded) in the target image, accurate and effective three-dimensional coordinate prediction values ​​of each preset key point can be obtained, which helps to improve the accuracy of the three-dimensional posture of the target object.

[0218] In some optional embodiments of the present disclosure, determining the three-dimensional posture of the target object based on the prediction result in step 730 includes:

[0219] For each preset key point, based on the difference between the relative depth prediction value of the preset key point relative to the target key point and the relative depth prediction value of the target key point relative to the target key point, the absolute depth prediction value of the target key point, the image coordinate prediction value of the preset key point, and the camera intrinsic parameters of the camera that shoots the target image, the three-dimensional coordinate prediction value of the preset key point in the camera coordinate system of the camera is determined. Based on the three-dimensional coordinate prediction value of each preset key point in the camera coordinate system, the three-dimensional posture of the target object is determined.

[0220] In some optional embodiments of the present disclosure, for each preset key point, consistent with the decentralization in the model training stage, after obtaining the relative depth prediction value of the preset key point relative to the target key point, the relative depth prediction value of the preset key point relative to the target key point can be decentralized, and the difference between the relative depth prediction value of the preset key point relative to the target key point and the relative depth prediction value of the target key point relative to the target key point is calculated, and then based on the decentralized relative depth prediction value and the absolute depth prediction value of the target key point, the absolute depth prediction value of the preset key point can be obtained, and based on the absolute depth prediction value of the preset key point, the image coordinate prediction value and the camera intrinsic parameters of the camera that captures the target image, the three-dimensional coordinate prediction value of the preset key point in the camera coordinate system is obtained. Based on the three-dimensional coordinate prediction value of each preset key point in the camera coordinate system, the positional relationship between the preset key points can be determined, so that the three-dimensional posture of the target object can be determined based on the positional relationship.

[0221] In some optional embodiments of the present disclosure, since the depth loss uses the error of the relative depth of the visible key point relative to the reference key point, rather than the error of the relative depth of the visible key point relative to the target key point during the model training phase, the reference key point may not be the target key point, which may cause the relative depth prediction value of each preset key point relative to the target key point obtained by the model prediction to have an unknown deviation Δ as a whole. In order to eliminate this deviation, after obtaining the prediction result of the model, the relative depth prediction value of each preset key point relative to the target key point is first decentralized. That is, the difference between the relative depth prediction value of the preset key point relative to the target key point and the relative depth coordinate prediction value of the target key point relative to the target key point is calculated, which can be expressed as: i∈range(a), Represents the relative depth prediction value of the target key point relative to the target key point. Because the relative depth prediction value of the target key point relative to the target key point may not be 0, this deviation needs to be removed. Then, based on the relative depth prediction values ​​of each decentralized preset key point relative to the target key point, the 3D posture of the target object is estimated.

[0222] This embodiment helps to eliminate the overall deviation of the model prediction results and improve the accuracy of the three-dimensional posture of the target object by decentralizing the relative depth prediction values ​​of the preset key points relative to the target key points in the model prediction results.

[0223] The above-mentioned embodiments or optional examples of the present disclosure may be implemented separately or in any combination without conflict. The specific configuration may be based on actual needs and the present disclosure does not limit this.

[0224] Any method for determining a three-dimensional posture provided in the embodiments of the present disclosure may be performed by any appropriate device with data processing capabilities, including but not limited to: a terminal device and a server, etc. Alternatively, any method for determining a three-dimensional posture provided in the embodiments of the present disclosure may be performed by a processor, such as the processor executing any method for determining a three-dimensional posture mentioned in the embodiments of the present disclosure by calling corresponding instructions stored in a memory. This will not be described in detail below.

[0225] Exemplary Devices

[0226] Figure 8 is a schematic diagram of the structure of an apparatus for determining a three-dimensional posture estimation model provided by an exemplary embodiment of the present disclosure. The apparatus of this embodiment can be used to implement the corresponding method embodiment for determining a three-dimensional posture estimation model of the present disclosure, such as Figure 8 The device shown includes: an image acquisition module 810 and a model training module 820.

[0227] The image acquisition module 810 is used to acquire a plurality of sample images containing sample objects.

[0228] In some optional embodiments of the present disclosure, each sample image carries the true image coordinate value of each preset key point in the preset key point set of the sample object and the true depth value corresponding to at least one visible key point. The visible key point is a preset key point in the preset key point set that is visible in the sample image.

[0229] The model training module 820 is used to perform the following operations on the model to be trained until the training of the model to be trained is completed to obtain a three-dimensional posture estimation model:

[0230] For any sample image in any batch, the prediction result of the sample image is determined using the model to be trained. The prediction result includes: the image coordinate prediction value of each preset key point, the relative depth prediction value of each preset key point relative to the target key point in the preset key point set, and the absolute depth prediction value of the target key point.

[0231] Based on the true depth value of each visible key point in the sample image and the relative depth prediction value of each visible key point relative to the target key point, the relative depth true value and relative depth prediction value of each visible key point in the sample image relative to a reference key point in the sample image are determined, wherein the reference key point is one of at least one visible key point in the sample image.

[0232] Based on the relative depth prediction value of the reference keypoint relative to the target keypoint and the absolute depth prediction value of the target keypoint, an absolute depth prediction value of the reference keypoint is determined.

[0233] The model loss of the sample image is determined based on the relative depth true value and relative depth prediction value of each visible key point relative to the reference key point, the absolute depth prediction value and depth true value of the reference key point, and the image coordinate true value and image coordinate prediction value of each preset key point.

[0234] Based on the model losses corresponding to each sample image in the batch, the model parameters of the model to be trained are updated.

[0235] In some optional embodiments of the present disclosure, the model training module 820 is further used to determine a reference key point based on at least one visible key point of the sample object in the sample image.

[0236] In some optional embodiments of the present disclosure, the model training module 820 is specifically used to:

[0237] Determine whether the at least one visible key point includes a target key point. In response to the at least one visible key point including the target key point, use the target key point as a reference key point. In response to the at least one visible key point not including the target key point, determine a visible key point from the at least one visible key point as a reference key point.

[0238] In some optional embodiments of the present disclosure, the model training module 820 is specifically used to:

[0239] In response to the at least one visible key point not including the target key point, a visible key point closest to the target key point among the at least one visible key point is used as a reference key point.

[0240] In some optional embodiments of the present disclosure, the model loss includes: depth loss, target key point loss, and image coordinate loss.

[0241] In some optional embodiments of the present disclosure, the model training module 820 is specifically used to:

[0242] Based on the relative depth true value and relative depth prediction value of each visible key point relative to the reference key point, the depth loss of the sample image is determined. Based on the absolute depth prediction value and the depth true value of the reference key point, the target key point loss of the sample image is determined. Based on the image coordinate true value and image coordinate prediction value of each preset key point, the image coordinate loss of the sample image is determined.

[0243] In some optional embodiments of the present disclosure, the model training module 820 is specifically used to: in response to at least one visible key point not including the target key point, traverse at least one visible key point, use the traversed visible key point as the current reference key point, and perform the following steps:

[0244] Based on the true depth value of each visible key point, the relative true depth value of the visible key point relative to the current reference key point is determined. Based on the relative depth prediction value of the visible key point relative to the target key point, the relative depth prediction value of the visible key point relative to the current reference key point is determined.

[0245] In some optional embodiments of the present disclosure, the model training module 820 is specifically used to:

[0246] For each visible key point as the current reference key point: determine the number of times the visible key point is visible in the batch. Based on the number of times the visible key point is visible, determine the loss weight corresponding to the visible key point. Obtain the depth loss corresponding to the visible key point through the relative depth true value and relative depth prediction value of at least one visible key point relative to the visible key point as the current reference key point. Determine the depth loss of the sample image based on the depth loss corresponding to each visible key point in the sample image and the loss weight.

[0247] In some optional embodiments of the present disclosure, the model training module 820 is further used to:

[0248] Acquire multiple test images containing a test object. Each test image carries the true image coordinate value of each preset test key point in the preset test key point set of the test object and the true depth value corresponding to at least one visible test key point. The visible test key point is a preset test key point in the preset test key point set that is visible in the test image. For each test image in the multiple test images, a prediction result of the test image is determined using a three-dimensional posture estimation model. The prediction result includes: the image coordinate prediction value of each preset test key point, the relative depth prediction value of each preset test key point relative to the target test key point in the preset test key point set, and the absolute depth prediction value of the target test key point. Based on the difference between the relative depth prediction value of each visible test key point in the test image relative to the target test key point and the relative depth prediction value of the target test key point relative to the target test key point, the absolute depth prediction value of the target test key point, the image coordinate prediction value of each visible test key point, and the camera intrinsic parameter of the camera that shoots the test image, the three-dimensional coordinate prediction value of each visible test key point in the camera coordinate system of the camera is obtained. Based on the true depth value and image coordinate value of each visible test key point in the test image and the camera intrinsic parameters, the true 3D coordinate value of each visible test key point in the camera coordinate system is obtained. Based on the predicted 3D coordinate value and true 3D coordinate value of each visible test key point in the camera coordinate system, the 3D pose estimation model is evaluated.

[0249] In some optional embodiments of the present disclosure, the image acquisition module 810 is further used to: acquire multiple test images containing the test object. Each test image carries the true value of the image coordinates of each preset test key point in the preset test key point set of the test object and the true depth value corresponding to at least one visible test key point. The visible test key point is a preset test key point in the preset test key point set that is visible in the test image.

[0250] In some optional embodiments of the present disclosure, the device further includes: a first model evaluation module, which is used to determine the prediction result of the test image for each test image in the multiple test images using the three-dimensional posture estimation model. The prediction result includes: the image coordinate prediction value of each preset test key point, the relative depth prediction value of each preset test key point relative to the target test key point in the preset test key point set, and the absolute depth prediction value of the target test key point. Based on the relative depth prediction value of each visible test key point in the test image relative to the target test key point, the absolute depth prediction value of the target test key point, the image coordinate prediction value of each visible test key point, and the camera intrinsic parameter of the camera that shoots the test image, the three-dimensional relative coordinate prediction value of each visible test key point in the camera coordinate system relative to the reference point is obtained. Based on the depth true value and image coordinate true value of each visible test key point in the test image and the camera intrinsic parameter, the three-dimensional coordinate true value of each visible test key point in the camera coordinate system is obtained. Based on the three-dimensional coordinate prediction value and the three-dimensional coordinate true value of each visible test key point in the camera coordinate system, the three-dimensional posture estimation model is evaluated.

[0251] In some optional embodiments of the present disclosure, the device further includes: a second model evaluation module, which is used to determine the prediction result of the test image for each test image in the multiple test images using a three-dimensional posture estimation model. The prediction result includes: the image coordinate prediction value of each preset test key point, the relative depth prediction value of each preset test key point relative to the target test key point in the preset test key point set, and the absolute depth prediction value of the target test key point. Based on the relative depth prediction value of each visible test key point in the test image relative to the target test key point, the absolute depth prediction value of the target test key point, the image coordinate prediction value of each visible test key point, and the camera intrinsic parameter of the camera that shoots the test image, the three-dimensional relative coordinate prediction value of each visible test key point in the camera coordinate system relative to the reference point is obtained; wherein the reference point is the visible test key point closest to the target test key point among at least one visible test key point in the test image. Based on the depth true value and image coordinate true value of each visible test key point in the test image and the camera intrinsic parameter, the three-dimensional relative coordinate true value of each visible test key point in the camera coordinate system relative to the reference point is obtained. The 3D pose estimation model is evaluated based on the predicted 3D relative coordinates of each visible test keypoint relative to the reference point in the camera coordinate system and the true 3D relative coordinates.

[0252] In some optional embodiments of the present disclosure, the second model evaluation module is specifically used to:

[0253] Based on the relative depth prediction value of each visible test key point relative to the target test key point, the relative depth prediction value of each visible test key point relative to the reference point in the camera coordinate system is obtained. Based on the difference between the relative depth prediction value of each visible test key point relative to the target test key point and the relative depth prediction value of the target test key point relative to the target test key point, and the absolute depth prediction value of the target test key point, the absolute depth prediction value of each visible test key point in the camera coordinate system is obtained. Based on the absolute depth prediction value of each visible test key point in the camera coordinate system, the image coordinate prediction value of each visible test key point, and the camera internal parameter, the coordinate prediction value of each visible test key point along the X-axis and Y-axis directions in the camera coordinate system is obtained. Based on the coordinate prediction values ​​of each visible test key point along the X-axis and Y-axis directions in the camera coordinate system, the relative coordinate prediction values ​​of each visible test key point along the X-axis and Y-axis directions relative to the reference point in the camera coordinate system are obtained. The relative depth prediction value of each visible test key point relative to the reference point in the camera coordinate system and the relative coordinate prediction values ​​along the X-axis and Y-axis directions relative to the reference point constitute the three-dimensional relative coordinate prediction value of the visible test key point relative to the reference point in the camera coordinate system.

[0254] In some optional embodiments of the present disclosure, the sample object is any one of a human body, a hand, a human face, and an animal. The multiple sample images include at least one target sample image, and at least one visible key point of the sample object in the target sample image includes a target key point.

[0255] It should be noted that the specific implementation of the device for determining the three-dimensional posture estimation model in the embodiment of the present disclosure is similar to the specific implementation of the method for determining the three-dimensional posture estimation model in the embodiment of the present disclosure. Please refer to the method part for determining the three-dimensional posture estimation model for details. In order to reduce redundancy, it will not be repeated here.

[0256] Fig. 9 1 is a schematic diagram of a structure of a device for determining a three-dimensional posture provided by an exemplary embodiment of the present disclosure. The device of this embodiment can be used to implement a corresponding method embodiment for determining a three-dimensional posture of the present disclosure. Fig. 9 The device shown includes: an image acquisition module 910 , a prediction module 920 and a three-dimensional posture determination module 930 .

[0257] The image acquisition module 910 is used to acquire a target image containing a target object.

[0258] The prediction module 920 is used to determine the prediction result corresponding to the target image using the pre-acquired target three-dimensional posture estimation model. The target three-dimensional posture estimation model is obtained based on the method for determining the three-dimensional posture estimation model provided by any of the above embodiments of the present disclosure. The prediction result includes: the image coordinate prediction value of each preset key point in the target image, the relative depth prediction value of each preset key point relative to the target key point in the preset key point set, and the absolute depth prediction value of the target key point.

[0259] The three-dimensional posture determination module 930 is used to determine the three-dimensional posture of the target object based on the prediction result.

[0260] In some optional embodiments of the present disclosure, the three-dimensional posture determination module 930 is specifically used for:

[0261] For each preset key point, based on the difference between the relative depth prediction value of the preset key point relative to the target key point and the relative depth prediction value of the target key point relative to the target key point, the absolute depth prediction value of the target key point, the image coordinate prediction value of the preset key point, and the camera intrinsic parameters of the camera that shoots the target image, the three-dimensional coordinate prediction value of the preset key point in the camera coordinate system of the camera is determined. Based on the three-dimensional coordinate prediction value of each preset key point in the camera coordinate system, the three-dimensional posture of the target object is determined.

[0262] It should be noted that the specific implementation of the device for determining three-dimensional posture in the embodiment of the present disclosure is similar to the specific implementation of the method for determining three-dimensional posture in the embodiment of the present disclosure. Please refer to the part of the method for determining three-dimensional posture for details. In order to reduce redundancy, it will not be repeated here.

[0263] Exemplary Electronic Devices

[0264] An embodiment of the present disclosure further provides an electronic device, including: a processor, and a memory for storing instructions executable by the processor.

[0265] A processor is used to read executable instructions from a memory and execute the executable instructions to implement any of the methods for determining a three-dimensional posture estimation model provided in any of the above embodiments of the present disclosure and any of the methods for determining a three-dimensional posture provided in any of the above embodiments.

[0266] Fig.10 FIG. 1 is a schematic diagram of a structure of an application embodiment of the electronic device disclosed in the present invention. In this embodiment, the electronic device 100 includes one or more processors 110 and a memory 120 .

[0267] The processor 110 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 100 to perform desired functions.

[0268] The memory 120 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, a random access memory (RAM) and / or a cache memory (cache), etc. The non-volatile memory may include, for example, a 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 110 may run the program instructions to implement the methods of the various embodiments of the present disclosure described above and / or other desired functions. Various contents such as input signals, signal components, noise components, etc. may also be stored in the computer-readable storage medium.

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

[0270] For example, the input device 130 may be the microphone or microphone array mentioned above, which is used to capture the input signal of the sound source.

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

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

[0273] Of course, to simplify, Fig.10 Only some of the components related to the present disclosure in the electronic device 100 are shown, and components such as a bus, an input / output interface, etc. are omitted. In addition, according to specific application situations, the electronic device 100 may also include any other appropriate components.

[0274] Exemplary computer program products and computer-readable storage media

[0275] In addition to the above-mentioned methods and devices, an embodiment of the present disclosure may also be a computer program product, which includes computer program instructions, which, when executed by a processor, enable the processor to execute the steps of the method according to various embodiments of the present disclosure described in the above-mentioned "Exemplary Method" section of this specification.

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

[0277] In addition, an embodiment of the present disclosure may also be a computer-readable storage medium having a computer program stored thereon, wherein the computer program is used to execute the steps in the method according to various embodiments of the present disclosure described in the above “Exemplary Method” section of this specification.

[0278] 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 include, for example, but is not limited to, a system, device or device of electricity, magnetism, light, electromagnetic, infrared, or semiconductor, or any combination of the above. 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 of the above.

[0279] It should also be noted that in the apparatus, device and method of the present disclosure, each component or each step can be decomposed and / or recombined. Such decomposition and / or recombination should be regarded as equivalent solutions of the present disclosure.

[0280] The above description has been given for the purpose of illustration and description. In addition, this description is not intended to limit the embodiments of the present disclosure to the forms disclosed herein. Although multiple example aspects and embodiments have been discussed above, those skilled in the art will recognize certain variations, modifications, changes, additions and sub-combinations thereof.

Claims

1. A method for determining a three-dimensional pose estimation model, comprising: Acquire multiple sample images containing sample objects; wherein each of the sample images carries the true value of the image coordinates of each preset key point in the preset key point set of the sample object and the true depth value corresponding to at least one visible key point; the visible key point is a preset key point in the preset key point set that is visible in the sample image; the multiple sample images are divided into multiple batches, each batch including at least one sample image; Perform the following operations on the model to be trained until the training of the model to be trained is completed to obtain a 3D pose estimation model: For any sample image in any batch, the prediction result of the sample image is determined using the model to be trained; wherein the prediction result includes: the image coordinate prediction value of each of the preset key points, the relative depth prediction value of each of the preset key points relative to the target key point in the preset key point set, and the absolute depth prediction value of the target key point; Based on the true depth value of each of the visible key points in the sample image and the relative depth prediction value of each of the visible key points relative to the target key point, determine the relative depth true value and the relative depth prediction value of each of the visible key points in the sample image relative to a reference key point in the sample image; wherein the reference key point is one of the at least one visible key point in the sample image; Determining an absolute depth prediction value of the reference key point based on a relative depth prediction value of the reference key point relative to the target key point and an absolute depth prediction value of the target key point; Determine the model loss of the sample image based on the relative depth true value and relative depth prediction value of each visible key point relative to the reference key point, the absolute depth prediction value and the depth true value of the reference key point, and the image coordinate true value and the image coordinate prediction value of each preset key point; Based on the model losses corresponding to each sample image in the batch, the model parameters of the model to be trained are updated.

2. The method according to claim 1, wherein: Also includes: Determining the reference key point based on the at least one visible key point of the sample object in the sample image; The determining the reference key point based on the at least one visible key point of the sample object in the sample image comprises: Determining whether the at least one visible key point includes the target key point; In response to the at least one visible key point including the target key point, using the target key point as the reference key point; In response to the at least one visible key point not including the target key point, a visible key point is determined from the at least one visible key point as the reference key point.

3. The method according to claim 2, wherein: In response to the at least one visible key point not including the target key point, determining a visible key point from the at least one visible key point as the reference key point comprises: A visible key point among the at least one visible key point that is closest to the target key point is used as the reference key point.

4. The method according to claim 1, wherein: The model loss includes: depth loss, target key point loss, and image coordinate loss. The determining of the model loss of the sample image based on the relative depth true value and relative depth prediction value of each visible key point relative to the reference key point, the absolute depth prediction value and the depth true value of the reference key point, and the image coordinate true value and the image coordinate prediction value of each preset key point includes: Determine the depth loss of the sample image based on a relative depth true value and a relative depth prediction value of each of the visible key points relative to the reference key points; Determining the target key point loss of the sample image based on the absolute depth prediction value and the true depth value of the reference key point; Based on the true image coordinate value and the predicted image coordinate value of each of the preset key points, the image coordinate loss of the sample image is determined.

5. The method according to claim 4, wherein: In response to the at least one visible key point not including the target key point, determining the relative depth true value and the relative depth predicted value of each visible key point in the sample image relative to a reference key point in the sample image based on the depth true value of each visible key point in the sample image and the relative depth predicted value of each visible key point relative to the target key point, comprising: Traverse the at least one visible key point, use the traversed visible key point as the current reference key point, and perform the following steps: Based on the true depth value of each of the visible key points, determining a relative true depth value of the visible key point relative to the current reference key point; Based on the relative depth prediction value of the visible key point relative to the target key point, a relative depth prediction value of the visible key point relative to the current reference key point is determined.

6. The method according to claim 5, wherein: The determining the depth loss of the sample image based on the relative depth true value and the relative depth prediction value of each visible key point relative to the reference key point comprises: For each of the visible keypoints as the current reference keypoint: Determine the number of times the visible key point is visible in the batch; Based on the visible times, determining a loss weight corresponding to the visible key point; Obtaining a depth loss corresponding to the visible key point by respectively determining a relative depth true value and a relative depth prediction value of the at least one visible key point relative to the visible key point as the current reference key point; Based on the depth loss corresponding to each visible key point in the sample image and the loss weight, the depth loss of the sample image is determined.

7. The method according to claim 1, wherein: After obtaining the three-dimensional posture estimation model, the method further includes: Acquire multiple test images containing a test object; wherein each of the test images carries the true value of the image coordinates of each preset test key point in the preset test key point set of the test object and the true depth value corresponding to at least one visible test key point; the visible test key point is a preset test key point in the preset test key point set that is visible in the test image; For each test image in the multiple test images, the prediction result of the test image is determined using the three-dimensional pose estimation model; wherein the prediction result includes: the image coordinate prediction value of each of the preset test key points, the relative depth prediction value of each of the preset test key points relative to the target test key points in the preset test key point set, and the absolute depth prediction value of the target test key point; Based on the difference between the relative depth prediction value of each visible test key point in the test image relative to the target test key point and the relative depth prediction value of the target test key point relative to the target test key point, the absolute depth prediction value of the target test key point, the image coordinate prediction value of each visible test key point, and the camera intrinsic parameters of the camera that took the test image, obtain the three-dimensional coordinate prediction value of each visible test key point in the camera coordinate system of the camera; Based on the depth true value and image coordinate true value of each visible test key point in the test image and the camera intrinsic parameter, obtain the three-dimensional coordinate true value of each visible test key point in the camera coordinate system; The three-dimensional pose estimation model is evaluated based on the three-dimensional coordinate prediction value and the three-dimensional coordinate true value of each visible test key point in the camera coordinate system.

8. The method according to claim 1, wherein: After obtaining the three-dimensional posture estimation model, the method further includes: Acquire multiple test images containing a test object; wherein each of the test images carries the true value of the image coordinates of each preset test key point in the preset test key point set of the test object and the true depth value corresponding to at least one visible test key point; the visible test key point is a preset test key point in the preset test key point set that is visible in the test image; For each test image in the multiple test images, the prediction result of the test image is determined using the three-dimensional pose estimation model; wherein the prediction result includes: the image coordinate prediction value of each of the preset test key points, the relative depth prediction value of each of the preset test key points relative to the target test key points in the preset test key point set, and the absolute depth prediction value of the target test key point; Based on the relative depth prediction value of each visible test key point in the test image relative to the target test key point, the absolute depth prediction value of the target test key point, the image coordinate prediction value of each visible test key point, and the camera intrinsic parameter of the camera that took the test image, the three-dimensional relative coordinate prediction value of each visible test key point relative to a reference point in the camera coordinate system of the camera is obtained; wherein the reference point is a visible test key point that is closest to the target test key point among at least one visible test key point in the test image; Based on the depth true value and image coordinate true value of each of the visible test key points in the test image and the camera intrinsic parameter, obtain the three-dimensional relative coordinate true value of each of the visible test key points relative to the reference point in the camera coordinate system; The 3D pose estimation model is evaluated based on the 3D relative coordinate prediction value and the 3D relative coordinate true value of each visible test key point relative to the reference point in the camera coordinate system.

9. The method according to claim 8, wherein: The method of obtaining a three-dimensional relative coordinate prediction value of each visible test key point relative to a reference point in the camera coordinate system based on a relative depth prediction value of each visible test key point in the test image relative to the target test key point, an absolute depth prediction value of the target test key point, an image coordinate prediction value of each visible test key point, and a camera intrinsic parameter of a camera that shoots the test image, comprises: Based on the relative depth prediction value of each of the visible test key points relative to the target test key point, obtaining the relative depth prediction value of each of the visible test key points relative to the reference point in the camera coordinate system; Based on the difference between the relative depth prediction value of each visible test key point relative to the target test key point and the relative depth prediction value of the target test key point relative to the target test key point, and the absolute depth prediction value of the target test key point, obtaining the absolute depth prediction value of each visible test key point in the camera coordinate system; Based on the absolute depth prediction value of each visible test key point in the camera coordinate system, the image coordinate prediction value of each visible test key point, and the camera intrinsic parameter, obtain the coordinate prediction value of each visible test key point along the X-axis and Y-axis directions in the camera coordinate system; Based on the predicted coordinate values ​​of each of the visible test key points along the X-axis and Y-axis directions in the camera coordinate system, the predicted relative coordinate values ​​of each of the visible test key points along the X-axis and Y-axis directions relative to the reference point in the camera coordinate system are obtained; The relative depth prediction value of each visible test key point relative to the reference point in the camera coordinate system and the relative coordinate prediction values ​​along the X-axis and Y-axis directions relative to the reference point constitute the three-dimensional relative coordinate prediction value of the visible test key point relative to the reference point in the camera coordinate system.

10. The method according to any one of claims 1 to 9, wherein: The multiple sample images include at least one target sample image, and at least one visible key point of a sample object in the target sample image includes the target key point.

11. A method for determining a three-dimensional pose, comprising: Acquire a target image containing a target object; Determine the prediction result corresponding to the target image using a pre-acquired target three-dimensional posture estimation model; wherein the target three-dimensional posture estimation model is obtained based on the method for determining a three-dimensional posture estimation model described in any one of claims 1 to 10; the prediction result includes: an image coordinate prediction value of each of the preset key points in the target image, a relative depth prediction value of each of the preset key points relative to the target key points in the preset key point set, and an absolute depth prediction value of the target key point; Based on the prediction result, a three-dimensional posture of the target object is determined.

12. The method according to claim 11, wherein: Determining the three-dimensional posture of the target object based on the prediction result includes: For each of the preset key points, based on the difference between the relative depth prediction value of the preset key point relative to the target key point and the relative depth prediction value of the target key point relative to the target key point, the absolute depth prediction value of the target key point, the image coordinate prediction value of the preset key point, and the camera intrinsic parameters of the camera that captures the target image, determine the three-dimensional coordinate prediction value of the preset key point in the camera coordinate system of the camera; The three-dimensional posture of the target object is determined based on the three-dimensional coordinate prediction value of each of the preset key points in the camera coordinate system.

13. A device for determining a three-dimensional posture estimation model, comprising: A sample acquisition module, used to acquire a plurality of sample images containing sample objects; wherein each of the sample images carries the true value of the image coordinates of each preset key point in the preset key point set of the sample object and the true depth value corresponding to at least one visible key point; the visible key point is a preset key point in the preset key point set that is visible in the sample image; the plurality of sample images are divided into a plurality of batches, each batch including at least one sample image; The model training module is used to perform the following operations on the model to be trained until the training of the model to be trained is completed to obtain a 3D pose estimation model: For any sample image in any batch, the prediction result of the sample image is determined using the model to be trained; wherein the prediction result includes: the image coordinate prediction value of each of the preset key points, the relative depth prediction value of each of the preset key points relative to the target key point in the preset key point set, and the absolute depth prediction value of the target key point; Based on the true depth value of each of the visible key points in the sample image and the relative depth prediction value of each of the visible key points relative to the target key point, determine the relative depth true value and the relative depth prediction value of each of the visible key points in the sample image relative to a reference key point in the sample image; wherein the reference key point is one of the at least one visible key point in the sample image; Determining an absolute depth prediction value of the reference key point based on a relative depth prediction value of the reference key point relative to the target key point and an absolute depth prediction value of the target key point; Determine the model loss of the sample image based on the relative depth true value and relative depth prediction value of each visible key point relative to the reference key point, the absolute depth prediction value and the depth true value of the reference key point, and the image coordinate true value and the image coordinate prediction value of each preset key point; Based on the model losses corresponding to each sample image in the batch, the model parameters of the model to be trained are updated.

14. An apparatus for determining a three-dimensional posture, comprising: An image acquisition module, used for acquiring a target image containing a target object; A prediction module, used to determine the prediction result corresponding to the target image using a pre-acquired target three-dimensional posture estimation model; wherein the target three-dimensional posture estimation model is obtained based on the method for determining a three-dimensional posture estimation model described in any one of claims 1 to 10; the prediction result includes: an image coordinate prediction value of each of the preset key points in the target image, a relative depth prediction value of each of the preset key points relative to the target key points in the preset key point set, and an absolute depth prediction value of the target key point; The three-dimensional posture determination module is used to determine the three-dimensional posture of the target object based on the prediction result.

15. A computer-readable storage medium storing a computer program, wherein the computer program is used to execute at least one of the method for determining a three-dimensional posture estimation model described in any one of claims 1 to 10 and the method for determining a three-dimensional posture described in any one of claims 11 to 12.

16. 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 at least one of the method for determining a three-dimensional posture estimation model described in any one of claims 1-10 and the method for determining a three-dimensional posture described in any one of claims 11-12.

Citation Information

Patent Citations

  • Three-dimensional object attitude prediction method and device

    CN115909417A