A method and system for generating multi-geometric human body collision model based on SMPL parameters

By simplifying the geometry representation and matching SMPL model parameters, a multi-geometry human collision model is generated, which solves the problems of data redundancy and computational inefficiency in the existing technology, and realizes the construction of an efficient real-time human collision model in the robotic arm motion planning environment. Meets the robot's obstacle avoidance needs.

CN115890671BActive Publication Date: 2024-09-10SHANDONG UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211461670.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-11-17
Publication Date
2024-09-10
Estimated Expiration
2042-11-17

AI Technical Summary

Technical Problem

When the existing technology estimates SMPL parameters in real time to construct a human posture model in a robot arm motion planning environment, it suffers from redundant data, inefficient calculations, poor real-time performance, and cannot meet the real-time obstacle avoidance needs of robot motion planning scenarios.

Method used

Simplified geometry is used to represent the size and shape of human body parts, and a multi-geometry human body collision model is generated based on SMPL model parameters. The size of the geometric model is determined through skin vertices and bone points, and is matched to key point coordinate information to generate a human body collision model.

Benefits of technology

It improves the real-time performance of the human collision model, reduces the computational complexity, meets the dynamic obstacle avoidance requirements in robot motion planning scenarios, and provides a universal and easy-to-implement collision model suitable for SMPL and its derivative models.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115890671B
    Figure CN115890671B
Patent Text Reader

Abstract

The present invention provides a method and system for generating a multi-geometric human body collision model based on SMPL parameters, which uses simplified geometric bodies to represent the size and shape of various parts of the human body, and determines the shape and parameters such as length, width and height of the geometric bodies according to the SMPL model or a model derived therefrom. Among them, the SMPL model parameters can be generated by the currently commonly used 3D human body posture estimation algorithm, and the geometric bodies are sequentially fitted to the key point coordinate system to form a human body posture model in the robot motion planning environment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field related to human body collision model generation, and in particular to a method and system for generating a multi-geometric human body collision model based on SMPL parameters. Background Art

[0002] The statements in this section merely provide background information related to the present invention and do not necessarily constitute prior art.

[0003] Human-robot collaboration means that humans and robots work together to complete the target tasks in the same working environment. In this collaborative process, in order to ensure the safety of the staff, the human body is generally regarded as an obstacle in the robot planning scene; at the same time, in order to meet the real-time and rationality of the robot trajectory planning in a dynamic environment, the system needs to be able to obtain human posture information in real time, and be able to combine the size, shape and other characteristics of various parts of the human body to quickly generate a human obstacle model in the robot motion planning scene.

[0004] The establishment of the human body collision model in the robot motion planning environment can be divided into the following steps combined with engineering implementation:

[0005] Obtaining coordinate information of key points of the human body: Currently, there are a variety of measurement methods that can provide coordinate information of key points of the human body to abstractly represent human posture. Representative methods include wearable device solutions that use multiple IMUs attached to the human body to directly obtain key point coordinate information; and visual processing solutions that use deep learning to estimate human posture.

[0006] Fit the size and shape of the collision model of each part of the body: Currently, there are not many schemes for estimating characteristic parameters such as the size and shape of body parts. The common 3D human body model is represented by SMPL. This model can provide 6890 skin vertices and 24 bone points to characterize the shape and posture of the human body. On this basis, many similar 3D models are derived, such as SMPL-X, STAR, etc. Matching with it are various 3D human body posture estimation algorithms that estimate SMPL parameters, such as SMPLify and HybrIK.

[0007] The collision model is added to each corresponding coordinate system in turn to form the entire collision model and import the human body collision model into the robot planning environment.

[0008] At present, in the robot arm motion planning environment, it is not advisable to try to construct a human posture model by estimating SMPL parameters in real time and add it to the robot planning environment. SMPL has many parameters, and only for the scene requirements of obstacle avoidance, the entire recognition process appears to be data redundant, computationally inefficient, and poor in real time. Excessive extraction of human features is meaningless. Therefore, for the scene of robot motion planning, it is necessary to design a simple 3D human body model that meets the real-time requirements and is sufficient to represent human body parts, which has become an urgent problem to be solved. Summary of the invention

