A method, device and processing equipment for determining user posture

Generate a three-dimensional point cloud through the color and depth information collected by the depth camera, identify the human back and feature point clouds, and perform back midline fitting. This solves the problem of insufficient accuracy of small postures in user posture assessment and achieves high-precision determination of the back midline posture. , suitable for motion capture technology.

CN114120355BActive Publication Date: 2024-08-23JIANGHAN UNIVERSITY
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111201871.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-10-15
Publication Date
2024-08-23
Estimated Expiration
2041-10-15

AI Technical Summary

Technical Problem

Existing user posture assessment technology has the problem of insufficient accuracy in micro posture assessment under the demand for high accuracy, making it difficult to accurately assess the user's subtle postures.

Method used

Collect color information and depth information through the depth camera, perform coordinate conversion processing to generate a three-dimensional point cloud, identify the human back area and preset feature point clouds, and perform back midline fitting based on the feature point cloud positions to obtain high-precision back midline posture determination results .

Benefits of technology

It achieves high-precision determination of the midline posture of the user's back, provides strong data support, and is suitable for the demand for high-precision results in motion capture technology.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114120355B
    Figure CN114120355B
Patent Text Reader

Abstract

The present application provides a method, device and processing equipment for determining user posture, which are used to provide more refined user posture determination results and ensure strong data support. The method includes: the processing device obtains the target image of the user posture to be evaluated, the target image is obtained by shooting the target user, and the target image includes color information and depth information collected by the depth camera; the processing device converts the target image into a three-dimensional point cloud through coordinate conversion processing; the processing device identifies the target three-dimensional point cloud belonging to the back area of ​​the human body in the three-dimensional point cloud; the processing device identifies the preset feature point cloud contained in the target three-dimensional point cloud and obtains the feature point cloud position; the processing device determines the point cloud belonging to the midline area of ​​the back of the human body in the target three-dimensional point cloud based on the feature point cloud position; the processing device performs back midline fitting on the point cloud in the midline area of ​​the back of the human body to obtain the back midline posture determination result.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of motion capture, and in particular to a method, device and processing equipment for determining a user's posture. Background Art

[0002] Motion capture technology is widely used in application scenarios such as virtual reality (AR) and somatosensory games, and can provide applications with data support for user movements, that is, data related to user postures.

[0003] User posture can refer not only to the user posture of the user, but also to the user posture of the application developer. That is to say, accurate assessment of user posture can be involved from the application development process to the application practical process.

[0004] During the research process of existing related technologies, the inventors found that when there is a need for high-precision user posture evaluation, the evaluation of some tiny user postures has the problem of poor accuracy. Even in some user posture evaluation processes, there may be a problem of not being able to evaluate the required tiny user postures. In other words, the existing user posture evaluation technology has the problem of lack of accuracy. Summary of the invention

[0005] The present application provides a method, apparatus and processing device for determining a user posture, which are used to provide a more refined user posture determination result and ensure strong data support.

[0006] In a first aspect, the present application provides a method for determining a user posture, the method comprising:

[0007] The processing device obtains a target image of the user posture to be evaluated, where the target image is obtained by photographing the target user, and the target image includes color information and depth information acquired by a depth camera;

[0008] The processing device converts the target image into a three-dimensional point cloud through coordinate conversion processing;

[0009] The processing device identifies a target three-dimensional point cloud belonging to the back area of ​​the human body in the three-dimensional point cloud;

[0010] The processing device identifies a preset feature point cloud contained in the target three-dimensional point cloud and obtains the position of the feature point cloud;

[0011] The processing device determines the point cloud belonging to the midline area of ​​the back of the human body in the target three-dimensional point cloud based on the position of the feature point cloud;

[0012] The processing device performs back midline fitting on the point cloud of the back midline area of ​​the human body to obtain a back midline posture determination result.

[0013] In combination with the first aspect of the present application, in a first possible implementation manner of the first aspect of the present application, the target image specifically includes a color image representing color information and a depth image representing depth information, and the processing device converts the target image into a three-dimensional point cloud through coordinate conversion processing, including:

[0014] The processing device fuses the color image and the depth image through coordinate conversion and converts them into a three-dimensional point cloud.

[0015] In combination with the first aspect of the present application, in a second possible implementation manner of the first aspect of the present application, the processing device identifies a target three-dimensional point cloud belonging to a back area of ​​a human body in the three-dimensional point cloud, including:

[0016] The processing device filters abnormal point clouds and point clouds belonging to the background area in the three-dimensional point cloud through a filtering algorithm to obtain a first three-dimensional point cloud;

