CN119274747B - Rehabilitation training evaluation method and device, electronic equipment and storage medium - Google Patents

Rehabilitation training evaluation method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN119274747B
CN119274747B CN202411804945.9A CN202411804945A CN119274747B CN 119274747 B CN119274747 B CN 119274747B CN 202411804945 A CN202411804945 A CN 202411804945A CN 119274747 B CN119274747 B CN 119274747B
Authority
CN
China
Prior art keywords
rehabilitation
evaluation
action
practitioner
rehabilitation training
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202411804945.9A
Other languages
Chinese (zh)
Other versions
CN119274747A (en
Inventor
董文兴
李铁锋
孙强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Tianxing Medical Co ltd
Original Assignee
Beijing Tianxing Medical Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Tianxing Medical Co ltd filed Critical Beijing Tianxing Medical Co ltd
Priority to CN202411804945.9A priority Critical patent/CN119274747B/en
Publication of CN119274747A publication Critical patent/CN119274747A/en
Application granted granted Critical
Publication of CN119274747B publication Critical patent/CN119274747B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16HHEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
    • G16H20/00ICT specially adapted for therapies or health-improving plans, e.g. for handling prescriptions, for steering therapy or for monitoring patient compliance
    • G16H20/30ICT specially adapted for therapies or health-improving plans, e.g. for handling prescriptions, for steering therapy or for monitoring patient compliance relating to physical therapies or activities, e.g. physiotherapy, acupressure or exercising
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/70Arrangements for image or video recognition or understanding using pattern recognition or machine learning
    • G06V10/74Image or video pattern matching; Proximity measures in feature spaces
    • G06V10/761Proximity, similarity or dissimilarity measures
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/70Arrangements for image or video recognition or understanding using pattern recognition or machine learning
    • G06V10/77Processing image or video features in feature spaces; using data integration or data reduction, e.g. principal component analysis [PCA] or independent component analysis [ICA] or self-organising maps [SOM]; Blind source separation
    • G06V10/776Validation; Performance evaluation
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/20Movements or behaviour, e.g. gesture recognition
    • G06V40/23Recognition of whole body movements, e.g. for sport training
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • General Health & Medical Sciences (AREA)
  • Multimedia (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Medical Informatics (AREA)
  • Evolutionary Computation (AREA)
  • Software Systems (AREA)
  • Databases & Information Systems (AREA)
  • Computing Systems (AREA)
  • Artificial Intelligence (AREA)
  • Human Computer Interaction (AREA)
  • Social Psychology (AREA)
  • Psychiatry (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Biophysics (AREA)
  • Physical Education & Sports Medicine (AREA)
  • Epidemiology (AREA)
  • Primary Health Care (AREA)
  • Public Health (AREA)
  • Rehabilitation Tools (AREA)

Abstract

本申请提供一种康复训练的评估方法、装置、电子设备及存储介质,涉及康复器械技术领域,方法包括响应康复训练评估请求,确定康复训练评估请求所指示的目标康复训练;基于目标康复训练的类型,确定所要执行的康复动作执行阶段检测规则;针对获取到的练习者的康复动作帧图像,按照确定出的康复动作执行阶段检测规则,确定练习者的康复动作执行阶段;当练习者的康复动作执行阶段满足评估条件时,则确定康复动作帧图像对应的实时动作评估值并反馈给练习者。用以提高对练习者康复训练的动作评估的精确性。

The present application provides a rehabilitation training evaluation method, device, electronic device and storage medium, which relates to the field of rehabilitation equipment technology. The method includes responding to a rehabilitation training evaluation request, determining the target rehabilitation training indicated by the rehabilitation training evaluation request; determining the rehabilitation action execution stage detection rule to be executed based on the type of the target rehabilitation training; determining the rehabilitation action execution stage of the practitioner according to the determined rehabilitation action execution stage detection rule for the acquired rehabilitation action frame image of the practitioner; when the rehabilitation action execution stage of the practitioner meets the evaluation conditions, determining the real-time action evaluation value corresponding to the rehabilitation action frame image and feeding it back to the practitioner. It is used to improve the accuracy of the action evaluation of the practitioner's rehabilitation training.

Description

Rehabilitation training evaluation method and device, electronic equipment and storage medium
Technical Field
The application relates to the technical field of rehabilitation instruments, in particular to a rehabilitation training evaluation method, a rehabilitation training evaluation device, electronic equipment and a storage medium.
Background
The technology is used for the related technology of rehabilitation therapy, and is realized based on the image human body key point detection technology aiming at the evaluation and correction of the actions of patients.
Since the exercise performed by the exerciser is completed within a period of time rather than an instant of time during rehabilitation training, the evaluation of the exercise's exercise standard should be based on the comprehensive evaluation of all the exercise states during the exercise execution time rather than considering only a certain key frame, so the determination of the evaluation period is important.
In addition, the exerciser can execute a certain rehabilitation action within a relatively fixed time period, so that the use feeling of the exerciser is reduced, and the rehabilitation enthusiasm of the exerciser is influenced. And if the patient finishes the rehabilitation action to be executed in advance or does not finish the rehabilitation action in the time period, the evaluation result is greatly influenced, so that the accurate determination of the rehabilitation action evaluation time period on the basis of no sense of a user is important.
Disclosure of Invention
The embodiment of the application aims to provide a rehabilitation training evaluation method, a rehabilitation training evaluation device, electronic equipment and a storage medium, which are used for improving the accuracy of rehabilitation training evaluation by accurately recognizing actions of different stages of rehabilitation training of a trainer.
The invention provides a rehabilitation training evaluation method, which comprises the steps of responding to a rehabilitation training evaluation request, determining target rehabilitation training indicated by the rehabilitation training evaluation request, determining a rehabilitation action execution stage detection rule to be executed based on the type of the target rehabilitation training, determining a rehabilitation action execution stage of an exerciser according to the determined rehabilitation action execution stage detection rule aiming at an acquired rehabilitation action frame image of the exerciser, and determining a real-time action evaluation value corresponding to the rehabilitation action frame image and feeding back to the exerciser when the rehabilitation action execution stage of the exerciser meets evaluation conditions.
In an alternative embodiment, when the type of rehabilitation training is two-state rehabilitation training, the rehabilitation action execution stage comprises an evaluation stage and a non-evaluation stage, and for each acquired rehabilitation action frame image, the rehabilitation action execution stage of the exerciser is determined by extracting real-time coordinates of key points of the human body for the rehabilitation action frame image to calculate a first calculation similarity between the rehabilitation action of the exerciser and the rehabilitation action to be executed in the rehabilitation action frame image, determining whether the first calculation similarity is smaller than a first preset similarity, if so, determining the rehabilitation action execution stage of the exerciser as the non-evaluation stage, and if not, determining the rehabilitation action execution stage of the exerciser as the evaluation stage.
In an alternative embodiment, when the type of rehabilitation training is three-state rehabilitation training, the rehabilitation action execution stage comprises a non-evaluation stage, an evaluation preparation stage and an evaluation stage, and for each acquired frame of rehabilitation action image, the rehabilitation action execution stage of the exerciser is determined by extracting real-time coordinates of key points of a human body for the rehabilitation action frame image to calculate second calculation similarity between the rehabilitation action of the exerciser and the preparation action of the rehabilitation action to be executed in the rehabilitation action frame image, determining whether the second calculation similarity is greater than a second preset similarity, determining that the rehabilitation action execution stage of the exerciser is the non-evaluation stage if the second calculation similarity is less than the second preset similarity, determining that the rehabilitation action execution stage of the exerciser is the evaluation preparation stage if the second calculation similarity is greater than the second preset similarity, and calculating third calculation similarity between the rehabilitation action of the exerciser and the rehabilitation action to be executed in the rehabilitation action frame image if the third calculation similarity is less than the third preset similarity, and returning to execute the step of calculating the second calculation similarity if the third calculation similarity is greater than the third preset similarity, and determining that the rehabilitation action execution stage is the rehabilitation action is performed if the third calculation similarity is greater than the third preset similarity.
In an alternative embodiment, if the evaluation phase is exited, the step of computing a second computed similarity is returned to execution.
In an alternative embodiment, it is determined whether the rehabilitation activity performing phase of the exerciser meets the evaluation condition by determining that the rehabilitation activity performing phase of the exerciser meets the evaluation condition when the rehabilitation activity performing phase of the exerciser is the evaluation phase.
In an alternative embodiment, the method further comprises determining a final score of rehabilitation training to be performed by the exerciser based on the real-time motion evaluation values corresponding to all rehabilitation motion frame images of the rehabilitation stage.
In an alternative embodiment, the method further comprises determining and displaying rehabilitation training guidance information according to the score of the rehabilitation action to be executed by the exerciser.
In a second aspect, the present invention provides an assessment device for rehabilitation training, the device comprising:
The response module is used for responding to the rehabilitation training evaluation request and determining target rehabilitation training indicated by the rehabilitation training evaluation request;
the rule analysis module is used for determining a rehabilitation action execution stage detection rule to be executed based on the type of the target rehabilitation training;
The state analysis module is used for determining the rehabilitation action execution stage of the exerciser according to the determined rehabilitation action execution stage detection rule aiming at the acquired rehabilitation action frame image of the exerciser;
And the evaluation module is used for determining a real-time action evaluation value corresponding to the rehabilitation action frame image and feeding back the real-time action evaluation value to the exerciser when the rehabilitation action execution stage of the exerciser meets the evaluation condition.
In a third aspect, the invention provides an electronic device comprising a processor, a memory and a bus, the memory storing machine-readable instructions executable by the processor, the processor and the memory in communication over the bus when the electronic device is in operation, the processor executing the machine-readable instructions to perform the steps of the method of evaluating rehabilitation training as in any of the previous embodiments.
In a fourth aspect, the present invention provides a computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the assessment method of rehabilitation training according to any of the previous embodiments.
The application provides a rehabilitation training evaluation method, a device, electronic equipment and a storage medium, wherein the method comprises the steps of responding to a rehabilitation training evaluation request, determining target rehabilitation training indicated by the rehabilitation training evaluation request, determining a rehabilitation action execution stage detection rule to be executed based on the type of the target rehabilitation training, determining a rehabilitation action execution stage of an exerciser according to the determined rehabilitation action execution stage detection rule aiming at an acquired rehabilitation action frame image of the exerciser, and determining a real-time action evaluation value corresponding to the rehabilitation action frame image and feeding back to the exerciser when the rehabilitation action execution stage of the exerciser meets evaluation conditions. By classifying rehabilitation training, different action state detection rules are designed for different types of rehabilitation training by combining a state machine framework, so that better state capturing can be performed on rehabilitation actions executed by a trainer more accurately, and a more accurate evaluation result is given.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the embodiments of the present application will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and should not be considered as limiting the scope, and other related drawings can be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flowchart of a rehabilitation training evaluation method according to an embodiment of the present application;
FIG. 2 is a flowchart showing steps for determining a rehabilitation activity execution stage of an exerciser according to an embodiment of the present application;
FIG. 3 is a flowchart showing steps for determining a rehabilitation activity execution phase of an exerciser according to another embodiment of the present application;
FIG. 4 (a) is a schematic diagram of a non-evaluation stage of "standing upright leg lifting" according to an embodiment of the present application;
FIG. 4 (b) is a schematic diagram illustrating an evaluation phase of "standing upright leg lifting" according to an embodiment of the present application;
FIG. 5 (a) is a non-evaluation phase intent of a "sit-up assisted knee flexion" provided by embodiments of the present application;
FIG. 5 (b) is a schematic diagram illustrating an evaluation preparatory phase of "assisted knee bending in sitting position" according to an embodiment of the present application;
Fig. 5 (c) is a schematic diagram of an evaluation stage of "sitting assisted knee bending" according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of an evaluation device for rehabilitation training according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
First, an application scenario of the present application will be described. The technical scheme of the application can be suitable for rehabilitation training evaluation and guidance of a rehabilitation machine on a trainer.
The technical solutions in the embodiments of the present application will be described below with reference to the accompanying drawings in the embodiments of the present application.
Example 1
Fig. 1 is a flowchart of a rehabilitation training evaluation method according to an embodiment of the present application. As shown in fig. 1, one of the embodiments of the present application may be implemented by a rehabilitation application. The rehabilitation application program can be in the form of APP and the like and is installed in electronic equipment of an exerciser, such as a mobile phone and a tablet. The evaluation method of the rehabilitation training comprises the following steps:
S10, responding to the rehabilitation training evaluation request, and determining target rehabilitation training indicated by the rehabilitation training evaluation request.
The exerciser can select the desired rehabilitation exercise in the graphical user interface provided by the rehabilitation application and determine the exercise to begin the rehabilitation exercise. At this point, the rehabilitation application may determine that a rehabilitation training assessment request issued by the exerciser was received and determine a target rehabilitation training indicated by the rehabilitation training assessment request.
The rehabilitation training can comprise standing position, straight leg lifting, sitting position, assisting knee bending, left and right transferring, single leg standing balance and the like.
The types of rehabilitation exercises herein may include two-state rehabilitation exercises and three-state rehabilitation exercises. Wherein, the two-state rehabilitation training can be the condition that the rehabilitation preparation action is not needed. The three-state rehabilitation training can be the condition requiring rehabilitation preparation actions.
Wherein, the standing position directly lifts the legs and the single leg standing balance is two-state rehabilitation training. The 'assisting and knee bending under sitting position' and 'left-right transferring' are three-state rehabilitation training.
It will be appreciated that in a rehabilitation application, the type of each rehabilitation session may be preset.
S20, determining a rehabilitation action execution stage detection rule to be executed based on the type of the target rehabilitation training.
In step S20, after determining the type of the target rehabilitation training to be performed by the exerciser, a corresponding rehabilitation action execution stage detection rule is determined. The rehabilitation action execution stage detection rule is used for judging the rehabilitation action execution stage of the human body of the exerciser.
S30, determining the rehabilitation action execution stage of the exerciser according to the determined rehabilitation action execution stage detection rule aiming at the acquired rehabilitation action frame image of the exerciser.
Here, the exerciser can shoot the exercise process of the exerciser through the camera of the mobile phone, and the rehabilitation application program can intercept the rehabilitation action frame images according to a certain sampling frequency for the video stream acquired by the camera.
For each frame of rehabilitation action frame image, the rehabilitation action frame image can be input into a pre-trained machine learning model (such as a convolutional neural network and the like) so as to acquire real-time coordinates of human body key points output by the machine learning model. The key points of the human body may include the positions of the shoulders, elbows, wrists, buttocks, knees, ankles, etc.
Based on the real-time coordinates of the key points of the human body, the rehabilitation action execution stage executed by the exerciser can be further determined.
When the rehabilitation training is of a two-state rehabilitation training type, the rehabilitation action execution stage comprises two stage states of an evaluation stage and a non-evaluation stage.
When the rehabilitation training is three-state rehabilitation training, the rehabilitation action execution stage comprises three stage states of a non-evaluation stage, an evaluation preparation stage and an evaluation stage.
And S40, when the rehabilitation action execution stage of the exerciser meets the evaluation conditions, determining a real-time action evaluation value corresponding to the rehabilitation action frame image and feeding back to the exerciser.
In step S40, it may be determined whether the rehabilitation action execution phase of the exerciser satisfies the evaluation condition by:
when the rehabilitation action execution stage of the exerciser is the evaluation stage, determining that the rehabilitation action execution stage of the exerciser meets the evaluation condition.
That is, for both the two-state rehabilitation training and the three-state rehabilitation training, when the rehabilitation action of the exerciser reaches the evaluation stage, the calculation of the real-time action evaluation value is started for the rehabilitation action of the exerciser, and after the evaluation is finished, the calculation can be displayed on a screen or fed back to the exerciser through a voice broadcast mode and the like.
The real-time motion evaluation values are in one-to-one correspondence with the rehabilitation motion frame images and are used for indicating the completion degree of the real-time motion of the exerciser relative to the rehabilitation training.
Further, the number of motion exercises may be selected to determine the timing to exit the rehabilitation exercise detection and assessment service. For example, it is determined whether the exerciser has completed a single exercise or a plurality of exercises of the target rehabilitation training, or whether the number of exercises corresponding to the target rehabilitation training currently performed by the exerciser has ended.
According to the assessment method for rehabilitation training provided by the embodiment of the application, different action state detection rules are designed for different types of rehabilitation training by classifying the rehabilitation training and combining the state machine architecture, so that better state capture can be performed on rehabilitation actions executed by a trainer more accurately, and a more accurate assessment result is given.
Example two
As shown in fig. 2, in one embodiment of the present application, when the type of rehabilitation training is two-state rehabilitation training, taking "standing upright leg lifting" training as an example, for each acquired rehabilitation motion frame image, the rehabilitation motion execution stage of the exerciser may be determined by:
S3001, extracting real-time coordinates of key points of a human body according to the rehabilitation action frame image so as to calculate a first calculation similarity between the rehabilitation action of the exerciser and the rehabilitation action to be executed in the rehabilitation action frame image.
Here, taking the training of standing position and straight leg lifting as an example, the practice of the rehabilitation action to be performed by the exerciser can be that the leg lifting is carried out by one leg to 60 degrees, and the rehabilitation action of the exerciser in the rehabilitation action frame image only lifts the leg to 30 degrees.
In step S3001, the image may be converted into a format required for the machine learning model, such as resizing, normalization, and the like.
The human body key points herein may include buttocks, knees and ankles.
It can be understood that, for each rehabilitation training and different action states of each rehabilitation training, standard value coordinates of each human body key point can be preset.
The calculated similarity here may be a similarity between coordinates of key points, and may be calculated by euclidean distance, cosine similarity, or the like, for example.
S3003, determining whether the first calculated similarity is smaller than a first preset similarity.
In a specific embodiment, in addition to similarity calculation, other additional conditions may be used to make the determination. The design can be performed through specific rehabilitation training.
S3005, if yes, determining that the rehabilitation action execution stage of the exerciser is a non-evaluation stage.
S3007, if not, determining that the rehabilitation action execution stage of the exerciser is an evaluation stage.
When a "standing upright leg raising" action is performed, as shown in fig. 4 (a), the non-evaluation phase may be for the exerciser to stand upright and raise one side leg forward to a certain height. As shown in fig. 4 (b), other cases can be regarded as the rehabilitation actions of the exerciser as the evaluation stage.
When the exerciser stands straight and lifts one side leg forward to a certain height, calculation of the real-time action evaluation value can be started.
The existing part of rehabilitation actions consist of two actions which need to be continuously performed, the recovery action is generally performed after the rehabilitation action training is completed, and then the next action is performed, so that one rehabilitation training is easily distinguished to be two times, and the problems of unreasonable score evaluation and action capturing errors are caused. When the judgment is performed through the embodiment, the scores of all actions in the evaluation state are counted by utilizing the continuity of the rehabilitation training when the exerciser executes the rehabilitation action, so that for some compound rehabilitation training, the time period for counting the scores of the actions can be more accurately determined, and the scientific and reasonable score is given.
Example III
As shown in fig. 3, in one embodiment of the present application, when the type of rehabilitation training is a three-state rehabilitation training, the rehabilitation activity execution phase includes a non-evaluation phase, an evaluation preparation phase, and an evaluation phase. Taking the training of 'sitting assisted knee bending' as an example, for each acquired rehabilitation action frame image, the rehabilitation action execution stage of the exerciser can be determined by the following manner:
S3000, extracting real-time coordinates of key points of a human body according to the rehabilitation action frame image so as to calculate a second calculation similarity between the rehabilitation action of the exerciser and the preparation action of the rehabilitation action to be executed in the rehabilitation action frame image.
The similarity calculation here may refer to step S3001, where the calculation of the similarity is performed based on coordinates. The body part vector may also be formed based on human body keypoint coordinates. And calculating the angle characteristic and the distance characteristic based on the body part vector, and calculating the similarity through the angle characteristic and the distance characteristic.
For example, two adjacent human body key points A and B can be randomly selected or selected from the extracted human body key points to form a vector:
;
Wherein, AndReal-time coordinates of a and B, respectively.
Angular feature between two vectorsThe calculation can be made by the following formula:
;
wherein, the method comprises the following steps of ,) Is the first vector of #,) Is the second vector. The first and second vectors herein are not limited, or may be selected according to the corresponding rehabilitation activity.
Distance features between vectorsThe calculation can be made by the following formula:
;
wherein, the method comprises the following steps of ,) Is the corresponding vector.
It will be appreciated that in determining the calculated similarity, the similarity between the distance and angle features and the specified features may be calculated.
S3002, determining whether the second calculated similarity is greater than a second preset similarity.
S3004, if the similarity is smaller than the second preset similarity, determining that the rehabilitation action execution stage of the exerciser is a non-evaluation stage.
Taking the "sit-up assisted knee bending" training as an example, this motion can be as shown in fig. 5 (a).
S3006, if the calculated similarity is greater than the second preset similarity, determining that the rehabilitation action execution stage of the exerciser is an evaluation preparation stage, and calculating a third calculated similarity between the rehabilitation action of the exerciser and the rehabilitation action to be executed in the rehabilitation action frame image.
As shown in fig. 5 (b), the exerciser enters a rehabilitation preparation stage (the seated booster unilateral leg is lifted to a certain height). It is then determined whether the exerciser remains in the rehabilitation preparation phase, and if not, a similarity calculation is performed with the rehabilitation maneuver to be performed (sitting assisted unilateral leg flexion, as shown in fig. 5 (c)).
And if the third calculated similarity is smaller than the third preset similarity, returning to the step of executing the second calculated similarity.
S3008, if the third calculated similarity is greater than the third preset similarity, determining that the rehabilitation action execution stage of the exerciser is an evaluation stage. And if the rehabilitation training evaluation is not withdrawn, returning to the step of calculating the second calculation similarity.
It will be appreciated that the partial rehabilitation motion requires a preliminary motion which is greatly different from the daily motion of the human body, and the motion is easily misjudged as the rehabilitation training motion to be executed in the process from the daily motion of the human body to the execution of the preliminary motion, so that the evaluation preliminary stage is introduced, and the motion of the exerciser is not evaluated in the evaluation preliminary stage, so that the influence is not caused.
Example IV
In one embodiment of the present application, for all rehabilitation motion frame images for each evaluation phase, a corresponding real-time motion evaluation value may be calculated by:
first, an evaluation value of a certain body part in a single-frame image is determined :
Wherein, Identifying the corresponding sequence of the body part1,2,......,n),Is a body partAngle eigenvalues or distance eigenvalues calculated in real time between the corresponding vectors,Is a body partThe corresponding target characteristic value is set to be a target characteristic value,Is a body partThe corresponding limiting characteristic value is determined based on the rehabilitation action of the relative standard, and the limiting characteristic value is determined based on the condition that the human body is possibly farthest from the target characteristic value in terms of data distance.
If the angle and distance characteristics of a certain part of the body are related in the score evaluation, calculating an action evaluation value of the target part in the single frame image by the following modes:
=
Wherein, An evaluation value calculated for the target portion based on the angle characteristic value,An evaluation value calculated for the target portion based on the distance feature,Is the corresponding normalized coefficient.
Then, a real-time motion evaluation value of the single frame image can be calculated:
;
Wherein, Is a body partThe corresponding weight is used to determine the weight,Is thatReal-time motion estimation values of the moment rehabilitation motion frame images. The distribution of weights may be a normal distribution, an average distribution, a poisson distribution, an exponential distribution, a cauchy distribution, a gamma distribution, a chi-square distribution, a t-distribution, etc. It may also be custom, as the case may be.
Finally, a total action evaluation value S in the evaluation phase can be calculated:
Wherein, Is thatReal-time motion estimation values of the moment rehabilitation motion frame images.
Considering that in some cases the final overall evaluation score of the evaluation phase cannot equally take into account the image frames corresponding to each instant, the total action evaluation value S within the evaluation phase can be calculated using the following equation:
Wherein, The weight corresponding to the rehabilitation action frame images at different moments. The distribution of weights may be a normal distribution, poisson distribution, exponential distribution, cauchy distribution, gamma distribution, chi-square distribution, t distribution, etc. It may also be custom, as the case may be.
Furthermore, the rehabilitation training guidance information can be determined and displayed according to the total action evaluation value and/or the real-time action evaluation value of a certain rehabilitation training action of the exerciser.
Therefore, the action can be scored and counted more scientifically and accurately, and reasonable correction or action guidance is given.
Example five
As shown in fig. 6, based on the same inventive concept, an apparatus 60 for evaluating rehabilitation training is further provided in an embodiment of the present application, where the apparatus includes:
A response module 610, configured to respond to the rehabilitation training evaluation request and determine a target rehabilitation training indicated by the rehabilitation training evaluation request;
a rule analysis module 620, configured to determine a rehabilitation action execution stage detection rule to be executed based on a type of the target rehabilitation training;
The state analysis module 630 is configured to determine, according to the determined rehabilitation action execution stage detection rule, a rehabilitation action execution stage of the exerciser with respect to the acquired rehabilitation action frame image of the exerciser;
And the evaluation module 640 is used for determining a real-time action evaluation value corresponding to the rehabilitation action image and feeding back the real-time action evaluation value to the exerciser when the rehabilitation action execution stage of the exerciser meets the evaluation condition.
In a preferred embodiment, when the type of rehabilitation training is two-state rehabilitation training, the rehabilitation action execution stage includes a non-evaluation stage and an evaluation stage, and for each acquired rehabilitation action frame image, the state analysis module 630 determines the rehabilitation action execution stage of the exerciser by extracting real-time coordinates of key points of the human body for the rehabilitation action frame image to calculate a first calculated similarity between the rehabilitation action of the exerciser and the rehabilitation action to be executed in the rehabilitation action frame image, determining whether the first calculated similarity is smaller than a first preset similarity, if yes, determining the rehabilitation action execution stage of the exerciser to be the non-evaluation stage, and if not, determining the rehabilitation action execution stage of the exerciser to be the evaluation stage.
In a preferred embodiment, when the type of rehabilitation training is three-state rehabilitation training, the rehabilitation action execution stage includes a non-evaluation stage, an evaluation preparation stage and an evaluation stage, and for each acquired rehabilitation action frame image, the state analysis module 630 determines the rehabilitation action execution stage of the exerciser by extracting real-time coordinates of key points of the human body for the rehabilitation action frame image to calculate a second calculation similarity between the rehabilitation action of the exerciser and the preparation action of the rehabilitation action to be performed in the rehabilitation action frame image, determining whether the second calculation similarity is greater than the second preset similarity, determining that the rehabilitation action execution stage of the exerciser is the non-evaluation stage if the second calculation similarity is less than the second preset similarity, determining that the rehabilitation action execution stage of the exerciser is the evaluation preparation stage if the second calculation similarity is greater than the second preset similarity, and calculating a third calculation similarity between the rehabilitation action of the exerciser and the rehabilitation action to be performed in the rehabilitation action frame image if the third calculation similarity is less than the third preset similarity, and returning to perform the step of calculating the second calculation similarity if the third calculation similarity is greater than the third preset similarity, and determining that the rehabilitation action execution stage is similar to be performed if the third calculation similarity is greater than the third preset similarity.
In a preferred embodiment, the state analysis module 630 is further configured to return to performing the step of calculating the second calculated similarity if it is determined to exit the evaluation phase.
In a preferred embodiment, the assessment module 640 determines whether the rehabilitation activity performance phase of the exerciser meets the assessment condition by determining that the rehabilitation activity performance phase of the exerciser meets the assessment condition when the rehabilitation activity performance phase of the exerciser is the assessment phase.
In a preferred embodiment, the evaluation module 640 is further configured to determine a final score of a rehabilitation activity of the exerciser based on the real-time activity evaluation values corresponding to all rehabilitation activity frame images in the evaluation phase.
In a preferred embodiment, the evaluation module 640 is further configured to determine and display rehabilitation training guidance information according to the final score of a rehabilitation training action of the exerciser.
Referring to fig. 7, fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the application. As shown in fig. 7, the electronic device 700 includes a processor 710, a memory 720, and a bus 730.
The memory 720 stores machine-readable instructions executable by the processor 710, when the electronic device 700 is running, the processor 710 communicates with the memory 720 through the bus 730, and when the machine-readable instructions are executed by the processor 710, the steps of a rehabilitation training evaluation method in the above method embodiment may be executed, and a specific implementation may refer to the method embodiment and will not be described herein.
The embodiment of the present application further provides a computer readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the step of a rehabilitation training evaluation method in the above method embodiment may be executed, and a specific implementation manner may refer to the method embodiment and will not be described herein.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described systems, apparatuses and units may refer to corresponding procedures in the foregoing method embodiments, and are not repeated herein.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. The above-described apparatus embodiments are merely illustrative, for example, the division of the units is merely a logical function division, and there may be other manners of division in actual implementation, and for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some communication interface, device or unit indirect coupling or communication connection, which may be in electrical, mechanical or other form.
Further, the units described as separate units may or may not be physically separate, and units displayed as units may or may not be physical units, may be located in one place, or may be distributed over a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
Furthermore, functional modules in various embodiments of the present application may be integrated together to form a single portion, or each module may exist alone, or two or more modules may be integrated to form a single portion.
It should be noted that the functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present application. The storage medium includes a U disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk, an optical disk, or other various media capable of storing program codes.
In this document, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions.
The above description is only an example of the present application and is not intended to limit the scope of the present application, and various modifications and variations will be apparent to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims (8)