[0009] In order to overcome the deficiencies of the above-mentioned prior art, the present invention provides a method and system for generating a multi-geometric human body collision model based on SMPL parameters, which uses simplified geometric bodies to represent the size and shape of various parts of the human body. According to the SMPL model or a model derived therefrom, the shape and parameters such as length, width and height of the geometric body are determined. Among them, the SMPL model parameters can be generated by the currently commonly used 3D human body posture estimation algorithm, and the geometric bodies are sequentially fitted to the key point coordinate system to form a human body posture model in the robot motion planning environment.

[0010] To achieve the above objectives, one or more embodiments of the present invention provide the following technical solutions:

[0011] A method for generating a multi-geometric human body collision model based on SMPL parameters, comprising:

[0012] Get the SMPL model parameters corresponding to the human body;

[0013] Create corresponding geometric models according to human body parts, and determine the size of the geometric models based on the skin vertices and bone points extracted from the SMPL model parameters;

[0014] Obtain and match the coordinate information of key points of each part of the body with the geometric model to generate a human body collision model.

[0015] A second aspect of the present invention provides a method for generating a multi-geometric human body collision model based on SMPL parameters, comprising:

[0016] Model parameter acquisition module: obtains the SMPL model parameters corresponding to the human body;

[0017] Geometry model generation module: creates corresponding geometry models according to human body parts, and determines the size of the geometry models based on the skin vertices and bone points extracted from the SMPL model parameters;

[0018] Collision model generation module: obtains and matches the coordinate information of key points of each part of the body with the geometric model to generate a human body collision model.

[0019] A third aspect of the present invention provides a computer-readable storage medium for storing computer instructions, which, when executed by a processor, complete the steps of the above method.

[0020] A fourth aspect of the present invention provides an electronic device, comprising a memory and a processor, and computer instructions stored in the memory and executed on the processor, wherein the steps of the above method are completed when the computer instructions are executed by the processor.

[0021] One or more of the above technical solutions have the following beneficial effects:

[0022] The human body collision model provided by the present invention is universal and easy to use. On the one hand, the present invention estimates the size and shape of human body parts based on SMPL parameters. Specifically, the geometric collision model is determined based on the skin vertices and skeleton points provided by SMPL, so various derivative models of SMPL can be applied; on the other hand, the currently commonly used human body posture estimation algorithms are mostly estimates of SMPL parameters. Therefore, various human body posture estimation algorithms and the collision model construction algorithm provided by this patent are compatible and adaptable in terms of process docking or parameter calling. In addition, after the geometric collision model of each part of the human body is established, the user only needs to provide the coordinate system information of the key points in any posture of the human body. The human body collision model can be generated by fitting each geometric model to the corresponding coordinate system.

[0023] The present invention targets robot motion planning scenarios, eliminates redundant features of the human body in obstacle avoidance environments, and uses only simple geometric bodies to envelop the size and shape features of various parts of the human body as much as possible. Under the premise of ensuring safety, the solution can meet the needs of dynamic obstacle avoidance in robot motion planning scenarios. Compared with traditional methods, the real-time performance of human body collision model construction is improved and the computational complexity is reduced.

[0024] Once the geometric models corresponding to various parts of the body in the present invention are determined, they can be regarded as a database or interface and can be used at any time without repeated construction.

[0025] Advantages of additional aspects of the present invention will be given in part in the following description, and in part will become obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] The accompanying drawings in the specification, which constitute a part of the present invention, are used to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute improper limitations on the present invention.

[0027] Figure 1 This is a schematic diagram of a process for generating a human body collision model in Embodiment 1 of the present invention;

[0028] Figure 2The RGB image of the human body T-shaped posture in the first embodiment of the present invention;

[0029] Figure 3 It is a schematic diagram of selecting skin vertices and skeleton points in the first embodiment of the present invention;

[0030] Figure 4 is a schematic diagram of a geometric collision model of various parts of a human body in the first embodiment of the present invention;

[0031] Figure 5 is a human body arbitrary posture diagram in the first embodiment of the present invention;

[0032] Figure 6 is a schematic diagram of a key point coordinate system that complies with the specification in Embodiment 1 of the present invention;

[0033] Figure 7 It is a schematic diagram of the overall collision model generated in the first embodiment of the present invention. DETAILED DESCRIPTION

[0034] It should be noted that the following detailed descriptions are exemplary and are intended to provide further explanation of the present invention. Unless otherwise specified, all technical and scientific terms used herein have the same meanings as those commonly understood by those skilled in the art to which the present invention belongs.

[0035] It should be noted that the terms used herein are for describing specific embodiments only and are not intended to be limiting of exemplary embodiments according to the present invention.

[0036] In the absence of conflict, the embodiments of the present invention and the features of the embodiments may be combined with each other.

[0037] Embodiment 1

[0038] like Figure 1 As shown, this embodiment discloses a method for generating a multi-geometric human body collision model based on SMPL parameters, including:

[0039] Step 1: Obtain the SMPL model parameters corresponding to the human body;

[0040] Step 2: Create a corresponding geometric model according to the human body parts, and determine the size of the geometric model based on the skin vertices and bone points extracted from the SMPL model parameters;

[0041] Step 3: Obtain and match the coordinate information of key points of each part of the body with the geometric model to generate a human body collision model.

[0042] Currently, the commonly used 3D human pose estimation algorithm is the estimation of SMPL and its derived model parameters. A suitable algorithm can be selected to obtain SMPL parameters.

[0043] In step 1 of this embodiment, the HybrIK human body posture estimation algorithm is taken as an example for description.

[0044] like Figure 2 As shown, the camera obtains the RGB image of the human body's T-pose and imports it into the HybrIK pose estimation algorithm to generate the SMPL model parameters corresponding to the human body. The SMPL parameters contain 6890 skin vertices and 24 bone point coordinate information.

[0045] like Figure 3 As shown, in this embodiment, the skin vertices and skeleton points are selected as follows:

[0046] The skin vertex set V is:

[0047] V=[v1,v2,v3,…,v N ](V∈R( N*3 ),N=6890) (1)

[0048] Divide the skin vertex coordinate set into 16 subsets V according to the body parts i (V i ∈V,i=1,2,…,16), which are: head, buttocks, left hand, right hand, left foot, right foot, neck, spine, left upper arm, left forearm, right upper arm, right forearm, left thigh, left calf, right thigh, right calf.

[0049] 17 of the 24 bone point coordinates form a bone point set, which are numbered from 0 to 16, namely: (0, hip joint), (1, left hip joint), (2, left knee joint), (3, left ankle joint), (4, right hip joint), (5, right knee joint), (6, right ankle joint), (7, waist center), (8, middle of the spine), (9, neck center), (10, head), (11, left shoulder joint), (12, left elbow joint), (13, left wrist joint), (14, right shoulder joint), (15, right elbow joint), (16, right wrist joint).

[0050] The collision model constructed in this embodiment divides the human body into a combination of different geometric bodies. The rotation of each joint of the human body is basically a spherical motion. Simple geometric bodies such as spheres, cylinders, and cuboids can be used to represent the shapes and motion characteristics of various parts of the body.

[0051] like Figure 4 As shown, in step 2 of this embodiment, a corresponding geometric model is created according to the body part, and the specific implementation process is as follows:

[0052] Cylinders are used to represent the parts of the human body composed of two joints, namely the neck, spine, left upper arm, left forearm, right upper arm, right forearm, left thigh, left calf, right thigh, and right calf.

[0053] Use spheres to represent single-joint or other multi-joint human body parts, i.e., arm, hip, left hand, right hand, left foot, right foot.

[0054] Determination of the geometric dimensions of each body part involves the coordinates of the corresponding bone points of the corresponding parts. Generally, for a sphere, one bone point coordinate is required as the center of the sphere; for a cylinder, two bone point coordinates are required as the centers of the upper and lower bases of the cylinder.

[0055] In this embodiment, according to the correspondence between the constructed body parts and the bone points, the body parts and the bone points are numbered for description: (head: 10), (hip: 0), (left hand: 13), (right hand: 16), (left foot: 3), (right foot: 6), (neck: 8, 9), (spine: 7, 8), (left upper arm: 11, 12), (left forearm: 12, 13), (right upper arm: 14, 15), (right forearm: 15, 16), (left thigh: 1, 2), (left calf: 2, 3), (right thigh: 4, 5), (right calf: 5, 6).

[0056] For the i-th part of the cylinder, determine the height L of the cylinder. i and radius R i :

[0057] L i =max(C i,n )

[0058]

[0059]

[0060] Where α = h R / h SMPL Represents the real measured height h of a person R Given the height h in the SMPL model SMPL Because the size of human body parts estimated from images may not match the real human body size, factor α is needed for proper scaling. is a vector (v n -p i ) at t i The projection in the direction. n ∈V i is the skin subset V corresponding to the i-th part i Because two bone point coordinates are needed as the center of the upper and lower bottom surfaces of the cylinder, they are denoted as K Parent(i) With K Child(i) Then p i is the bone point K corresponding to the i-th part Parent(i) With K Child(i)The midpoint of i is the skeleton point K Parent(i) Point to K Child(i) Vector.

[0061] The radius of the cylinder R i :

[0062] R i =max(r i,n )

[0063]

[0064] Among them, r i,n Characterize the skin vertex v n With the skeleton point K Parent(i) , K Child(i) The perpendicular distance of the line segment to the endpoint.

[0065] For the j-th part represented by a sphere, the radius R of the sphere needs to be determined j :

[0066] R j =max(||v n -K point(j) ||2) (4)

[0067] Among them, v n ∈V j is the skin subset V corresponding to the j-th part j An element in K point(j) is the bone point corresponding to the j-th part.

[0068] The shapes and sizes of the geometric bodies corresponding to the various parts of the body constructed in this embodiment provide basic materials for the splicing of the overall collision model. Only a small amount of calculation is required to obtain a collision model that fits the human body.

[0069] In step 3 of this embodiment, in order to construct a human body collision model, two parts are included: obtaining key point coordinate system information and making a one-to-one correspondence between it and the generated geometric bodies of each body part.

[0070] The part of obtaining the key point coordinate system information is mainly to standardize the key point coordinate system information provided by different measurement methods.

[0071] Taking the visual measurement solution as an example, the specific method of obtaining the key point coordinate system and standardizing the data is explained.

[0072] Specifically, the normalization process is:

[0073] The key point coordinate system information provided by different measurement methods must include the coordinate position of the key point and the pose of the coordinate system that coincides with the key point position.

[0074] The key points provided by different measurement methods should be roughly selected from the following 16 parts of the body: head, buttocks, left hand, right hand, left foot, right foot, neck, spine, left upper arm, left forearm, right upper arm, right forearm, left thigh, left calf, right thigh, and right calf.

[0075] The z-axis direction of the key point coordinate system provided by different measurement methods needs to be determined according to the corresponding body part. For parts composed of two joints, the z-axis points to any one of the joint coordinates; for other body parts, the z-axis direction is not required.

[0076] According to the above standard processing, the coordinate system information of the key points of the human body provided by different measurement methods is obtained, and the obtained data is processed in a standardized manner.

