Human body posture key point identification method and device for auxiliary rehabilitation exercise

By using human detection algorithms and high-resolution convolutional neural networks to identify key points of human posture during rehabilitation exercises, the problem of inability to accurately identify human posture in the existing technology is solved, improving the rehabilitation effect, reducing the burden on medical care and reducing costs. .

CN118570838AInactive Publication Date: 2024-08-30BEIJING UNION UNIVERSITY

Patent Information

Application Number
CN202410601357.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-15
Publication Date
2024-08-30
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing rehabilitation exercises cannot accurately identify key points of human body posture, resulting in reduced rehabilitation effects, reliance on professional doctors and expensive treatment costs, and difficulty in evaluating the effects of rehabilitation training, which increases medical care burden and labor costs.

Method used

Using a human posture key point identification method based on video images for assisted rehabilitation exercises, real-time acquisition and processing of images through human body detection algorithms and high-resolution multi-channel convolutional neural networks, identifying key points of the human body, constructing a skeletal framework, and judging motion status and Whether the posture is correct and output real-time feedback and guidance.

Benefits of technology

It improves the accuracy and speed of human posture recognition, reduces the burden of medical care, reduces labor costs, and enables monitoring of rehabilitation movements and generation of detailed reports without the assistance of others.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118570838A
    Figure CN118570838A
Patent Text Reader

Abstract

The invention discloses an auxiliary rehabilitation exercise-oriented human body posture key point identification method and device. The method comprises the following steps of: acquiring a video image of human body motion in real time and converting the video image into a sequence image of continuous motion; for each frame of sequence image, identifying and positioning a human body part in the image through a human body detection algorithm, and removing redundant detection frames with low confidence through non-maximum suppression; cutting the detected human body part from the sequence image to serve as a region of interest for preprocessing, and then carrying out human body key point detection to obtain key point position information; meanwhile, the detected key points are connected to obtain a human skeleton framework; comparing the key point information required by different motion states with the key point position information, judging whether the motion state of the user and the corresponding motion posture in the motion state are correct or not and whether the motion is standard or not, and obtaining a judgment result; according to the invention, the detection speed and accuracy are improved, and the labor cost is greatly reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of human body posture recognition, and in particular relates to a human body posture key point recognition method and device for auxiliary rehabilitation exercise. Background Art

[0002] The method of using appropriate, directional or targeted body movements to help the body return to normal is called rehabilitation exercise. If the key points of the human body's posture cannot be accurately identified during rehabilitation exercises, the rehabilitation effect will be greatly reduced, or even have the opposite effect. Therefore, current rehabilitation exercises mostly rely on professional doctors. Specifically, the patient's body functions are restored by completing designated rehabilitation movements under the guidance of professional therapists with the help of auxiliary equipment. The patient's rehabilitation exercises are limited to hospitals or rehabilitation centers. The treatment cost is expensive, the treatment process is monotonous, and the rehabilitation training effect is difficult to evaluate. Therefore, it is urgent to propose a method and device for recognizing key points of human body posture for auxiliary rehabilitation exercises to accurately recognize the movement posture of rehabilitation patients in real time, ensure recognition accuracy and recognition speed, and reduce the burden of medical care and labor costs. Summary of the invention

[0003] In order to solve the above technical problems, the present invention provides a method and device for recognizing key points of human body posture for auxiliary rehabilitation exercise. Among them, a method for recognizing key points of human body posture for auxiliary rehabilitation exercise includes:

[0004] Collecting video images of human body movements in real time based on different types of movements, and converting the video images of human body movements into a sequence of images of continuous movement;

[0005] For each frame of the sequence image, the human body part in the image is identified and located through the human body detection algorithm, and the redundant detection frames with low confidence are removed through non-maximum suppression;

[0006] The detected human body part is cut out from the sequence image as a region of interest for preprocessing, and the preprocessed region of interest is subjected to human body key point detection to obtain key point position information; and the detected key points are connected to obtain a human body skeleton framework;

[0007] Compare the key point information required for different motion states with the key point position information to determine whether the user's motion state and the corresponding motion posture in the motion state are correct and whether the action is standard, and obtain a determination result;

[0008] The human skeleton framework and the judgment result are output to a display for display, and real-time feedback and guidance are provided to the user.

[0009] Preferably, the process of identifying and locating the human body part in each frame of the sequence image by using a human body detection algorithm, and removing redundant detection frames with low confidence by non-maximum suppression includes:

[0010] After reading the sequence images frame by frame, they are fed into a convolutional neural network for feature extraction to obtain a candidate human body detection frame including position prediction information and confidence prediction information;

[0011] Selecting a detection frame with the highest confidence from the candidate human body detection frames to obtain a final detection frame set;

[0012] Traverse the remaining detection frames in the candidate human detection frame, calculate the overlap between the remaining detection frames and the detection frame with the highest confidence, and if the overlap exceeds the preset threshold, delete the remaining detection frames from the candidate human detection frame, and repeat the iteration until the candidate human detection frame is empty.

[0013] Preferably, the process of cutting out the detected human body part from the sequence of images to obtain the region of interest includes:

[0014] Convert the midpoint information and width and height information in the candidate human body detection frame into upper left point information and lower right point information, link the upper left point and lower right point to form a rectangular area, and copy the rectangular area as the candidate region of interest;

[0015] Multiply the height and width of the candidate region of interest, and retain the candidate region of interest with the largest multiplied area as the region of interest;

[0016] The region of interest includes the complete outline and moving parts of the human body.

[0017] Preferably, preprocessing the region of interest includes performing binarization processing, normalization processing and affine transformation on the region of interest.

[0018] Preferably, the process of performing human key point detection on the preprocessed region of interest to obtain key point position information and connecting the detected key points to obtain a human skeleton framework includes:

[0019] The preprocessed region of interest is predicted through a high-resolution multi-channel convolutional neural network to obtain the location and confidence of key points of the human body;

[0020] The key points are selected according to the confidence level, and the key points are connected based on the kinematic prior spatial relationship of various parts of the body to obtain a human skeleton framework.

[0021] Preferably, the process of predicting the preprocessed region of interest by a high-resolution multi-channel convolutional neural network to obtain the position and confidence of the key points of the human body includes:

[0022] The preprocessed region of interest is converted into a detection heat map of human key points through a high-resolution multi-channel convolutional neural network, and the position and confidence of the human key points are predicted based on the classification result and confidence prediction information contained in each pixel in the detection heat map.

[0023] Preferably, the process of selecting key points according to the confidence level includes:

[0024] According to the confidence level, the position of the maximum value of the prediction information corresponding to each key point is obtained, and the score values ​​of the pixels on the left and right sides of the maximum value are compared. The key point is offset by 0.25 pixels in the direction of the larger key point value on the left and right sides to obtain the final key point.

[0025] Preferably, the key point information required for the different motion states includes but is not limited to relative position information of the key points, angle information between the key points, and distance information between the key points.

[0026] Preferably, the process of judging whether the user's motion state and the corresponding motion posture in the motion state are correct and whether the action is standard includes: judging the position information of key points, judging the angle information of the skeleton, and judging the motion state;

[0027] Among them, determining the position information of the key points includes determining whether the nose is higher than the left and right wrists, and whether the left and right elbows are lower than the shoulders;

[0028] Determining the angle information of the skeleton includes determining whether the angle of the skeleton composed of the wrist, elbow and shoulder is less than 45 degrees; determining whether the angle of the skeleton composed of the ankle, knee and hip is between 150 degrees and 180 degrees;

[0029] The process of judging the motion state includes: judging whether the skeleton framework information satisfies the position information conditions of the key points and the skeleton angle information conditions at the same time. If both conditions are satisfied, it is a pulled-up state. If both conditions are not satisfied, it is a non-pulled-up state. If the continuous motion sequence goes through two states in sequence, the count is increased by one.

[0030] The present invention also provides a human body posture key point recognition device for auxiliary rehabilitation exercise, comprising:

[0031] An image acquisition module, used for acquiring video images of human body motion in real time according to different motion types, and converting the video images of human body motion into a sequence of images of continuous motion;

[0032] A human candidate frame detection module is connected to the image acquisition module and is used to identify and locate the human body part in each frame of the sequence image through a human detection algorithm, and remove redundant detection frames with low confidence through non-maximum suppression;

[0033] An area of ​​interest selection module, connected to the human candidate frame detection module, is used to crop the detected human body part from the sequence of images to obtain an area of ​​interest;

[0034] A human key point detection and construction module is connected to the region of interest selection module and is used to preprocess the region of interest, perform human key point detection on the preprocessed region of interest, and obtain key point position information; at the same time, the detected key points are connected to obtain a human skeleton framework;