1.一种康复训练的评估方法,其特征在于,所述方法包括:1. A method for evaluating rehabilitation training, characterized in that the method comprises: 响应康复训练评估请求,确定所述康复训练评估请求所指示的目标康复训练;In response to the rehabilitation training evaluation request, determine the target rehabilitation training indicated by the rehabilitation training evaluation request; 基于所述目标康复训练的类型,确定所要执行的康复动作执行阶段检测规则;Based on the type of the target rehabilitation training, determining a rehabilitation action execution phase detection rule to be performed; 针对获取到的练习者的康复动作帧图像,按照确定出的所述康复动作执行阶段检测规则,确定练习者的康复动作执行阶段;For the acquired rehabilitation action frame image of the practitioner, the rehabilitation action execution stage of the practitioner is determined according to the determined rehabilitation action execution stage detection rule; 当练习者的康复动作执行阶段为评估阶段时,则确定练习者的康复动作执行阶段满足评估条件,则确定所述康复动作帧图像对应的实时动作评估值并反馈给练习者;When the rehabilitation action execution stage of the practitioner is the evaluation stage, it is determined that the rehabilitation action execution stage of the practitioner meets the evaluation condition, and the real-time action evaluation value corresponding to the rehabilitation action frame image is determined and fed back to the practitioner; 基于评估阶段的所有康复动作帧图像对应的实时动作评估值确定练习者所要执行康复动作的康复训练最终分值;Determine the final score of the rehabilitation training of the rehabilitation action to be performed by the practitioner based on the real-time action evaluation values corresponding to all the rehabilitation action frame images in the evaluation stage; 其中,当康复训练的类型为两状态康复训练时,康复动作执行阶段包括评估阶段和非评估阶段;Among them, when the type of rehabilitation training is two-state rehabilitation training, the rehabilitation action execution stage includes an evaluation stage and a non-evaluation stage; 康复训练的类型为三状态康复训练时,康复动作执行阶段包括非评估阶段、评估预备阶段和评估阶段。When the type of rehabilitation training is three-state rehabilitation training, the rehabilitation action execution phase includes a non-assessment phase, an assessment preparation phase, and an assessment phase. 2.根据权利要求1所述的方法,其特征在于,当康复训练的类型为两状态康复训练时,针对获取到的每一康复动作帧图像,通过以下方式确定练习者的康复动作执行阶段:2. The method according to claim 1, characterized in that when the type of rehabilitation training is two-state rehabilitation training, for each acquired rehabilitation action frame image, the rehabilitation action execution stage of the practitioner is determined by the following method: 针对该康复动作帧图像,进行人体关键点的实时坐标的提取,以计算康复动作帧图像中练习者的康复动作与所要执行的康复动作之间的第一计算相似度;Extracting the real-time coordinates of the key points of the human body from the rehabilitation action frame image to calculate a first calculated similarity between the rehabilitation action of the practitioner in the rehabilitation action frame image and the rehabilitation action to be performed; 确定所述第一计算相似度是否小于第一预设相似度;Determining whether the first calculated similarity is less than a first preset similarity; 若是,则确定练习者的康复动作执行阶段为非评估阶段;If so, it is determined that the practitioner's rehabilitation action execution phase is a non-assessment phase; 若否,则确定练习者的康复动作执行阶段为评估阶段。If not, it is determined that the practitioner's rehabilitation action execution phase is the evaluation phase. 3.根据权利要求1所述的方法,其特征在于,当康复训练的类型为三状态康复训练时,针对获取到的每一康复动作帧图像,通过以下方式确定练习者的康复动作执行阶段:3. The method according to claim 1, characterized in that when the type of rehabilitation training is three-state rehabilitation training, for each acquired rehabilitation action frame image, the rehabilitation action execution stage of the practitioner is determined by the following method: 针对该康复动作帧图像,进行人体关键点的实时坐标的提取,以计算康复动作帧图像中练习者的康复动作与所要执行康复动作的预备动作之间的第二计算相似度;Extracting the real-time coordinates of the key points of the human body from the rehabilitation action frame image to calculate the second calculated similarity between the rehabilitation action of the practitioner in the rehabilitation action frame image and the preparatory action of the rehabilitation action to be performed; 确定所述第二计算相似度是否大于第二预设相似度;determining whether the second calculated similarity is greater than a second preset similarity; 若小于第二预设相似度,则确定练习者的康复动作执行阶段为非评估阶段;If it is less than the second preset similarity, then determining that the rehabilitation action execution stage of the practitioner is a non-evaluation stage; 若大于第二预设相似度,则确定练习者的康复动作执行阶段为评估预备阶段,并计算康复动作帧图像中练习者的康复动作与所要执行康复动作之间的第三计算相似度,If it is greater than the second preset similarity, the rehabilitation action execution stage of the practitioner is determined to be the evaluation preparation stage, and a third calculated similarity between the rehabilitation action of the practitioner in the rehabilitation action frame image and the rehabilitation action to be performed is calculated. 若第三计算相似度小于第三预设相似度,则返回执行计算所述第二计算相似度的步骤,If the third calculated similarity is less than the third preset similarity, returning to the step of calculating the second calculated similarity, 若第三计算相似度大于第三预设相似度,则确定练习者的康复动作执行阶段为评估阶段。If the third calculated similarity is greater than the third preset similarity, it is determined that the rehabilitation action execution stage of the practitioner is the evaluation stage. 4.根据权利要求3所述的方法,其特征在于,若退出评估阶段,则返回执行计算所述第二计算相似度的步骤。4. The method according to claim 3 is characterized in that if the evaluation phase is exited, the step of calculating the second similarity is returned to be executed. 5.根据权利要求1所述的方法,其特征在于,还包括:5. The method according to claim 1, further comprising: 根据练习者所要执行康复动作的康复训练最终分值,确定出康复训练指导信息并展示。According to the final score of the rehabilitation training of the rehabilitation action to be performed by the practitioner, the rehabilitation training guidance information is determined and displayed. 6.一种康复训练的评估装置,其特征在于,所述装置包括:6. A rehabilitation training evaluation device, characterized in that the device comprises: 响应模块,用于响应康复训练评估请求,确定所述康复训练评估请求所指示的目标康复训练;A response module, used to respond to the rehabilitation training evaluation request and determine the target rehabilitation training indicated by the rehabilitation training evaluation request; 规则分析模块,用于基于所述目标康复训练的类型,确定所要执行的康复动作执行阶段检测规则;A rule analysis module, used to determine the rehabilitation action execution phase detection rules to be performed based on the type of the target rehabilitation training; 状态分析模块,用于针对获取到的练习者的康复动作帧图像,按照确定出的所述康复动作执行阶段检测规则,确定练习者的康复动作执行阶段;A state analysis module, for determining the rehabilitation action execution stage of the practitioner according to the determined rehabilitation action execution stage detection rule based on the acquired rehabilitation action frame image of the practitioner; 评估模块,用于当练习者的康复动作执行阶段为评估阶段时,则确定练习者的康复动作执行阶段满足评估条件,则确定所述康复动作帧图像对应的实时动作评估值并反馈给练习者;An evaluation module, for determining, when the rehabilitation action execution stage of the practitioner is the evaluation stage, that the rehabilitation action execution stage of the practitioner meets the evaluation conditions, and then determining the real-time action evaluation value corresponding to the rehabilitation action frame image and feeding it back to the practitioner; 其中,当康复训练的类型为两状态康复训练时,康复动作执行阶段包括评估阶段和非评估阶段;Among them, when the type of rehabilitation training is two-state rehabilitation training, the rehabilitation action execution stage includes an evaluation stage and a non-evaluation stage; 康复训练的类型为三状态康复训练时,康复动作执行阶段包括非评估阶段、评估预备阶段和评估阶段。When the type of rehabilitation training is three-state rehabilitation training, the rehabilitation action execution phase includes a non-assessment phase, an assessment preparation phase, and an assessment phase. 7.一种电子设备,其特征在于,包括:处理器、存储器和总线,所述存储器存储有所述处理器可执行的机器可读指令,当电子设备运行时,所述处理器与所述存储器之间通过总线通信,所述处理器执行所述机器可读指令,以执行如权利要求1至5任一所述康复训练的评估方法的步骤。7. An electronic device, characterized in that it comprises: a processor, a memory and a bus, the memory storing machine-readable instructions executable by the processor, and when the electronic device is running, the processor communicates with the memory through the bus, and the processor executes the machine-readable instructions to perform the steps of the rehabilitation training evaluation method as described in any one of claims 1 to 5. 8.一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器运行时执行如权利要求1至5任一所述康复训练的评估方法的步骤。8. A computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the rehabilitation training evaluation method according to any one of claims 1 to 5 are executed.
CN202411804945.9A 2024-12-10 2024-12-10 Rehabilitation training evaluation method and device, electronic equipment and storage medium Active CN119274747B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202411804945.9A CN119274747B (en) 2024-12-10 2024-12-10 Rehabilitation training evaluation method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202411804945.9A CN119274747B (en) 2024-12-10 2024-12-10 Rehabilitation training evaluation method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN119274747A CN119274747A (en) 2025-01-07
CN119274747B true CN119274747B (en) 2025-03-04