[0077] In this embodiment, if Figure 5 As shown in the figure, the RGB image of the human body in any posture is obtained through the camera, and the HybrIK algorithm is imported to obtain the coordinate set of the human body bone points in any posture. For the human body parts composed of two joints, the coordinates of the two adjacent bone points of the part are connected, and the midpoint of the line segment is taken as the origin of the key point coordinate system corresponding to the part, and the z-axis direction of the coordinate system points to the coordinate position of any adjacent bone point.

[0078] For other parts, the coordinates of the bone point of the part are used as the origin of the coordinate system of the corresponding key point, and the z-axis direction of the coordinate system is arbitrary.

[0079] The key point coordinate system corresponding to each part of the body is established. Figure 6 Obtain the key point coordinate system that meets the specifications. The key point position selection and the corresponding coordinate system and its z-axis direction are marked. According to the specification requirements, generate the key point coordinate system, whose Z axis is numbered in sequence according to z (0 to 15), and the corresponding relationship with the body parts is:

[0080] (z(0),head),(z(1),hip),(z(2),left hand),(z(3),right hand),(z(4),left foot),(z(5),right foot),(z(6),neck),(z(7),spine),(z(8),left upper arm),(z(9),left forearm),(z(10),right upper arm),(z(11),right forearm),(z(12),left thigh),(z(13),left calf),(z(14),right thigh),(z(15),right calf), and the rest of the body parts are not considered.

[0081] In step 3 of this embodiment, after obtaining the key point coordinate system information, it is necessary to correspond the geometric body to the key point coordinate system one by one according to each part of the body.

[0082] At the initial moment, the initial coordinates of the geometric body are the origin of the world coordinate system. According to the key point information obtained, the geometric body needs to be fitted to the coordinate system corresponding to each key point in turn.

[0083] Specifically, for the key points m corresponding to each part of the body and the geometric collision model n: rotate the geometric body around the axis α by a certain angle θ and move the center of the geometric body to the origin of the corresponding key point coordinate system to generate a collision model for any posture of the human body. The method for determining α and θ is:

[0084]

[0085]

[0086] Among them, z kpoint(m) is the z-axis unit vector of the key point coordinate system corresponding to the key point m, z init(n) It is the z-axis unit vector of the object coordinate system corresponding to the initial collision model n.

[0087] like Figure 7 The figure shows the overall collision model diagram. The human body collision model is imported into the robot motion planning environment to complete the obstacle avoidance scene construction.

[0088] Embodiment 2

[0089] The purpose of this embodiment is to provide a method for generating a multi-geometric human body collision model based on SMPL parameters, including:

[0090] Model parameter acquisition module: obtains the SMPL model parameters corresponding to the human body;

[0091] Geometry model generation module: creates corresponding geometry models according to human body parts, and determines the size of the geometry models based on the skin vertices and bone points extracted from the SMPL model parameters;

[0092] Collision model generation module: obtains and matches the coordinate information of key points of each part of the body with the geometric model to generate a human body collision model.

[0093] Embodiment 3

[0094] The purpose of this embodiment is to provide a computing device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the above method when executing the program.

[0095] Embodiment 4

[0096] The purpose of this embodiment is to provide a computer-readable storage medium.

[0097] A computer-readable storage medium stores a computer program, which executes the steps of the above method when executed by a processor.

[0098] The steps involved in the apparatuses of the above embodiments 2, 3 and 4 correspond to the method embodiment 1, and the specific implementation methods can refer to the relevant description part of embodiment 1. The term "computer-readable storage medium" should be understood as a single medium or multiple media including one or more instruction sets; it should also be understood to include any medium that can store, encode or carry an instruction set for execution by a processor and enable the processor to execute any method in the present invention.

[0099] Those skilled in the art should understand that the modules or steps of the present invention described above can be implemented by a general-purpose computer device, or alternatively, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. The present invention is not limited to any specific combination of hardware and software.