[0017] The processing device removes point clouds other than the lower half of the human body, the palm, and the hair from the first three-dimensional point cloud based on the color feature information to obtain a second three-dimensional point cloud;

[0018] The processing device removes the point cloud belonging to the upper limb area from the second three-dimensional point cloud to obtain a third three-dimensional point cloud;

[0019] The processing device downsamples the third three-dimensional point cloud based on voxels to obtain a target three-dimensional point cloud.

[0020] In combination with the first aspect of the present application, in a third possible implementation manner of the first aspect of the present application, the processing device identifies a preset feature point cloud contained in the target three-dimensional point cloud to obtain a feature point cloud position, including:

[0021] The processing device identifies the preset feature point clouds belonging to the ears and hip bone points in the target three-dimensional point cloud, and obtains the positions of the feature point clouds.

[0022] In combination with the first aspect of the present application, in a fourth possible implementation manner of the first aspect of the present application, the processing device performs back midline fitting on the point cloud of the back midline area of ​​the human body to obtain a back midline posture determination result, including:

[0023] The processing device projects the point cloud of the midline area of ​​the human back onto a two-dimensional plane, and performs back midline fitting in combination with polynomial fitting to obtain the back midline posture determination result.

[0024] In combination with the first aspect of the present application, in the fifth possible implementation method of the first aspect of the present application, the target image is obtained by photographing the target user under two conditions: a solid color background and a color distinction between the color of the solid color background and the user's skin color is greater than a preset distinction.

[0025] In combination with the first aspect of the present application, in a sixth possible implementation of the first aspect of the present application, the back midline posture determination result includes image information of the back midline and the scoliosis angle.

[0026] In a second aspect, the present application provides a device for determining a user posture, the device comprising:

[0027] An acquisition unit, used to acquire a target image of the user posture to be evaluated, the target image is obtained by photographing the target user, and the target image includes color information and depth information acquired by a depth camera;

[0028] A conversion unit, used for converting the target image into a three-dimensional point cloud through coordinate conversion processing;

[0029] A recognition unit, used for recognizing a target three-dimensional point cloud belonging to a human back area in the three-dimensional point cloud;

[0030] The recognition unit is also used to recognize a preset feature point cloud contained in the target three-dimensional point cloud to obtain the position of the feature point cloud;

[0031] A determination unit, used to determine the point cloud belonging to the midline area of ​​the back of the human body in the target three-dimensional point cloud based on the position of the feature point cloud;

[0032] The fitting unit is used to perform back midline fitting on the point cloud of the back midline area of ​​the human body to obtain a back midline posture determination result.

[0033] In conjunction with the second aspect of the present application, in a first possible implementation manner of the second aspect of the present application, the target image specifically includes a color image representing color information and a depth image representing depth information, and the conversion unit is specifically used to:

[0034] Through coordinate transformation processing, the color image and depth image are fused and converted into a three-dimensional point cloud.

[0035] In conjunction with the second aspect of the present application, in a second possible implementation manner of the second aspect of the present application, the identification unit is specifically configured to:

[0036] By using a filtering algorithm, abnormal point clouds and point clouds belonging to the background area in the three-dimensional point cloud are filtered out to obtain a first three-dimensional point cloud;

[0037] Based on the color feature information, point clouds other than the lower half of the human body, the palm, and the hair are removed from the first three-dimensional point cloud to obtain a second three-dimensional point cloud;

[0038] The point cloud belonging to the upper limb area in the second three-dimensional point cloud is removed to obtain a third three-dimensional point cloud;

[0039] Based on voxels, the third 3D point cloud is downsampled to obtain the target 3D point cloud.

[0040] In combination with the second aspect of the present application, in a third possible implementation manner of the second aspect of the present application, the identification unit is specifically used to:

[0041] Identify the preset feature point clouds belonging to the ears and hip bone points in the target three-dimensional point cloud and obtain the position of the feature point clouds.

[0042] In combination with the second aspect of the present application, in a fourth possible implementation manner of the second aspect of the present application, the fitting unit is specifically used to:

[0043] The point cloud of the human back midline area is projected onto a two-dimensional plane, and the back midline is fitted in combination with polynomial fitting to obtain the back midline posture determination result.

[0044] In combination with the second aspect of the present application, in the fifth possible implementation method of the second aspect of the present application, the target image is obtained by photographing the target user under two conditions: a solid color background and a color distinction between the color of the solid color background and the user's skin color is greater than a preset distinction.

[0045] In combination with the second aspect of the present application, in a sixth possible implementation of the second aspect of the present application, the back midline posture determination result includes image information of the back midline and the scoliosis angle.