Family

ID=94109820

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202411804945.9A Active CN119274747B (en) 2024-12-10 2024-12-10 Rehabilitation training evaluation method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN119274747B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110197721A (en) * 2019-05-06 2019-09-03 平安科技(深圳)有限公司 Tendon condition evaluation method, apparatus and storage medium based on deep learning
CN113707268A (en) * 2021-08-27 2021-11-26 温州医科大学慈溪生物医药研究院 Rehabilitation training evaluation method and system
CN116650934A (en) * 2023-05-19 2023-08-29 河南云迹智能技术有限公司 Rehabilitation training robot, rehabilitation training method and device based on robot
CN118485940A (en) * 2024-04-24 2024-08-13 北京长木谷医疗科技股份有限公司 Evaluation methods, devices and equipment for rehabilitation training after total knee replacement surgery

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005074372A2 (en) * 2004-02-05 2005-08-18 Motorika Inc. Methods and apparatus for rehabilitation and training
JP7373788B2 (en) * 2019-09-20 2023-11-06 パナソニックIpマネジメント株式会社 Rehabilitation support device, rehabilitation support system, and rehabilitation support method
CN113229807A (en) * 2021-05-17 2021-08-10 四川大学华西医院 Human body rehabilitation evaluation device, method, electronic device and storage medium
WO2023153453A1 (en) * 2022-02-08 2023-08-17 ソニーグループ株式会社 Rehabilitation supporting system, information processing method, and program

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110197721A (en) * 2019-05-06 2019-09-03 平安科技(深圳)有限公司 Tendon condition evaluation method, apparatus and storage medium based on deep learning
CN113707268A (en) * 2021-08-27 2021-11-26 温州医科大学慈溪生物医药研究院 Rehabilitation training evaluation method and system
CN116650934A (en) * 2023-05-19 2023-08-29 河南云迹智能技术有限公司 Rehabilitation training robot, rehabilitation training method and device based on robot
CN118485940A (en) * 2024-04-24 2024-08-13 北京长木谷医疗科技股份有限公司 Evaluation methods, devices and equipment for rehabilitation training after total knee replacement surgery