[0100] Although the above describes the specific implementation mode of the present invention in conjunction with the accompanying drawings, it is not intended to limit the scope of protection of the present invention. Those skilled in the art should understand that various modifications or variations that can be made by those skilled in the art on the basis of the technical solution of the present invention without creative work are still within the scope of protection of the present invention.

Claims

1. A method for generating a multi-geometric human body collision model based on SMPL parameters, characterized in that: include: Get the SMPL model parameters corresponding to the human body; Create corresponding geometric models according to human body parts, and determine the size of the geometric models based on the skin vertices and bone points extracted from the SMPL model parameters; Obtain and match the coordinate information of key points of each part of the body with the geometric model to generate a human body collision model; The SMPL model parameters include the coordinate information of skin vertices and bone points. The skin vertex coordinates are divided into 16 subsets according to the body parts, namely: head, hips, left hand, right hand, left foot, right foot, neck, spine, left upper arm, left forearm, right upper arm, right forearm, left thigh, left calf, right thigh, and right calf; The bone point coordinates used are: hip joint, left hip joint, left knee joint, left ankle joint, right hip joint, right knee joint, right ankle joint, waist center, spine center, neck center, head, left shoulder joint, left elbow joint, left wrist joint, right shoulder joint, right elbow joint, right wrist joint; For human body parts composed of two joints, a cylindrical model is used for representation; for human body parts composed of one joint or other multiple joints, a spherical model is used for representation; Obtain and match the coordinate information of key points of each part of the body with the geometric model. Specifically, the geometric model is rotated around the axis α by an angle θ and the center of the geometric model is moved to the corresponding point to generate a collision model of the human body in any posture. The determination method of α and θ is: Among them, z kpoint(m) is the z-axis unit vector of the key point coordinate system corresponding to the key point m, z init(n) It is the z-axis unit vector of the object coordinate system corresponding to the initial collision model.

2. A method for generating a multi-geometric human body collision model based on SMPL parameters as claimed in claim 1, characterized in that: The size of the cylindrical model is determined by using two bone point coordinates as the centers of the upper and lower bottom surfaces of the cylinder respectively; the size of the spherical model is determined by using one bone point coordinate as the center of the sphere.

3. The method for generating a multi-geometric human body collision model based on SMPL parameters as claimed in claim 1, characterized in that: Also includes: The coordinate information of key points of the human body obtained by different measurement methods is processed in a unified and standardized manner, specifically: The key points obtained by different measurement methods are selected from the following 16 body parts: head, buttocks, left hand, right hand, left foot, right foot, neck, spine, left upper arm, left forearm, right upper arm, right forearm, left thigh, left calf, right thigh, right calf; The key point coordinate systems provided by different measurement methods, for a human body part composed of two joints, the z-axis points to any one of the joint coordinates.

4. The method for generating a multi-geometric human body collision model based on SMPL parameters as claimed in claim 1, characterized in that: Obtain a human body posture RGB image, and use a 3D human body posture estimation algorithm to generate corresponding SMPL model parameters. The 3D human body posture estimation algorithm includes but is not limited to the HybrIK human body posture estimation algorithm and the SMPLify human body posture estimation algorithm.

5. A multi-geometric body human body collision model generation system based on SMPL parameters, based on a multi-geometric body human body collision model generation method based on SMPL parameters as claimed in claims 1-4, characterized in that: include: Model parameter acquisition module: obtains the SMPL model parameters corresponding to the human body; Geometry model generation module: creates corresponding geometry models according to human body parts, and determines the size of the geometry models based on the skin vertices and bone points extracted from the SMPL model parameters; Collision model generation module: obtains the coordinate information of key points of each part of the body and matches it with the geometric model to generate a human body collision model.

6. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the steps in a method for generating a multi-geometric human body collision model based on SMPL parameters as described in any one of claims 1 to 4 are implemented.

7. A processing device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the steps in the method for generating a multi-geometric human body collision model based on SMPL parameters as described in any one of claims 1 to 4 are implemented.