[0035] The motion state analysis and tracking module is connected to the human body key point detection and construction module, and is used to compare the key point information required for different motion states with the key point position information, judge whether the user's motion state and the corresponding motion posture in the motion state are correct, and whether the motion is standard, and obtain a judgment result;

[0036] The motion detailed data generation module is connected to the motion state analysis and tracking module, and is used to output the human skeleton framework and the judgment result to a display for display, and to provide real-time feedback and guidance to the user.

[0037] Compared with the prior art, the present invention has the following advantages and technical effects:

[0038] The present invention controls an optical high-definition camera to collect human image data in real time, performs human candidate frame detection for each frame of image, finds the area of ​​interest, and then identifies the key points of the human body, which can greatly reduce the time spent on reasoning and improve its accuracy. Based on the optimized results, the human skeleton framework is constructed for the key points of the human body according to the prior knowledge of human kinematics. The image sequence input from the camera is used to monitor the movement of a single person based on the judgment of the key points of the human body using continuous image input. Based on the visual perception results obtained through the above steps, the detailed information of the exercise performed by the rehabilitator and the non-standard postures that appear are counted and prompted, and finally a detailed exercise report is generated and exercise suggestions are given to perform burden-free rehabilitation exercises.

[0039] The present invention combines human body detection and human body key points at the same time. The incoming high-resolution image is input into the human body detection model to find the area of ​​interest, and then input into the human body key point detection model, which greatly reduces the number of image pixels for human body key point reasoning and improves the detection speed and accuracy.

[0040] The present invention utilizes non-contact equipment to achieve motion assistance for rehabilitation people and can realize remote non-sensing monitoring.

[0041] The present invention can automatically generate a movement detail report based on the monitoring results of the non-contact device, so that the patient can understand the details of his or her own movement and his or her own recovery status without the assistance of others, and can also reduce the burden of medical care and labor costs. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] The drawings constituting a part of the present application are used to provide a further understanding of the present application. The illustrative embodiments and descriptions of the present application are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0043] Figure 1 It is a flow chart of a method for recognizing key points of human posture for auxiliary rehabilitation exercise according to an embodiment of the present invention;

[0044] Figure 2 A schematic diagram of the position distribution and connection of key points of a human body according to an embodiment of the present invention;

[0045] Figure 3 This is a schematic diagram of arm angles and knee angles according to an embodiment of the present invention;

[0046] Figure 4 The module structure diagram of the human body posture key point recognition system for auxiliary rehabilitation exercise according to an embodiment of the present invention. DETAILED DESCRIPTION

[0047] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0048] It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and that, although a logical order is shown in the flowcharts, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0049] Embodiment 1

[0050] like Figure 1-3 As shown, in this embodiment, a method for recognizing key points of human body posture for auxiliary rehabilitation exercise is provided, comprising the following steps:

[0051] Step S1, the user is ready in the specified exercise area, presses to select the type of exercise, presses the exercise start button, and the system automatically turns on the camera;

[0052] Step S2, the system starts to collect human image data in real time, and converts the collected human motion video into a sequence of images of continuous motion;

[0053] Step S3: for each frame of image, the system uses a human body detection algorithm to identify and locate the human body parts in the image, and removes redundant detection frames with low confidence by non-maximum suppression;

[0054] Step S4, for each detected human body part, the system will crop it from the original image as a region of interest, and the region of interest contains the complete outline and moving parts of the human body;

[0055] Step S5, preprocessing each region of interest, detecting key points of the human body on the preprocessed region of interest, and obtaining key point position information; at the same time, connecting the detected key points into a human skeleton framework to describe the posture and motion state of the human body;

[0056] Step S6, using the detected key point position information of the region of interest, calculate the relative position information of the key points required for judging the motion state, the angle information between the key points, and the distance information between the key points to judge whether the user is in a certain state of motion, whether the posture is correct, and whether the action is standard;

[0057] Step S7, displaying the analyzed skeleton frame, motion state and motion result on the image, and outputting them to the display of the device so that the user can provide real-time feedback and guidance;

[0058] Step S8, after processing each frame, the system detects whether the user presses the end key. If so, the exercise ends. When the exercise ends, the system outputs detailed exercise information, including exercise time, posture evaluation, suggested improvements, etc., for the user to refer to and record. If the user does not press the end key, the system will continue to process the next frame of the image sequence according to the above steps until the user chooses to end the exercise.

[0059] Step S9, through the exercise results obtained in the above steps, the detailed information of the exercise performed by the rehabilitator and the non-standard postures that occur are counted and prompted, and finally a detailed exercise report is generated and exercise suggestions are given.

[0060] Furthermore, step S3 is specifically implemented by the following sub-steps:

[0061] (3.1) The system predicts the position and confidence of the candidate human detection frame: the captured image is input into the system, the system reads the image frame by frame and enters the convolutional neural network for feature extraction, and finds the candidate human detection frame in the original image. Each candidate human detection frame includes two types of prediction information: position and confidence; (3.2) Non-maximum suppression is used to remove duplicate detection frames: the detection frame s with the highest confidence is selected from the candidate human detection frame set N, and it is put into the final detection frame set S. The remaining detection frames n in the candidate human detection frame set N are traversed, and the overlap between the remaining detection frames n and the detection frame s with the highest confidence is calculated. If the overlap exceeds the threshold, the remaining detection frames n are deleted from the candidate human detection frame set N. The above steps are repeated multiple times until the candidate human detection frame set N is empty.

[0062] Furthermore, step S4 is specifically implemented by the following sub-steps:

[0063] (4.1) According to the midpoint and width and height information of each retained candidate human body detection frame, convert it into the information of the upper left point and the lower right point, link the two points into a rectangle and copy this area as the candidate region of interest;

[0064] (4.2) Selecting a region of interest from multiple candidate regions of interest: multiplying the height and width of the candidate regions of interest, and retaining the candidate region of interest with the largest multiplied area as the region of interest;

[0065] Furthermore, if Figure 2 As shown, step S5 is specifically implemented by the following sub-steps:

[0066] (5.1) Preprocess the region of interest: binarize, normalize and perform affine transformation on the region of interest.

[0067] (5.2) The system predicts the location and confidence of key points of the human body: The region of interest is input into the system, which reads the image and converts the region of interest into a detection heat map of key points of the human body through a high-resolution multi-channel convolutional neural network. Each pixel in the detection heat map contains two types of prediction information: classification result and confidence.

[0068] (5.3) Filter key points based on confidence: Then find the maximum value of the prediction information corresponding to each key point, that is, the position with the largest prediction score. After finding the position, compare the score values ​​of the pixels on the left and right sides. The key point is offset by 0.25 pixels to the key point with the larger value on the left and right sides.

[0069] (5.4) Connecting the human skeleton framework: Based on the key point information of the region of interest, a set of human skeleton frameworks are connected based on the kinematic prior spatial relationship of each part of the body.

[0070] Furthermore, if Figure 3 As shown, step S6 is specifically implemented by the following sub-steps (taking pull-ups as an example):

[0071] (6.1) Determine the position information of key points: determine whether the nose is higher than the left and right wrists, and whether the left and right elbows are lower than the shoulders.

[0072] (6.2) Determine the angle information of the skeleton: Determine whether the angle of the skeleton composed of the wrist, elbow and shoulder is less than 45 degrees; determine whether the angle of the skeleton composed of the ankle, knee and hip is between 150 degrees and 180 degrees.

[0073] (6.3) Determine the motion state: If the skeleton frame information satisfies both of the above conditions, it is in the pulled-up state; if it does not satisfy both of the above conditions, it is in the non-pulled-up state. If the continuous motion sequence goes through two states in sequence, the count is increased by one.

[0074] Embodiment 2

[0075] Taking the pull-up exercise as an example, the human body posture key point recognition method for auxiliary rehabilitation exercise provided in this embodiment includes:

[0076] Step 1: User activity selection;

[0077] The user gets ready in the designated exercise area, presses to select the type of exercise, and presses the exercise start button, and the system automatically turns on the optical high-definition camera.

[0078] Step 2: Collect human body image data;

[0079] The system will use an optical high-definition camera to collect human image data in real time and convert the collected human motion video into a sequence of continuous motion images.

[0080] Step 3: Identify the human body detection frame;

[0081] For each frame of the image, the system uses a human detection algorithm to identify and locate the human body parts in the image, and removes redundant detection frames with low confidence through non-maximum suppression.

[0082] Step 3 is implemented through the following sub-steps:

[0083] (3.1) The system predicts the position and confidence of the candidate box: the collected color image is input into the yolov9 network based on the pytorch framework, all the human candidate boxes in the image are located, and the position information and confidence of each human candidate box are output. The coordinate value of the candidate box in the pixel coordinate system is regarded as the position information, and the confidence of each candidate box is a two-digit decimal between 0 and 1;

[0084] (3.2) Use non-maximum suppression to remove duplicate detection frames: Set the confidence threshold to 0.25 and the IOU threshold to 0.45. Select the detection frame s with the highest confidence from the candidate detection frame set N and put it into the final detection frame set S. Traverse the remaining detection frames n in the candidate detection frame set N and calculate the overlap between the remaining detection frames n and the detection frame s with the highest confidence. If the overlap exceeds the threshold, delete the remaining detection frame n from the candidate detection frame set N. Repeat the above steps multiple times until the candidate detection frame set N is empty.

[0085] Step 4: Find the region of interest from the candidate box;

[0086] For each detected person, the system will crop a region of interest from the original image that contains the complete outline and moving parts of the person.

[0087] Step 4 is implemented through the following sub-steps:

[0088] (4.1) Find the candidate ROI: Take each candidate box that has been suppressed by non-maximum as a candidate ROI, convert the position information of each candidate box from (x, y, w, h) to the coordinate information of two points (x1, y1) (x2, y2), and then connect them into a rectangle to obtain the candidate box area in array form;

[0089] (4.2) Take the candidate ROI with the largest area as the ROI: take the first two dimensions (height and width) of the candidate ROI and multiply them to get the pixel area, then compare the pixel areas occupied by each candidate ROI, and take the candidate ROI with the largest area as the ROI.

[0090] Step 5: Preprocessing, human key point detection and skeleton connection;

[0091] Each region of interest is preprocessed, including normalization and binarization. The preprocessed region of interest is subjected to human key point detection, and the detected key points are connected to the human skeleton framework to describe the posture and motion state of the human body.

[0092] Step 5 is implemented through the following sub-steps:

[0093] (5.1) Normalize the input region of interest, normalize the pixel value from 0-255 to 0-1, and subtract 0.485, 0.456, and 0.406 from each pixel value of the three channels respectively, and then divide them by 0.229, 0.224, and 0.225 to obtain a normalized, binary three-dimensional array;

[0094] (5.2) The three-dimensional array obtained after processing the region of interest is input into the HRNet network based on PyTorch. After the high-resolution multi-channel convolutional neural network, the key point information is obtained to detect whether the 17 key points including the nose, left and right eyes, left and right ears, left and right shoulders, left and right elbows, left and right wrists, left and right hips, left and right knees and left and right ankles are included;

[0095] (5.3) Find the confidence of a key point, observe the confidence of the pixels above, below, left and right, and if it is offset by 0.25 pixels in the direction with greater confidence;

[0096] (5.4) Connect the 17 detected key points into the human skeleton framework, such as Figure 2 ;

[0097] Step 6: Determine the motion status;

[0098] The detected key point position information of the area of ​​interest is used to calculate the relative position information of the key points required for judging the motion state, the angle information between the key points, and the distance information between the key points to judge the user's motion state.

[0099] like Figure 3 As shown, step six is ​​implemented through the following sub-steps:

[0100] (6.1) Extract the required key points and key point location information from the skeleton;

[0101] (6.2) Construct the wrist, elbow, shoulder triangle and the hip, knee, ankle triangle as the arm angle and knee angle;

[0102] (6.3) Calculate the height between the nose and the left and right wrists, the height between the left and right elbows and the left and right shoulders, and calculate the arm angle and knee angle;

[0103] (6.4) If the nose is higher than the left and right wrists, the left and right elbows are lower than the shoulders, the arm angle is less than 45 degrees, and the knee angle is between 150-180 degrees, it is judged as the pulled-up state. If the above two conditions are not met, it is the non-pulled-up state. If the continuous motion sequence goes through two states in sequence, the count is increased by one. If the above conditions are not met, no count is performed. If the knee angle is less than 150 degrees, the user is prompted not to curl up his legs.

[0104] Step 7: Real-time display;

[0105] The analyzed skeletal frame, motion status and counting information are displayed on the image, and prompt information is output to the device's display so that the user can receive real-time feedback and guidance.

[0106] Step 8: Determine whether the process is finished and output motion information;

[0107] After processing each frame, the system detects whether the user presses the end key. If the end key is pressed, the exercise ends. When the exercise ends, the system may output detailed exercise information, including exercise time, posture evaluation, recommended improvements, etc., for the user to refer to and record. If the user does not press the end key, the system will continue to process the next frame of the image sequence according to the above steps until the user chooses to end the exercise.

[0108] Step 9: Movement details and movement report generation;

[0109] Based on the exercise results obtained through the above steps, the detailed information of the rehabilitation person's exercise and the non-standard postures that occur are counted and prompted, and finally a detailed exercise report is generated and exercise suggestions are given.

[0110] Embodiment 3

[0111] like Figure 4 As shown, this embodiment also provides a method for recognizing key points of human body posture for auxiliary rehabilitation exercise, including:

[0112] An image acquisition module is used to acquire video images of human motion in real time based on different types of motion, and convert the video images of human motion into a sequence of images of continuous motion;

[0113] The human candidate frame detection module is connected to the image acquisition module and is used to identify and locate the human body parts in each frame of the sequence image through the human detection algorithm, and remove redundant detection frames with low confidence through non-maximum suppression;

[0114] The region of interest selection module is connected to the human candidate frame detection module and is used to crop the detected human body parts from the sequence images to obtain the region of interest;

[0115] The human key point detection and construction module is connected to the region of interest selection module, and is used to pre-process the region of interest, perform human key point detection on the pre-processed region of interest, and obtain key point position information; at the same time, the detected key points are connected to obtain the human skeleton framework;

[0116] The motion state analysis and tracking module is connected to the human key point detection and construction module, and is used to compare the key point information required for different motion states with the key point position information, judge whether the user's motion state and the corresponding motion posture in the motion state are correct, and whether the action is standard, and obtain the judgment result;

[0117] The motion detailed data generation module is connected to the motion state analysis and tracking module, and is used to output the human skeleton framework and judgment results to the display for display, and provide real-time feedback and guidance to the user.

[0118] The above are only preferred specific implementations of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A human body posture key point recognition method for assisted rehabilitation exercise, It is characterized in that include: Collecting video images of human body movements in real time based on different types of movements, and converting the video images of human body movements into a sequence of images of continuous movement; For each frame of the sequence image, the human body part in the image is identified and located through the human body detection algorithm, and the redundant detection frames with low confidence are removed through non-maximum suppression; Cutting out the detected human body part from the sequence of images as a region of interest for preprocessing, and performing human body key point detection on the preprocessed region of interest to obtain key point position information; At the same time, the detected key points are connected to obtain the human skeleton framework; Compare the key point information required for different motion states with the key point position information to determine whether the user's motion state and the corresponding motion posture in the motion state are correct and whether the action is standard, and obtain a determination result; The human skeleton framework and the judgment result are output to a display for display, and real-time feedback and guidance are provided to the user.

2. The method for recognizing key points of human posture for assisted rehabilitation exercise according to claim 1, It is characterized in that The process of identifying and locating the human body parts in each frame of the sequence image through the human body detection algorithm and removing redundant detection frames with low confidence through non-maximum suppression includes: After reading the sequence images frame by frame, they are fed into a convolutional neural network for feature extraction to obtain a candidate human body detection frame including position prediction information and confidence prediction information; Selecting a detection frame with the highest confidence from the candidate human body detection frames to obtain a final detection frame set; Traverse the remaining detection frames in the candidate human detection frame, calculate the overlap between the remaining detection frames and the detection frame with the highest confidence, and if the overlap exceeds the preset threshold, delete the remaining detection frames from the candidate human detection frame, and repeat the iteration until the candidate human detection frame is empty.

3. The method for recognizing key points of human posture for assisted rehabilitation exercise according to claim 1, It is characterized in that The process of cutting out the detected human body part from the sequence of images and obtaining the region of interest includes: Convert the midpoint information and width and height information in the candidate human body detection frame into upper left point information and lower right point information, link the upper left point and lower right point to form a rectangular area, and copy the rectangular area as the candidate region of interest; Multiply the height and width of the candidate region of interest, and retain the candidate region of interest with the largest multiplied area as the region of interest; The region of interest includes the complete outline and moving parts of the human body.

4. The method for recognizing key points of human posture for assisted rehabilitation exercise according to claim 1, It is characterized in that The preprocessing of the region of interest includes binarization, normalization and affine transformation of the region of interest.

5. The method for recognizing key points of human posture for assisted rehabilitation exercise according to claim 1, It is characterized in that The process of detecting key points of the human body in the preprocessed region of interest to obtain the key point location information and connecting the detected key points to obtain the human skeleton framework includes: The preprocessed region of interest is predicted through a high-resolution multi-channel convolutional neural network to obtain the location and confidence of key points of the human body; The key points are selected according to the confidence level, and the key points are connected based on the kinematic prior spatial relationship of various parts of the body to obtain a human skeleton framework.

6. The method for recognizing key points of human posture for assisted rehabilitation exercise according to claim 5, It is characterized in that The process of predicting the preprocessed region of interest through a high-resolution multi-channel convolutional neural network and obtaining the position and confidence of the key points of the human body includes: The preprocessed region of interest is converted into a detection heat map of human key points through a high-resolution multi-channel convolutional neural network, and the position and confidence of the human key points are predicted based on the classification result and confidence prediction information contained in each pixel in the detection heat map.

7. The method for recognizing key points of human posture for assisted rehabilitation exercise according to claim 5, It is characterized in that The process of selecting key points according to the confidence level includes: According to the confidence level, the position of the maximum value of the prediction information corresponding to each key point is obtained, and the score values ​​of the pixels on the left and right sides of the maximum value are compared. The key point is offset by 0.25 pixels in the direction of the larger key point value on the left and right sides to obtain the final key point.

8. The method for recognizing key points of human posture for assisted rehabilitation exercise according to claim 1, It is characterized in that The key point information required for different motion states includes, but is not limited to, relative position information of key points, angle information between key points, and distance information between key points.

9. The method for recognizing key points of human posture for assisted rehabilitation exercise according to claim 1, It is characterized in that The process of judging the user's motion state and whether the corresponding motion posture in the motion state is correct and whether the action is standard includes: judging the position information of key points, judging the angle information of the skeleton, and judging the motion state; Among them, determining the position information of the key points includes determining whether the nose is higher than the left and right wrists, and whether the left and right elbows are lower than the shoulders; Determining the angle information of the skeleton includes determining whether the angle of the skeleton composed of the wrist, elbow and shoulder is less than 45 degrees; determining whether the angle of the skeleton composed of the ankle, knee and hip is between 150 degrees and 180 degrees; The process of judging the motion state includes: judging whether the skeleton framework information satisfies the position information conditions of the key points and the skeleton angle information conditions at the same time. If both conditions are satisfied, it is a pulled-up state. If both conditions are not satisfied, it is a non-pulled-up state. If the continuous motion sequence goes through two states in sequence, the count is increased by one.

10. A human body posture key point recognition device for assisted rehabilitation exercise, It is characterized in that include: An image acquisition module, used for acquiring video images of human body motion in real time according to different motion types, and converting the video images of human body motion into a sequence of images of continuous motion; A human candidate frame detection module is connected to the image acquisition module and is used to identify and locate the human body part in each frame of the sequence image through a human detection algorithm, and remove redundant detection frames with low confidence through non-maximum suppression; An area of ​​interest selection module, connected to the human candidate frame detection module, is used to crop the detected human body part from the sequence of images to obtain an area of ​​interest; A human key point detection and construction module is connected to the region of interest selection module and is used to preprocess the region of interest, perform human key point detection on the preprocessed region of interest, and obtain key point position information; at the same time, the detected key points are connected to obtain a human skeleton framework; The motion state analysis and tracking module is connected to the human body key point detection and construction module, and is used to compare the key point information required for different motion states with the key point position information, judge whether the user's motion state and the corresponding motion posture in the motion state are correct, and whether the motion is standard, and obtain a judgment result; The motion detailed data generation module is connected to the motion state analysis and tracking module, and is used to output the human skeleton framework and the judgment result to a display for display, and to provide real-time feedback and guidance to the user.

Citation Information

Patent Citations

  • Posture recognition method and device, electronic equipment and storage medium

    CN110728209A

  • Image recognition method and device based on artificial intelligence

    CN113705294A

  • Human body posture recognition method and system based on key point detection technology

    CN114067358A

  • Intelligent exercise assisting method and device for figure skating exercise

    CN115205744A

  • Skeleton key point non-maximum suppression algorithm for multi-person whole body key attitude estimation

    CN115984899A

Cited By

  • Method and device for controlling distributed display equipment and readable medium

    CN119166089A

  • A method, apparatus and readable medium for controlling a distributed display device

    CN119166089B

  • Cardiopulmonary resuscitation action video processing method and device and computing equipment

    CN119649471A

  • Control system of massage equipment and massage equipment

    CN122653038A

  • A control system for a massage device and a massage device

    CN122653038B