Also Published As

Publication number Publication date
CN119274747A (en) 2025-01-07

Similar Documents

Publication Publication Date Title
Qiu et al. Pose-guided matching based on deep learning for assessing quality of action on rehabilitation training
US20220219046A1 (en) Smart Gym
CN108734104B (en) Body-building action error correction method and system based on deep learning image recognition
Islam et al. Yoga posture recognition by detecting human joint points in real time using microsoft kinect
CN113505662B (en) Body-building guiding method, device and storage medium
CN114100103B (en) A system and method for skipping rope counting detection based on key point recognition
Chen et al. Computer-assisted self-training system for sports exercise using kinects
WO2020252918A1 (en) Human body-based gesture recognition method and apparatus, device, and storage medium
JP2020174910A (en) Exercise support system
CN117672456A (en) A lightweight visual posture assessment and contactless emotion guidance rehabilitation system
CN113935921B (en) Mirror type body-building information interaction method and system
CN113517052A (en) Multi-perception man-machine interaction system and method in commercial fitness scene
CN119274747B (en) Rehabilitation training evaluation method and device, electronic equipment and storage medium
CN117115922A (en) Seat body forward-bending evaluation method, system, electronic equipment and storage medium
CN113842622B (en) Motion teaching method, device, system, electronic equipment and storage medium
CN119540840B (en) A method for detecting the number of times of juggling in football training and a computer-readable storage medium
CN111986260A (en) Image processing method and device and terminal equipment
CN115578786A (en) Motion video detection method, device, equipment and storage medium
CN118230427B (en) Sit-up counting method and system suitable for online sports activities
JP7573318B2 (en) How to control training equipment
CN118718339A (en) Sports assistance system and sports assistance method
CN110070036A (en) The method, apparatus and electronic equipment of synkinesia action training
WO2023162159A1 (en) Motion generation device, motion generation system, motion generation method, and non-transitory computer readable medium
CN113705536B (en) Continuous action scoring method, device and storage medium
JP7530536B1 (en) VIDEO OUTPUT SYSTEM, VIDEO OUTPUT METHOD, AND PROGRAM

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant