Human body posture estimation method based on Aprilgrid irregular black and white lattice data set

Through the human posture estimation method based on the Aprilgrid irregular black and white grid data set, using a monocular camera and a convolutional neural network, it solves the problems of high computational cost, low accuracy and data privacy security in the existing technology, and achieves high accuracy and stability. pose estimation that is robust and portable, suitable for applications with limited resources and complex environments.

CN118587764APending Publication Date: 2024-09-03COLLEGE OF SCI & TECH NINGBO UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410701933.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-31
Publication Date
2024-09-03

AI Technical Summary

Technical Problem

Existing human posture estimation technology suffers from high computational costs, low accuracy, data privacy and security issues, and high equipment costs, making it difficult to achieve efficient and accurate posture recognition especially in complex environments and scenarios with limited resources.

Method used

A human posture estimation method based on the Aprilgrid irregular black and white grid data set is used to obtain the video stream through a monocular camera, perform image preprocessing and corner point recognition, combine the convolutional neural network feature extraction and mean square error loss function optimization, and use the monocular The camera's internal and external parameter matrices calculate the displacement of human body parts to achieve sub-pixel level detection accuracy.

Benefits of technology

It achieves high-precision, stable and real-time human posture estimation, reduces equipment costs and privacy and security risks, and is suitable for application scenarios that require portability and economy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118587764A
    Figure CN118587764A
Patent Text Reader

Abstract

The invention discloses a human body posture estimation method based on an Aprilgrid irregular black and white grid data set, and the method comprises the steps: obtaining a video stream containing a human body wearable Aprilgrid irregular black and white grid pattern through a monocular camera, carrying out the image preprocessing of the wearable Aprilgrid irregular black and white grid pattern, and carrying out the recognition and order marking of angular points of Aprilgrid irregular black and white grids; after the serial numbers corresponding to the angular points of all the patterns in each frame of picture correspond to the angular point positions, reading corresponding pixel coordinates, and utilizing the internal reference matrix and the external reference matrix of the monocular camera to obtain a corresponding image; the displacement of the human body part where the wearable Aprilgrid irregular black and white lattice pattern is located is calculated through conversion from a world coordinate system to a camera coordinate system and then to an image coordinate system. According to the invention, the technical problem of improving the rapidness and accuracy of human body posture estimation is solved. The system has the characteristics of high precision, stability, real-time performance, safety, portability, high economical efficiency and the like.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to a method for estimating a human body posture, in particular to a method for estimating a human body posture based on an Aprilgrid irregular black-and-white grid data set. Background Art

[0002] Human posture estimation refers to the detection and recognition of human posture and movement through computer vision technology. Currently, there are many methods and technologies for human posture estimation, including but not limited to: 1. Deep learning method: Use deep learning models such as convolutional neural network (CNN), recurrent neural network (RNN) and attention mechanism to process image or video data to obtain the position information of key points of the human body. Common deep learning models include OpenPose, AlphaPose, etc.

[0003] 2. Depth sensor-based method: Using depth sensors such as Microsoft Kinect, Intel RealSense and other devices to capture the depth information of the human body to achieve posture estimation. This method does not rely on image pixels and can perform posture estimation without interference from light and background.

[0004] 3. RGB-D image-based method: Combining RGB images and depth images, and using depth information to assist RGB images in human posture estimation can improve accuracy and stability.

[0005] 4. Key point detection method: The human body posture is represented as a set of key point coordinates, and posture estimation is achieved by detecting these key points. Commonly used key points include head, shoulders, elbows, wrists, hips, knees and ankles.

[0006] 5. Multi-view fusion method: Utilize image or video data from multiple perspectives to improve the accuracy and robustness of posture estimation by fusing information from different perspectives.

[0007] However, the above methods and technologies for human posture estimation still have the following technical defects: High computational cost: Deep learning methods require a lot of computing resources during the training and inference stages, especially for complex models and large-scale data sets, which will result in high computational costs and may not be suitable for some application scenarios with limited resources.

[0008] Accuracy: Current pose estimation techniques may have low accuracy in situations such as complex movements, occlusions, and lighting changes, especially for long-distance or low-resolution image data, which are prone to false detection or missed detection.

[0009] Data privacy and security: Using deep learning models for posture estimation usually requires a large amount of training data, which may involve the user's private information, such as body shape, motion characteristics, etc. Therefore, more attention should be paid to data privacy and security.

[0010] High cost: Using depth sensor-based methods, such as using devices such as Microsoft Kinect or Intel RealSense, the cost of these hardware devices may be relatively high, especially for scenarios that require large-scale deployment, the cost of equipment will become an important economic consideration. If customized development or integration is required, it may be necessary to invest a certain amount of human resources, including algorithm engineers, software developers, system integrators, etc., and these human costs also need to be included in the economic considerations.

[0011] Therefore, the applicant proposed the present invention. Summary of the invention

[0012] The purpose of the present invention is to provide a method for human posture estimation based on the Aprilgrid irregular black and white grid dataset in order to solve the above-mentioned deficiencies in the prior art. This method uses the existing and huge Aprilgrid irregular black and white grid dataset to make recognition fast and accurate. In complex environments, the effect of only segmenting the Aprilgrid irregular black and white grid is significantly improved compared to the effect of recognizing limbs.

[0013] In order to achieve the above object, the present invention designs a human body posture estimation method based on Aprilgrid irregular black and white grid data set, comprising: The monocular camera obtains a video stream containing the wearable Aprilgrid irregular black and white grid pattern worn by a human body. The wearable Aprilgrid irregular black and white grid pattern is subjected to image preprocessing, and the corner points of the Aprilgrid irregular black and white grid are identified and sequenced. Using N patterns randomly selected from the Aprilgrid irregular black and white grid dataset, the corner points are identified and sequenced after image preprocessing, and a dataset is established. The CNN architecture model is trained through the dataset through convolutional neural network feature extraction, and optimized using the mean square error loss function and stochastic gradient descent optimization algorithm. The model training process is monitored to ensure model convergence; After the serial numbers corresponding to the corner points of all patterns in each frame correspond to the corner point positions, the corresponding pixel coordinates are read, and the displacement of the human body part where the wearable Aprilgrid irregular black and white checkered pattern is located is calculated by using the intrinsic and extrinsic matrix of the monocular camera through the conversion from the world coordinate system to the camera coordinate system and then to the image coordinate system; Among them, the image preprocessing steps of the wearable Aprilgrid irregular black and white checkered pattern are: 1) Grayscale: Using the linear grayscale method, the values ​​of the RGB channels are added in a certain proportion to obtain the grayscale value, and then the color information is removed to convert the image into a grayscale image; 2) Noise reduction: The pixel value is replaced by the value of the surrounding neighborhood through filtering, thereby removing the noise in the image; 3) Contrast enhancement: Linear stretching, which enhances the image contrast by stretching the pixel value range of the image; 4) Image segmentation: Set the threshold, set the pixels with grayscale values ​​higher than the threshold to white, and set the pixels with grayscale values ​​lower than the threshold to black, segment the Aprilgrid black and white grid in the image, and identify and sequence the corner points of the Aprilgrid irregular black and white grid; Among them, the formula and steps for calculating the displacement of the human body part where the wearable Aprilgrid irregular black and white checkered pattern is located by using the spatial coordinate system transformation are: 1) The camera intrinsic parameter matrix is ​​expressed as:

[0014] Among them, ƒ x and y is the focal length of the camera, c x and c y are the coordinates of the principal point of the image; 2) The extrinsic parameter matrix of the monocular camera represents the position and orientation of the camera in the world coordinate system, expressed as a rotation matrix R and a translation vector T, combined into an extrinsic parameter matrix [R|T]; 3) Coordinate transformation formula: Assume that the coordinates of the two points on the human body where the wearable Aprilgrid irregular black and white checkered pattern is located in the world coordinate system are:

[0015] First, transform the point in the world coordinate system to the camera coordinate system:

[0016] Then project the point in the camera coordinate system onto the image plane to get the point in the image coordinate system:

[0017] Where (u, v) is the pixel coordinate in the image coordinate system, and K is the camera intrinsic parameter matrix; 4) Calculate displacement: For the two points P1 and P2, the pixel coordinates (u1, v1) and (u2, v2) in the image coordinate system, calculate their actual displacement; The actual displacement is calculated by the pixel coordinate difference and the camera scale factor, that is:

[0018] The scale factor is determined according to the camera parameters and the actual scene.

[0019] Compared with the prior art, the human body posture estimation method based on the Aprilgrid irregular black and white grid data set obtained by the present invention has the following technical advantages: High precision: Using precise monocular camera calibration technology and Aprilgrid’s sub-pixel detection algorithm for the corners of irregular black and white grid patterns, the accuracy can reach centimeter level.

[0020] Stability: Aprilgrid black and white grid can provide irregular patterns, ensuring the stability of the serial number during shooting and avoiding image noise and errors caused by factors such as texture and lighting, thereby improving measurement accuracy.

[0021] Real-time: Monocular cameras have fast shooting speed and can achieve a high frame rate, so this technical solution is more convenient for real-time positioning.

[0022] Security: The dataset only uses irregular pattern training data, so there is no need to worry about user privacy.

[0023] Portability: Compared with other 3D reconstruction technologies, the combination of a monocular camera and Aprilgrid irregular black and white grid is portable and suitable for application scenarios that require frequent movement of equipment or measurement in a small space.

[0024] Economical: It does not require large-scale deployment scenarios, has low hardware requirements, and can use open source datasets (Aprilgrid irregular black and white grid dataset), which greatly reduces costs compared to existing solutions. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] Figure 1 This is a flow chart of a human posture estimation method based on the Aprilgrid irregular black and white grid dataset. DETAILED DESCRIPTION

[0026] As an implementation mode of the present invention, the wearable Aprilgrid irregular black and white checkered pattern in this embodiment is made by using high-quality printed materials and is covered on the human arm by a ring-shaped inflatable airbag. For example, the arm will not be distorted due to the thickness of the outer diameter of the arm, thereby ensuring the consistency of the display effect of the Aprilgrid irregular black and white checkered pattern.

[0027] like Figure 1As shown, a human body posture estimation method based on the Aprilgrid irregular black and white grid data set provided in this embodiment includes: The monocular camera obtains a video stream containing the wearable Aprilgrid irregular black and white grid pattern worn by a human body. The wearable Aprilgrid irregular black and white grid pattern is subjected to image preprocessing, and the corner points of the Aprilgrid irregular black and white grid are identified and sequenced. Since the image processing video stream is to process and identify each frame of the video, the corner point number corresponding to each frame of the image will change. To solve this problem, 6 patterns randomly selected from the Aprilgrid irregular black and white grid dataset are used to identify and sequence the corner points after image preprocessing, and a dataset is established. The CNN architecture model is trained through the dataset through convolutional neural network feature extraction, and the mean square error loss function and stochastic gradient descent optimization algorithm are used for optimization. The model training process is monitored to ensure model convergence. After the serial numbers corresponding to the corner points of all patterns in each frame correspond to the corner point positions, the corresponding pixel coordinates are read, and the displacement of the human arm where the wearable Aprilgrid irregular black and white checkered pattern is located is calculated by using the intrinsic and extrinsic matrix of the monocular camera through the conversion from the world coordinate system to the camera coordinate system and then to the image coordinate system; Among them, the image preprocessing steps of the wearable Aprilgrid irregular black and white checkered pattern are: 1) Grayscale: Using the linear grayscale method, the values ​​of the RGB channels are added in a certain proportion to obtain the grayscale value, and then the color information is removed to convert the image into a grayscale image; 2) Noise reduction: The pixel value is replaced by the value of the surrounding neighborhood through filtering, thereby removing the noise in the image; 3) Contrast enhancement: Linear stretching, which enhances the image contrast by stretching the pixel value range of the image; 4) Image segmentation: Set the threshold, set the pixels with grayscale values ​​higher than the threshold to white, and set the pixels with grayscale values ​​lower than the threshold to black, segment the Aprilgrid black and white grid in the image, and identify and sequence the corner points of the Aprilgrid irregular black and white grid; Among them, the formula and steps for calculating the displacement of the human arm where the wearable Aprilgrid irregular black and white checkered pattern is located using the spatial coordinate system transformation are: 1) The camera intrinsic parameter matrix is ​​expressed as:

[0028] Among them, ƒ x and y is the focal length of the camera, c x and cy are the coordinates of the principal point of the image; 2) The extrinsic parameter matrix of the monocular camera represents the position and orientation of the camera in the world coordinate system, expressed as a rotation matrix R and a translation vector T, combined into an extrinsic parameter matrix [R|T]; 3) Coordinate transformation formula: Assume that the coordinates of the two points on the human arm where the wearable Aprilgrid irregular black and white checkered pattern is located in the world coordinate system are:

[0029] First, transform the point in the world coordinate system to the camera coordinate system:

[0030] Then project the point in the camera coordinate system onto the image plane to get the point in the image coordinate system:

[0031] Where (u, v) is the pixel coordinate in the image coordinate system, and K is the camera intrinsic parameter matrix; 4) Calculate displacement: For the two points P1 and P2, the pixel coordinates (u1, v1) and (u2, v2) in the image coordinate system, calculate their actual displacement; The actual displacement is calculated by the pixel coordinate difference and the camera scale factor, that is:

[0032] The scale factor is determined according to the camera parameters and the actual scene.

[0033] In practical applications, the human body posture finally estimated by the above method can be further compared with the correct demonstration action in the visual interface to provide error correction prompts.

Claims

1. A human posture estimation method based on Aprilgrid irregular black and white grid dataset, characterized by include: The monocular camera obtains a video stream containing the wearable Aprilgrid irregular black and white grid pattern worn by a human body. The wearable Aprilgrid irregular black and white grid pattern is subjected to image preprocessing, and the corner points of the Aprilgrid irregular black and white grid are identified and sequenced. Using N patterns randomly selected from the Aprilgrid irregular black and white grid dataset, the corner points are identified and sequenced after image preprocessing, and a dataset is established. The CNN architecture model is trained through the dataset through convolutional neural network feature extraction, and optimized using the mean square error loss function and stochastic gradient descent optimization algorithm. The model training process is monitored to ensure model convergence; After the serial numbers corresponding to the corner points of all patterns in each frame correspond to the corner point positions, the corresponding pixel coordinates are read, and the displacement of the human body part where the wearable Aprilgrid irregular black and white checkered pattern is located is calculated by using the intrinsic and extrinsic matrix of the monocular camera through the conversion from the world coordinate system to the camera coordinate system and then to the image coordinate system; Among them, the image preprocessing steps of the wearable Aprilgrid irregular black and white checkered pattern are: 1) Grayscale: Using the linear grayscale method, the values ​​of the RGB channels are added in a certain proportion to obtain the grayscale value, and then the color information is removed to convert the image into a grayscale image; 2) Noise reduction: The pixel value is replaced by the value of the surrounding neighborhood through filtering, thereby removing the noise in the image; 3) Contrast enhancement: Linear stretching, which enhances the image contrast by stretching the pixel value range of the image; 4) Image segmentation: Set the threshold, set the pixels with grayscale values ​​higher than the threshold to white, and set the pixels with grayscale values ​​lower than the threshold to black, segment the Aprilgrid black and white grid in the image, and identify and sequence the corner points of the Aprilgrid irregular black and white grid; The formula and steps for calculating the displacement of the human body part where the wearable Aprilgrid irregular black and white checkered pattern is located by using the spatial coordinate system transformation are as follows: 1) The camera intrinsic parameter matrix is ​​expressed as: ; in, ƒ x and ƒ y is the focal length of the camera, C x and C y are the coordinates of the principal point of the image; 2) The extrinsic parameter matrix of the monocular camera represents the position and orientation of the camera in the world coordinate system, expressed as a rotation matrix R and a translation vector T, combined into an extrinsic parameter matrix [R|T]; 3) Coordinate transformation formula: Assume that the coordinates of the two points on the human body where the wearable Aprilgrid irregular black and white checkered pattern is located in the world coordinate system are: ; First, transform the point in the world coordinate system to the camera coordinate system: ; Then project the point in the camera coordinate system onto the image plane to get the point in the image coordinate system: ; Where (u, v) is the pixel coordinate in the image coordinate system, and K is the camera intrinsic parameter matrix; 4) Calculate displacement: For the two points P1 and P2, the pixel coordinates (u1, v1) and (u2, v2) in the image coordinate system, calculate their actual displacement; The actual displacement is calculated by the pixel coordinate difference and the camera scale factor, that is: ; The scale factor is determined according to the camera parameters and the actual scene.