A multi-person attitude estimation method based on inertial sensors and multi-function cameras
By combining inertial sensors and multi-function cameras, infrared ink annotations and inertial sensor information are used to optimize human kinematics models, solving the problem of inaccurate three-dimensional human posture estimation in traditional computer vision methods, and significantly improving the accuracy of multi-person three-dimensional postures.
Patent Information
- Application Number
- CN202111535889.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-15
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2041-12-15
AI Technical Summary
Existing multi-person three-dimensional human pose estimation methods based on pure computer vision suffer from problems such as mutual occlusion, self-occlusion and complex background interference in the two-dimensional detection results, resulting in inaccurate three-dimensional human pose estimation results.
Using the method of combining inertial sensors and multi-functional cameras, through infrared ink annotation, multi-view image shooting, reconstructing the 3D posture of the human body, and using the joint orientation information of the inertial sensor to optimize motion parameters, a human kinematics model is established to improve the accuracy of the three-dimensional posture.
It significantly improves the accuracy of multi-person three-dimensional pose estimation. Through the fusion of inertial sensors and visual information, it overcomes the error problem in traditional methods and obtains more accurate joint orientation and position information.
Smart Images

Figure CN114627490B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of artificial intelligence technology, and in particular to a multi-person posture estimation method based on an inertial sensor and a multi-function camera. Background Art
[0002] Human posture estimation is a basic problem in computer vision. Literally speaking, it mainly studies the estimation of human posture position. Usually, a person's specific posture can be represented by 17 key points of the person. These 17 key points include: 0: nose, 1: left eye, 2: right eye, 3: left ear, 4: right ear, 5: left shoulder, 6: right shoulder, 7: left elbow, 8: right elbow, 9: left wrist, 10: right wrist, 11: left hip, 12: right hip, 13: left knee, 14: right knee, 15: left ankle, 16: right ankle, and with the different scenes, human posture estimation has been divided into more and more finesse. At present, the academic community generally does four basic tasks: 1. Single-person posture estimation, 2. Multi-person posture estimation, 3. Human posture tracking, 4. Multi-person 3D human posture estimation. The difficulty of these four tasks increases successively, and the latter task is generally based on the previous task.
[0003] The traditional method of multi-person 3D human pose estimation is: 1. Input multi-view images; 2. Perform 2D pose estimation on each of the multi-view images and detect the 2D joint positions; 3. Find the position of the same person under different viewpoints and perform cross-view matching; 4. Use triangulation to reconstruct the 3D key point positions of the target person. However, the traditional method based on pure computer vision reconstructs the 3D key point positions based on 2D detection results. The 2D detection results are subject to mutual occlusion, self-occlusion, complex background interference and other problems, which results in the 3D human pose estimation results not meeting the requirements of certain scenes.
[0004] With the development of technology, inertial sensors have gradually come into the sight of researchers. Researchers have begun to use the information of inertial sensors to enhance the results of three-dimensional detection. For example, in order to study the movement of the human body, most articles on human posture estimation will simplify the human body into a multi-rigid body system. Human posture estimation has 6 degrees of freedom in three-dimensional space, including the position and direction of each limb. By extracting information from electronic devices such as accelerometers, gyroscopes, and magnetometers in inertial sensors, the position and direction of the limbs can be obtained. By applying this information to the human kinematics model, the joint point position of the target person in three-dimensional space can be obtained.
[0005] The "human posture estimation method combining attention mechanism and partial affinity domain field" disclosed in the Chinese patent literature has a publication number of CN111860216A and a publication date of 2020-10-30. The invention discloses a human posture estimation method combining attention mechanism and partial affinity domain field. First, a public data set for human posture estimation is obtained; the image to be tested in the public data set is input into the hourglass stack network, and the global attention map of the human body is obtained through the multi-context attention model; the global attention map of the human body is input into the multi-stage dual-branch network; the loss function is used to guide the multi-stage dual-branch network to predict and iterate the global attention map of the human body until the multi-stage dual-branch network converges to obtain the local attention map of the human body and the partial affinity domain field; finally, the local attention map of the human body and the partial affinity domain field are clustered to obtain the human posture estimation result in the image to be tested. This invention discloses a human posture estimation method combining attention mechanism and partial affinity domain field, which solves the problem that the human posture estimation method in the prior art has poor robustness to complex continuous postures. However, the invention does not involve a method for combining an inertial sensor with a multi-function infrared camera. Summary of the invention
[0006] The present invention solves the problem of inaccurate joint position of a target person reconstructed in three dimensions based on a pure computer vision method, and proposes a multi-person posture estimation method based on an inertial sensor and a multi-function camera. The infrared function in the multi-function camera is used to obtain labels of multiple target persons, and the orientation information of the corresponding joints of the target person is extracted from the inertial sensor according to the matching relationship between the target person and the inertial sensor. A human kinematic model is established, and the motion parameters are optimized using the joint orientation information. A more accurate three-dimensional posture of the target person is calculated according to the optimized motion parameters, thereby improving the accuracy of three-dimensional posture estimation of multiple persons.
[0007] In order to achieve the above object, the present invention adopts the following technical solution: a multi-person posture estimation method based on inertial sensors and multi-function cameras, comprising the following steps:
[0008] S1, marking multiple target characters with infrared ink;
[0009] S2, shooting to obtain multi-view images;
[0010] S3, reconstructs the 3D posture of the human body;
[0011] S4, optimize to obtain the accurate 3D poses of all target characters.
[0012] In the present invention, after the sensor equipment is calibrated and marked with infrared ink, the multifunctional camera is used to capture the image and obtain the sensor information, thereby reconstructing the 3D posture of the human body and calculating the orientation information of the joints. Finally, after the model is established, a more accurate 3D posture of the target person is calculated according to the optimized motion parameters. The present invention obtains the joint orientations of multiple target persons through inertial sensors, reconstructs the 3D posture, and improves the accuracy of the 3D posture of multiple people through the method of visual fusion.
[0013] Preferably, the step S1 comprises the following steps:
[0014] S11, placing inertial sensors at various joints of the human body, calibrating the accelerometer, the three-axis gyroscope and the magnetometer of the inertial sensors and setting the frequency;
[0015] S12, calibrating the multifunctional camera to obtain internal and external parameters and constructing a world coordinate system;
[0016] S13, using infrared ink to mark multiple target persons differently.
[0017] In the present invention, the joints of the human body mainly include the head, shoulders, elbows, wrists, thighs, knees and ankles of the human body, and the inertial sensor and the multifunctional camera are initially set to facilitate detection.
[0018] Preferably, step S2 comprises the following steps:
[0019] S21, through the synchronous shooting of multi-function cameras, obtains multi-view images at every moment;
[0020] S22, acquiring acceleration and angular velocity information through an inertial sensor.
[0021] In the present invention, information such as angular velocity is obtained based on the physical characteristics of the inertial sensor to facilitate calculation of orientation information.
[0022] Preferably, the step S3 comprises the following steps:
[0023] S31, reconstructing a 3D posture of a human body according to the multi-view images;
[0024] S32, calculating the orientation information of the corresponding joint according to the inertial sensor information.
[0025] In the present invention, the 3D posture of the human body is reconstructed from the detected multi-view images, and the orientation information of the corresponding joints requires the detection information of the inertial sensor.
[0026] Preferably, step S4 comprises the following steps:
[0027] S41, obtaining a matching relationship between the target person and the inertial sensor according to a matching relationship between the target person and the infrared tag and a matching relationship between the inertial sensor and the infrared tag, and then obtaining orientation information of a corresponding joint of the target person;
[0028] S42, for each target person, fuse its joint orientation and 3D joint point position information to optimize and obtain its complete 3D posture.
[0029] In the present invention, according to the association between the annotation information and the frequency of the inertial sensor, the orientation information of the joints of the target person obtained according to the inertial sensor is fused with the corresponding 3D position information, and the accurate 3D postures of all the target persons are optimized.
[0030] Preferably, the step S31 comprises the following steps:
[0031] S311, using a convolutional neural network to detect the positions of two-dimensional joints of the human body and the infrared ink labels corresponding to the target person for the input multi-view image;
[0032] S312, obtaining a two-dimensional posture matching relationship between each perspective through multiple multifunctional camera polar line constraints, the matching relationship as follows:
[0033]
[0034] in, Represents the coordinates of the joint points detected in two dimensions at time t, represents the pseudo-inverse matrix of the multifunctional camera V, is the imaging center of the multifunctional camera v, and the symbol ~ represents homogeneous coordinates;
[0035] S313, reconstructing the 3D joint point positions of the target person by triangulation in the world coordinate system formed by the multiple multifunctional cameras, as follows:
[0036]
[0037] Among them, w is the prediction confidence of the joint point, A is the matrix composed of camera parameters and the two-dimensional coordinates of the joint point, are the three-dimensional joint point coordinates to be solved.
[0038] In the present invention, multi-view images are processed to obtain the two-dimensional joint point positions of the human body and the infrared ink labels corresponding to the target person, and then the cross-view association of the target person is realized according to the camera polar line constraint, and finally the 3D joint point positions of the target person are reconstructed by triangulation.
[0039] Preferably, the step S42 comprises the following steps:
[0040] S421, for each target person, giving its joint orientation information and 3D joint point position information;
[0041] S422, establish a human kinematics model;
[0042] S423, optimizing the kinematic parameters according to the kinematic model so that the deviation between the position and orientation of the joint points and the given position and orientation in the 3D posture calculated according to the kinematic parameters is minimized.
[0043] In the present invention, the kinematic model includes several human joints, one of which is set as a heel joint, and its motion parameters include a translation and a rotation, and the motion parameters of other joints correspond to a rotation relative to their parent joints.
[0044] The beneficial effect of the present invention is that by combining inertial sensors with multi-functional infrared cameras, the three-dimensional postures of multiple people are reconstructed according to the sensor information and infrared information, and the three-dimensional postures of multiple people are fused with the three-dimensional postures of multiple people obtained based on visual information, thereby significantly improving the accuracy of three-dimensional posture estimation of multiple people. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] Figure 1 is a flow chart of the present invention;
[0046] Figure 2 This is a schematic diagram of the matching calculation in step S3 of the present invention. DETAILED DESCRIPTION
[0047] Example:
[0048] This embodiment proposes a multi-person posture estimation method based on inertial sensors and multi-function cameras. Figure 1 , mainly includes four steps: Step 1, infrared ink marking of multiple target people, in addition, it includes three sub-steps: First, placing inertial sensors on the head, shoulders, elbows, wrists, thighs, knees and ankles of the human body, calibrating the inertial sensors, including the calibration of the accelerometer, magnetometer and magnetometer, and presetting the frequency; Second, calibrating the multi-function camera to establish the world coordinate system; Third, using infrared ink to mark multiple target people; Initial settings of the inertial sensor and multi-function camera are performed to facilitate detection.
[0049] Step 2: Acquire multi-view images. First, obtain multi-view images based on a multi-function camera; then obtain the angular velocity and acceleration data of the sensor based on an inertial sensor; in order to calculate the orientation information.
[0050] Step 3: Reconstruct the 3D posture of the human body. Based on the multi-view images, the infrared ink labels and the positions of the two-dimensional joints of the human body corresponding to the target person are detected. The convolutional neural network is used for detection. The two-dimensional posture matching relationship between different perspectives is obtained by multiple camera polar line constraints. The cross-perspective association of the target person is realized in turn. Figure 2 Schematic diagram of matching calculation, specific matching relationship for:
[0051]
[0052] In the above formula, is the coordinates of the joint points detected in two dimensions at time t, is the pseudo-inverse matrix of the multifunctional camera V, is the imaging center of the multifunctional camera v, and the symbol ~ is the homogeneous coordinate; then the 3D joint point position of the target person is obtained, and the formula is as follows:
[0053]
[0054] In the above formula, w represents the prediction confidence of the joint point, A represents the matrix composed of the camera parameters and the two-dimensional coordinates of the joint point, Represents the three-dimensional joint point coordinates to be solved; after completing the above steps, the orientation information of the joint can be calculated, specifically:
[0055]
[0056] In the above formula, ψ IMU (J m , J n ) represents the orientation information of the corresponding joint, O m,n is the direction vector of the limb obtained through inertial sensor information, J m , J n Respectively represent the three-dimensional position of each in the world coordinate system, and combine the estimated posture limb direction with the limb direction obtained by the inertial sensor to obtain the final limb direction.
[0057] Step 4: Obtain a more accurate 3D pose; mainly divided into the following two steps: First, obtain the orientation information of the corresponding joints of the target person, the orientation information of the corresponding joints of the target person P The details are as follows:
[0058]
[0059] In the above formula, P represents the target person in three-dimensional space, Where v represents the viewpoint v, t represents the time, i represents the i-th label, and ρ represents the target person in the viewpoint. The overall representation is the matching relationship between the target person and the infrared tag at different viewing angles at time t, S m =f(L n ) represents the matching relationship between the mth inertial sensor and the infrared ink label. This relationship has been set before the experiment, and the joint orientation information of the target person is obtained through the functional relationship; secondly, the joint orientation information of each target person and the position information of the 3D joint points are fused, and then a human kinematic model is created. The model mainly includes several human joints, one of which is called the "root joint", and its motion parameters include a translation and a rotation. The motion parameters of other joints correspond to a rotation relative to their parent joints; finally, the parameters of the kinematic model are optimized, and through a series of calculations, the deviation between the position and orientation of the joint points and the given position and orientation is minimized, so as to obtain a more accurate 3D posture.
[0060] In the present invention, after the sensor equipment is calibrated and annotated with infrared ink, the multifunctional camera is used to capture images and obtain sensor information, thereby reconstructing the 3D posture of the human body and calculating the orientation information of the joints. Finally, a model is established to calculate a more accurate 3D posture of the target person based on the optimized motion parameters. The present invention obtains the joint orientations of multiple target persons through inertial sensors, reconstructs the 3D posture, and improves the accuracy of the 3D posture of multiple people through the method of visual fusion.
[0061] In the present invention, camera calibration specifically refers to mapping three-dimensional objects in the real world with two-dimensional objects corresponding to camera images; infrared ink annotation specifically uses infrared ink to mark the target person, and the annotation can only be seen by the infrared camera; polar constraint is to obtain key point information and camera information through convolutional neural networks under different viewing angles, and associate the same person appearing in different cameras; human kinematic model: the whole body model is generally built into a tree structure, and the movement of body parts can be regarded as the movement of child nodes relative to parent nodes. The posture information of the parent node can be transmitted to its child nodes through the motion chain model. By selecting a joint as the root node of the whole body movement, the posture information of each child node can be recursively calculated from the root node.
[0062] The above embodiments are further elaborations and illustrations of the present invention for ease of understanding, and are not limitations of the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A multi-person posture estimation method based on inertial sensors and multi-function cameras, characterized in that: The following steps are involved: S1, marking multiple target characters with infrared ink; S2, shooting to obtain multi-view images; S3, reconstructs the 3D posture of the human body; including: Reconstruct the 3D posture of the human body based on multi-view images; According to the inertial sensor information, calculate the orientation information of the corresponding joint; S4, optimizes and obtains accurate 3D poses of all target characters; including: According to the correlation between the annotation information and the frequency of the inertial sensor, the orientation information of the target person's joints obtained by the inertial sensor is fused with the corresponding 3D position information to optimize the accurate 3D posture of all target persons.
2. The method for multi-person posture estimation based on inertial sensor and multi-function camera according to claim 1, characterized in that: The step S1 comprises the following steps: S11, placing inertial sensors at various joints of the human body, calibrating the accelerometer, the three-axis gyroscope and the magnetometer of the inertial sensors and setting the frequency; S12, calibrating the multifunctional camera to obtain internal and external parameters and constructing a world coordinate system; S13, using infrared ink to mark multiple target persons differently.
3. The method for multi-person posture estimation based on inertial sensor and multi-function camera according to claim 1, characterized in that: The step S2 comprises the following steps: S21, through the synchronous shooting of multi-function cameras, obtains multi-view images at every moment; S22, acquiring acceleration and angular velocity information through an inertial sensor.
4. The method for multi-person posture estimation based on inertial sensor and multi-function camera according to claim 1, characterized in that: The step S4 comprises the following steps: S41, obtaining a matching relationship between the target person and the inertial sensor according to a matching relationship between the target person and the infrared tag and a matching relationship between the inertial sensor and the infrared tag, and then obtaining orientation information of a corresponding joint of the target person; S42, for each target person, fuse its joint orientation and 3D joint point position information to optimize and obtain its complete 3D posture.
5. The method for multi-person posture estimation based on inertial sensor and multi-function camera according to claim 4, characterized in that: The step S31 comprises the following steps: S311, using a convolutional neural network to detect the positions of two-dimensional joints of the human body and the infrared ink labels corresponding to the target person for the input multi-view image; S312, obtaining a two-dimensional posture matching relationship between each perspective through multiple multifunctional camera polar line constraints, the matching relationship as follows: in, Represents the coordinates of the joint points detected in two dimensions at time t, represents the pseudo-inverse matrix of the multifunctional camera V, is the imaging center of the multifunctional camera v, and the symbol ~ represents homogeneous coordinates; S313, reconstructing the 3D joint point positions of the target person by triangulation in the world coordinate system formed by the multiple multifunctional cameras, as follows: Among them, w is the prediction confidence of the joint point, A is the matrix composed of camera parameters and the two-dimensional coordinates of the joint point, are the three-dimensional joint point coordinates to be solved.
6. The method for multi-person posture estimation based on inertial sensor and multi-function camera according to claim 4, characterized in that: The step S42 comprises the following steps: S421, for each target person, giving its joint orientation information and 3D joint point position information; S422, establish a human kinematics model; S423, optimizing the kinematic parameters according to the kinematic model so that the deviation between the position and orientation of the joint points and the given position and orientation in the 3D posture calculated according to the kinematic parameters is minimized.
Citation Information
Patent Citations
Human body posture estimation method combining attention mechanism and partial affinity domain field
CN111860216A
Self-supervised multi-view three-dimensional human body posture estimation method based on prototype analysis
CN111598995A
Human body posture estimation method based on visual and inertial information fusion
CN113158459A