[0046] In a third aspect, the present application provides a processing device, including a processor and a memory, wherein a computer program is stored in the memory, and when the processor calls the computer program in the memory, the method provided in the first aspect of the present application or any possible implementation method of the first aspect of the present application is executed.

[0047] In a fourth aspect, the present application provides a computer-readable storage medium, which stores multiple instructions, and the instructions are suitable for a processor to load to execute the method provided by the first aspect of the present application or any possible implementation of the first aspect of the present application.

[0048] From the above content, it can be concluded that the present application has the following beneficial effects:

[0049] For the subtle level of back midline posture in the user's posture, the present application combines the color information and depth information of the target image to convert it into a three-dimensional point cloud at the three-dimensional level, and identifies the target three-dimensional point cloud belonging to the human back area in the three-dimensional point cloud, and determines the point cloud belonging to the human back midline area in the target three-dimensional point cloud in combination with the identified feature point cloud position. At this time, the point cloud in the human back midline area is fitted with the back midline to obtain the back midline posture determination result. In this process, not only the back is reconstructed through the three-dimensional point cloud, but the introduced feature point cloud position can also play an effective and precise positioning role. Therefore, a high-precision back midline posture determination result can be obtained. When high-precision back midline determination results need to be applied in motion capture technology, strong data support can be guaranteed. BRIEF DESCRIPTION OF THE DRAWINGS

[0050] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.

[0051] Figure 1 A flowchart of a method for determining a user's posture according to the present application;

[0052] Figure 2 A schematic diagram of a process for identifying a target three-dimensional point cloud for this application;

[0053] Figure 3 A schematic diagram of the structure of a device for determining a user posture of the present application;

[0054] Figure 4 A schematic diagram of the structure of the processing equipment of this application. DETAILED DESCRIPTION

[0055] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of this application.

[0056] The terms "first", "second", etc. in the specification and claims of this application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments described here can be implemented in an order other than that illustrated or described here. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or modules is not necessarily limited to those steps or modules clearly listed, but may include other steps or modules that are not clearly listed or inherent to these processes, methods, products or devices. The naming or numbering of steps in this application does not mean that the steps in the method flow must be executed in the time / logical sequence indicated by the naming or numbering. The process steps that have been named or numbered can change the execution order according to the technical purpose to be achieved, as long as the same or similar technical effects can be achieved.

[0057] The division of modules in this application is a logical division. There may be other division methods when it is implemented in actual applications. For example, multiple modules can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, and the indirect coupling or communication connection between modules can be electrical or other similar forms, which are not limited in this application. In addition, the modules or submodules described as separate components may or may not be physically separated, may or may not be physical modules, or may be distributed in multiple circuit modules, and some or all of the modules may be selected according to actual needs to achieve the purpose of the present application.

[0058] Before introducing the method for determining the user posture provided by the present application, the background content involved in the present application is first introduced.

[0059] The user posture determination method, device and computer-readable storage medium provided in the present application can be applied to a processing device to provide a more refined user posture determination result and ensure strong data support.

[0060] The method for determining user posture mentioned in the present application may be performed by a user posture determination device, or a server, a physical host, or a user equipment (UE) or other processing devices of different types that integrate the user posture determination device. The user posture determination device may be implemented in hardware or software, and the UE may be a terminal device such as a smart phone, a tablet computer, a laptop computer, a desktop computer, or a personal digital assistant (PDA), and the processing device may be set in a device cluster.

[0061] Next, the method for determining the user posture provided by the present application is introduced.

[0062] First, see Figure 1 , Figure 1 A flow chart of a method for determining a user posture of the present application is shown. The method for determining a user posture provided by the present application may specifically include the following steps S101 to S106:

[0063] Step S101, a processing device obtains a target image of a user posture to be evaluated, where the target image is obtained by photographing a target user, and the target image includes color information and depth information acquired by a depth camera;

[0064] It can be understood that for the processing of user gestures, the present application generally starts with retrieving a target image of the user gesture to be evaluated.

[0065] That is to say, the target image of the user posture to be evaluated is a ready-made image, which can be retrieved from a local storage space or other device storing the target image.

[0066] Of course, in some cases, if the processing device of the present application is equipped with a depth camera, the acquisition of the target image can also be understood as real-time shooting and processing of the image.

[0067] Among them, the depth camera can be understood as a camera that can capture color information and depth information. Corresponding to the present application, the target image may be an image taken by one depth camera or an image taken by multiple depth cameras. In this case, there may be multiple target images.

[0068] Step S102, the processing device converts the target image into a three-dimensional point cloud through coordinate conversion processing;

[0069] It can be understood that, in order to facilitate subsequent data processing, in this application, it is specifically carried out at the point cloud level.

[0070] In this case, the target image obtained above can be converted into a three-dimensional point cloud corresponding to the three-dimensional space. In these three-dimensional point clouds, the three-dimensional spatial positions of different point clouds are mainly provided through depth information. In this way, the shooting environment of the target image at that time is reconstructed at the data level, providing a large amount of information-rich point cloud data for subsequent data processing.

[0071] As a practical implementation, in actual operation, the target image may further include two types of images, that is, a color image representing color information and a depth image representing depth information. Thus, in the process of processing a three-dimensional point cloud, the following may be specifically included:

[0072] The processing device fuses the color image and the depth image through coordinate conversion and converts them into a three-dimensional point cloud.

[0073] It can be understood that under this setting, the depth camera can have lower data processing requirements. It only needs to collect matching color images and depth images, and subsequent image fusion can be performed by other devices.

[0074] In addition, if there are multiple cameras, the color images collected at different positions in the same scene can be fused first, and the depth images collected at different positions in the same scene can be fused first. After the color image part and the depth image part have completed their own image fusion, the color image and the depth image are fused. In this way, data processing can also be more convenient and have higher precision.

[0075] Step S103, the processing device identifies a target three-dimensional point cloud belonging to the back area of ​​the human body in the three-dimensional point cloud;

[0076] It can be understood that in the present application, the focus is on the back midline posture at a subtle level in the user's posture. Therefore, when a three-dimensional point cloud is obtained, a target three-dimensional point cloud belonging to the back area of ​​the human body can be extracted therefrom.

[0077] At this time, the human back area is still in a relatively broad range relative to the area specifically used to express the midline posture of the back. The purpose of recognition can be understood as a preprocessing to filter out most of the invalid point clouds so that the data processing scale corresponding to the subsequent recognition of the midline posture of the back can be compressed to a very small level, which is conducive to ensuring efficient and high-precision data processing.

[0078] It can be understood that the recognition of the back area of ​​the human body is achieved based on the three-dimensional image features reflected by the point cloud. On the one hand, we can start by eliminating the point cloud that obviously does not belong to the back area of ​​the human body to retain the point cloud of the back area of ​​the human body. On the other hand, we can also start by retaining the point cloud that obviously belongs to the back area of ​​the human body. By combining the two, we can achieve the purpose of accurately identifying the target three-dimensional point cloud of the back area of ​​the human body.

[0079] In order to achieve an accurate filtering effect, as another practical implementation method, the recognition and processing of the target three-dimensional point cloud in this application is referred to Figure 2 A schematic diagram of a process of identifying a target three-dimensional point cloud in the present application is shown, which may specifically include the following contents:

[0080] Step S201, the processing device filters abnormal point clouds and point clouds belonging to the background area in the three-dimensional point cloud through a filtering algorithm to obtain a first three-dimensional point cloud;

[0081] It is understandable that in data processing, including the initial shooting process of the target image and the subsequent coordinate conversion process, some abnormal point clouds may appear. These abnormal point clouds cannot provide valid point cloud information. Therefore, when the abnormal point clouds are easy to identify, they can be filtered.

[0082] In addition, corresponding to the shooting scene of the original target user, there must be background content that is unrelated to human body posture, which can also be filtered. In particular, in actual operation, the background in the shooting scene can be easily set to simple, easily recognizable, and easily distinguishable background content.

[0083] For example, the background in the shooting scene can be set to a solid color background for easy identification. In addition, in order to further enhance the distinction between the background and the user and facilitate control in actual operations, the color of the solid color background can also be set to be more distinguishable from the user's skin color than a preset distinction.

[0084] As an example, the background can be a dark solid color background such as black, and the user can wear light-colored or skin-colored clothes or even no top. Specifically, the user can wear skin-colored clothes that are close-fitting and tight-fitting, which not only facilitates the motion capture of the midline of the back involved in this application, but also facilitates the motion capture of other user postures.

[0085] It can be understood that in step S201, a preliminary filtering effect is achieved, and a small amount or messy point cloud data still exists in the obtained three-dimensional point cloud.

[0086] Step S202: The processing device removes point clouds other than the lower half of the human body, the palm, and the hair from the first three-dimensional point cloud based on the color feature information to obtain a second three-dimensional point cloud;

[0087] Based on the first three-dimensional point cloud obtained in step S201, the present application can continue to combine color feature information to perform image segmentation, segmenting the point cloud including the back area and the upper limb area, and eliminating point clouds other than the lower half of the human body, palms, and hair.

[0088] It can be understood that in this process, not only human body areas with black color features such as hair are involved, but also the point clouds of the lower part of the human body, palms, and hair can be eliminated based on the edge and obvious human body area features reflected by the color features of each point cloud to obtain a second three-dimensional point cloud.

[0089] Step S203, the processing device removes the point cloud belonging to the upper limb area in the second three-dimensional point cloud to obtain a third three-dimensional point cloud;

[0090] Furthermore, the position filtering algorithm may be further combined to remove the point cloud belonging to the upper limb area in the second three-dimensional point cloud to obtain a third three-dimensional point cloud.

[0091] At this point, the three-dimensional point cloud of the upper limb area is eliminated and it can be considered as the three-dimensional point cloud of the back area, which can be used for the subsequent identification of the midline of the back.

[0092] Step S204: The processing device downsamples the third three-dimensional point cloud based on voxels to obtain a target three-dimensional point cloud.

[0093] In order to further compress the data processing scale of subsequent back midline identification, the present application can also reduce the number of point clouds that need to be processed.

[0094] Specifically, voxel-based downsampling processing can be used to effectively reduce the number of point clouds to improve processing efficiency.

[0095] Voxel is the abbreviation of volume pixel. A volume containing voxels can be represented by stereo rendering or by extracting a polygonal isosurface with a given threshold contour.

[0096] Step S104, the processing device identifies a preset feature point cloud contained in the target three-dimensional point cloud, and obtains the position of the feature point cloud;

[0097] It can be understood that in order to facilitate the accurate identification of the midline of the back, the present application also specifically introduces a feature point cloud position, which is the position of the identified preset feature point cloud. The preset feature point cloud is specifically a point cloud that the present application believes has specific features after the user's specific part is reflected from the image to the three-dimensional point cloud. Since its position is relatively unchanged, it helps with positioning during the identification process.

[0098] The preset feature point cloud may be a pattern configured manually, such as spraying, drawing, pasting or hanging on the target user, or may be a fixed body feature of the target user itself.

[0099] As another practical implementation method, in the present application, the preset feature point cloud can specifically be a preset feature point cloud of ears and hip bone points. That is to say, the present application believes that after the user's ears and hip bone points are reflected from the image to the three-dimensional point cloud, their point cloud features have more obvious characteristics. In this way, if there is a preset feature point cloud of ears or hip bone points in the three-dimensional point cloud, the corresponding user limb part can be identified as the ear or hip bone point.

[0100] That is, step S104 may specifically include:

[0101] The processing device identifies the preset feature point clouds belonging to the ears and hip bone points in the target three-dimensional point cloud, and obtains the positions of the feature point clouds.

[0102] It can be understood that the position of the ear on the user's head is close to the upper end of the midline of the back; the hip bone point is at the waist or even below the waist, close to the lower end of the midline of the back. Therefore, after determining the position of the ear and the hip bone point, the position of the two ends of the midline of the back in the current three-dimensional point cloud can be accurately determined, which has a prominent and better positioning effect, and at the same time provides auxiliary judgment basis for subsequent applications.

[0103] Step S105, the processing device determines the point cloud belonging to the midline area of ​​the back of the human body in the target three-dimensional point cloud based on the position of the feature point cloud;

[0104] After obtaining the position of the feature point cloud, based on its positioning effect and in combination with the neighborhood depth data (corresponding to the shape features of the midline of the back), the point cloud belonging to the midline area of ​​the human back can be further separated from the target three-dimensional point cloud.

[0105] It can be understood that in this process, the correspondence between the pre-determined effective recognition range of the back midline and the position of the feature point cloud is combined to further compress the data processing scale of the subsequent back midline recognition.

[0106] It can also be seen here that the feature point cloud corresponding to the previous feature point cloud position corresponds to the point cloud belonging to the midline area of ​​the human back in this step, and is used as an auxiliary separation of the point cloud belonging to the midline area of ​​the human back.

[0107] Step S106: The processing device performs back midline fitting on the point cloud of the back midline area of ​​the human body to obtain a back midline posture determination result.

[0108] After the above-mentioned multi-layer recognition range reduction and data processing scale compression, the processing equipment can now fit the back midline to the point cloud of the human back midline area separated from the target three-dimensional point cloud, combined with the preset point cloud features of the back midline, to obtain the back midline posture determination result.

[0109] As another practical implementation method, the process of back midline fitting may specifically include:

[0110] The processing device projects the point cloud of the midline area of ​​the human back onto a two-dimensional plane, and performs back midline fitting in combination with polynomial fitting to obtain the back midline posture determination result.

[0111] It can be understood that in the process of processing the point cloud, the present application can use a polynomial fitting method to fit the current point cloud that best conforms to the centerline trend of the normal back centerline based on the limiting condition that the centerline of the back is a curve, combined with the position of the point cloud identified as belonging to the centerline of the back, to determine the centerline of the back of the target user.

[0112] The back midline posture determination result can be understood as the description data of the back midline identified by the present application.

[0113] The data expression form and data content of the back midline posture determination result can be adjusted according to actual needs. For example, it can include basic back midline position information or curve trend information. Furthermore, the back midline posture determination result can also include back midline image information. That is to say, in addition to textual expression, the back midline can also be presented in the form of an image, for example, the back midline in the image is marked for the original target image. In addition, corresponding to the back midline, the back midline may also have changes in position and trend in different users and their different user postures. Therefore, in order to facilitate data processing, the scoliosis angle can also be determined on the basis of determining the back midline, thereby providing more refined data support at the data processing level.

[0114] From the above content, it can be seen that for the subtle level of the back midline posture in the user's posture, the present application combines the color information and depth information of the target image to convert it into a three-dimensional point cloud at the three-dimensional level, and identifies the target three-dimensional point cloud belonging to the human back area in the three-dimensional point cloud, and combines the identified feature point cloud position to determine the point cloud belonging to the human back midline area in the target three-dimensional point cloud. At this time, the point cloud in the human back midline area is fitted with the back midline to obtain the back midline posture determination result. In this process, not only the back is reconstructed through the three-dimensional point cloud, but the introduced feature point cloud position can also play an effective and precise positioning role. Therefore, a high-precision back midline posture determination result can be obtained. When high-precision back midline determination results need to be applied in motion capture technology, strong data support can be guaranteed.

[0115] The above is an introduction to the method for determining user posture provided by the present application. To facilitate better implementation of the method for determining user posture provided by the present application, the present application also provides a device for determining user posture from the perspective of a functional module.

[0116] See also Figure 3 , Figure 3 This is a schematic diagram of a structure of a device for determining a user posture of the present application. In the present application, the device for determining a user posture 300 may specifically include the following structure:

[0117] An acquisition unit 301 is used to acquire a target image of the user posture to be evaluated, where the target image is obtained by photographing the target user, and the target image includes color information and depth information acquired by a depth camera;

[0118] A conversion unit 302, used to convert the target image into a three-dimensional point cloud through coordinate conversion processing;

[0119] An identification unit 303 is used to identify a target three-dimensional point cloud belonging to a human back area in the three-dimensional point cloud;

[0120] The recognition unit 303 is further used to recognize a preset feature point cloud contained in the target three-dimensional point cloud to obtain the position of the feature point cloud;

[0121] A determination unit 304 is used to determine the point cloud belonging to the midline area of ​​the back of the human body in the target three-dimensional point cloud based on the position of the feature point cloud;

[0122] The fitting unit 305 is used to perform back midline fitting on the point cloud of the back midline area of ​​the human body to obtain a back midline posture determination result.

[0123] In another exemplary implementation, the target image specifically includes a color image representing color information and a depth image representing depth information, and the conversion unit 302 is specifically configured to:

[0124] Through coordinate transformation processing, the color image and depth image are fused and converted into a three-dimensional point cloud.

[0125] In yet another exemplary implementation, the identification unit 303 is specifically configured to:

[0126] By using a filtering algorithm, abnormal point clouds and point clouds belonging to the background area in the three-dimensional point cloud are filtered out to obtain a first three-dimensional point cloud;

[0127] Based on the color feature information, point clouds other than the lower half of the human body, the palm, and the hair are removed from the first three-dimensional point cloud to obtain a second three-dimensional point cloud;

[0128] The point cloud belonging to the upper limb area in the second three-dimensional point cloud is removed to obtain a third three-dimensional point cloud;

[0129] Based on voxels, the third 3D point cloud is downsampled to obtain the target 3D point cloud.

[0130] In yet another exemplary implementation, the identification unit 303 is specifically configured to:

[0131] Identify the preset feature point clouds belonging to the ears and hip bone points in the target three-dimensional point cloud and obtain the position of the feature point clouds.

[0132] In yet another exemplary implementation, the fitting unit 305 is specifically configured to:

[0133] The point cloud of the human back midline area is projected onto a two-dimensional plane, and the back midline is fitted in combination with polynomial fitting to obtain the back midline posture determination result.

[0134] In yet another exemplary implementation, the target image is obtained by photographing the target user under two conditions: a pure color background and a color distinction between the color of the pure color background and the skin color of the user is greater than a preset distinction.

[0135] In yet another exemplary implementation, the back midline posture determination result includes image information of the back midline and the scoliosis angle.

[0136] This application also provides a processing device from the perspective of hardware structure, see Figure 4 , Figure 4 401, a computer program stored in the memory 402, and an input / output device 403. The processor 401 is used to execute the computer program stored in the memory 402. Figure 1 The steps of the method for determining the user posture in the corresponding embodiment; or, the processor 401 is used to execute the computer program stored in the memory 402 to implement the following Figure 3 Corresponding to the functions of each unit in the embodiment, the memory 402 is used to store the processor 401 executing the above Figure 1 A computer program required for the method for determining the user posture in the corresponding embodiment.

[0137] Exemplarily, the computer program may be divided into one or more modules / units, one or more modules / units are stored in the memory 402, and executed by the processor 401 to complete the present application. One or more modules / units may be a series of computer program instruction segments capable of completing specific functions, and the instruction segments are used to describe the execution process of the computer program in the computer device.

[0138] The processing device may include, but is not limited to, a processor 401, a memory 402, and an input / output device 403. Those skilled in the art will appreciate that the illustration is merely an example of a processing device and does not constitute a limitation on the processing device, and may include more or fewer components than shown in the illustration, or a combination of certain components, or different components. For example, the processing device may also include a network access device, a bus, etc., and the processor 401, the memory 402, the input / output device 403, etc. are connected via a bus.

[0139] The processor 401 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc. The processor is the control center of the processing device, and uses various interfaces and lines to connect various parts of the entire device.

[0140] The memory 402 can be used to store computer programs and / or modules. The processor 401 implements various functions of the computer device by running or executing the computer programs and / or modules stored in the memory 402 and calling the data stored in the memory 402. The memory 402 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, at least one application required for a function, etc.; the data storage area can store data created according to the use of the processing device, etc. In addition, the memory can include a high-speed random access memory, and can also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (SecureDigital, SD) card, a flash card (Flash Card), at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.

[0141] When the processor 401 is used to execute the computer program stored in the memory 402, the following functions can be implemented:

[0142] Obtain a target image of the user posture to be evaluated. The target image is obtained by photographing the target user. The target image includes color information and depth information acquired by a depth camera.

[0143] Through coordinate transformation processing, the target image is converted into a three-dimensional point cloud;

[0144] Identify a target three-dimensional point cloud belonging to the back area of ​​a human body in the three-dimensional point cloud;

[0145] Identify the preset feature point cloud contained in the target three-dimensional point cloud and obtain the position of the feature point cloud;

[0146] Based on the position of the feature point cloud, determine the point cloud belonging to the midline area of ​​the back of the human body in the target three-dimensional point cloud;

[0147] The back midline is fitted on the point cloud of the back midline area of ​​the human body to obtain the back midline posture determination result.

[0148] Those skilled in the art can clearly understand that for the convenience and brevity of description, the specific working process of the above-described user posture determination device, processing device and corresponding units can refer to the following. Figure 1 The description of the method for determining the user posture in the corresponding embodiment will not be repeated here in detail.

[0149] A person of ordinary skill in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be completed by instructions, or by controlling related hardware through instructions. The instructions may be stored in a computer-readable storage medium and loaded and executed by a processor.

[0150] To this end, the present application provides a computer-readable storage medium, in which a plurality of instructions are stored, and the instructions can be loaded by a processor to execute the present application as follows: Figure 1 For the steps of the method for determining the user posture in the corresponding embodiment, the specific operations can be referred to as follows Figure 1 The description of the method for determining the user posture in the corresponding embodiment will not be repeated here.

[0151] The computer-readable storage medium may include: a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.

[0152] Due to the instructions stored in the computer-readable storage medium, the present application can be executed. Figure 1 The steps of the method for determining the user posture in the corresponding embodiment, therefore, the present application can be implemented as follows Figure 1 The beneficial effects that can be achieved by the method for determining the user posture in the corresponding embodiment are detailed in the previous description and will not be repeated here.

[0153] The above is a detailed introduction to the method, device, processing equipment and computer-readable storage medium for determining the user posture provided by the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea; at the same time, for technical personnel in this field, according to the idea of ​​the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. A method for determining a user's posture, characterized in that: The method comprises: The processing device obtains a target image of the user posture to be evaluated, where the target image is obtained by photographing the target user, and the target image includes color information and depth information acquired by a depth camera; The processing device converts the target image into a three-dimensional point cloud through coordinate conversion processing; The processing device identifies a target three-dimensional point cloud belonging to a human back region in the three-dimensional point cloud; The processing device identifies a preset feature point cloud contained in the target three-dimensional point cloud to obtain a position of the feature point cloud; The processing device determines the point cloud belonging to the midline area of ​​the back of the human body in the target three-dimensional point cloud based on the position of the feature point cloud; The processing device performs back midline fitting on the point cloud of the back midline area of ​​the human body to obtain a back midline posture determination result; The processing device identifies a target three-dimensional point cloud belonging to a human back region in the three-dimensional point cloud, including: The processing device filters abnormal point clouds and point clouds belonging to the background area in the three-dimensional point cloud by using a filtering algorithm to obtain a first three-dimensional point cloud; The processing device removes point clouds other than the lower half of the human body, the palm, and the hair from the first three-dimensional point cloud based on the color feature information to obtain a second three-dimensional point cloud; The processing device removes the point cloud belonging to the upper limb area in the second three-dimensional point cloud to obtain a third three-dimensional point cloud; The processing device downsamples the third three-dimensional point cloud based on voxels to obtain the target three-dimensional point cloud; The processing device identifies a preset feature point cloud contained in the target three-dimensional point cloud to obtain a position of the feature point cloud, including: The processing device identifies preset feature point clouds belonging to ears and hip bone points in the target three-dimensional point cloud, and obtains the positions of the feature point clouds; The processing device performs back midline fitting on the point cloud of the back midline area of ​​the human body to obtain a back midline posture determination result, including: The processing device projects the point cloud of the back midline area of ​​the human body onto a two-dimensional plane, and performs back midline fitting in combination with polynomial fitting to obtain the back midline posture determination result; The target image is obtained by photographing the target user under two conditions: a pure color background and a color distinction between the color of the pure color background and the skin color of the user is greater than a preset distinction.

2. The method according to claim 1, characterized in that The target image specifically includes a color image representing the color information and a depth image representing the depth information, and the processing device converts the target image into a three-dimensional point cloud through coordinate conversion processing, including: The processing device fuses the color image and the depth image and converts them into the three-dimensional point cloud through coordinate conversion processing.

3. The method according to claim 1, characterized in that The back midline posture determination result includes image information of the back midline and the scoliosis angle.

4. A device for determining a user's posture, characterized in that: The device comprises: An acquisition unit is used to acquire a target image of the user posture to be evaluated, wherein the target image is obtained by photographing the target user, and the target image includes color information and depth information acquired by a depth camera; A conversion unit, used for converting the target image into a three-dimensional point cloud through coordinate conversion processing; An identification unit, used to identify a target three-dimensional point cloud belonging to a human back area in the three-dimensional point cloud; The recognition unit is further used to recognize a preset feature point cloud contained in the target three-dimensional point cloud to obtain a position of the feature point cloud; A determination unit, configured to determine, based on the position of the feature point cloud, a point cloud in the target three-dimensional point cloud belonging to a midline region of a human back; A fitting unit, used for performing back midline fitting on the point cloud of the back midline area of ​​the human body to obtain a back midline posture determination result; The identification unit is specifically used for: By using a filtering algorithm, abnormal point clouds and point clouds belonging to the background area in the three-dimensional point cloud are filtered out to obtain a first three-dimensional point cloud; Based on the color feature information, point clouds other than the lower half of the human body, the palm, and the hair are removed from the first three-dimensional point cloud to obtain a second three-dimensional point cloud; removing the point cloud belonging to the upper limb region from the second three-dimensional point cloud to obtain a third three-dimensional point cloud; Based on voxels, downsampling the third three-dimensional point cloud to obtain the target three-dimensional point cloud; The identification unit is specifically used for: Identify preset feature point clouds belonging to ears and hip bone points in the target three-dimensional point cloud, and obtain the positions of the feature point clouds; The fitting unit is specifically used for: Projecting the point cloud of the midline area of ​​the back of the human body onto a two-dimensional plane, and performing back midline fitting in combination with polynomial fitting to obtain the back midline posture determination result; The target image is obtained by photographing the target user under two conditions: a pure color background and a color distinction between the color of the pure color background and the skin color of the user is greater than a preset distinction.

5. A processing device, characterized in that: The method comprises a processor and a memory, wherein the memory stores a computer program, and the processor executes the method according to any one of claims 1 to 3 when calling the computer program in the memory.

6. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor to execute the method according to any one of claims 1 to 3.