Joint flexibility evaluation scheme making method and system

By recording and setting joint data and producing standard action demonstration videos, it solves the problem of difficulty in updating the intelligent corrective lens evaluation program, enables users to update and circulate the joint flexibility evaluation program by themselves, and ensures the timeliness and effectiveness of rehabilitation treatment. .

CN118799684AInactive Publication Date: 2024-10-18HENAN JIAYU MEDICAL TECH CO LTD

Patent Information

Application Number
CN202410811055.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-21
Publication Date
2024-10-18
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The evaluation plan of existing smart corrective lenses is stored in the device and cannot be updated in time, making it difficult for doctors and patients to use the latest evaluation methods for rehabilitation treatment.

Method used

Provides a method for making a joint flexibility assessment plan. By recording videos of doctors doing standard movements, calculating joint data, setting scoring standards, and producing standard movement demonstration videos, users can record and set scores by themselves to form an assessment plan and put it into practice. Save it in the device for easy updating and circulation.

Benefits of technology

It enables users to record and update their own evaluation plans, ensuring that smart corrective lenses can use the latest evaluation methods for evaluation and rehabilitation, and allows newly recorded plans to be sent to other equipment or manufacturers for optimization and adjustment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118799684A_ABST
    Figure CN118799684A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of rehabilitation training. The invention particularly relates to a joint flexibility evaluation scheme making method and system. The method comprises the following steps: recording a video of standard actions of a doctor by a correction mirror, and calculating joint data of all joints of the doctor at each sampling moment; acquiring a joint data interval of the to-be-evaluated joint, and recording the joint data interval as a joint data standard interval of the to-be-evaluated joint; for each joint to be evaluated, setting a score corresponding to each joint data interval; making a standard action demonstration video; and storing the score corresponding to each joint data interval of each joint to be evaluated and the standard action demonstration video. By means of the joint flexibility evaluation scheme making method, a user (a doctor) can record evaluation actions and set scoring standards by himself / herself, the joint flexibility evaluation scheme is formed, and it is guaranteed that the intelligent correction mirror can conduct evaluation and rehabilitation treatment through the latest evaluation method / algorithm.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention generally relates to the field of rehabilitation training technology. More specifically, the present invention relates to a method and system for preparing a joint flexibility assessment program. Background Art

[0002] Currently, all smart corrective glasses on the market have built-in evaluation solutions. That is, the evaluation algorithm, reference videos, and other contents are stored in the device's storage in advance. When the user needs to conduct an evaluation, the corresponding content / function can be called on demand.

[0003] This will lead to a problem. When a user needs an assessment plan that is not stored in the device, the user cannot perform the assessment. In addition, with the advancement of assessment equipment and plans, new assessment plans may appear in the future. This also requires manufacturers to obtain relevant information in a timely manner and upgrade the plans stored in the device. Since it takes time from the emergence of a plan to the upgrade of the device, it is difficult for doctors and patients to use the latest assessment methods / algorithms for assessment and rehabilitation treatment in a timely manner. Summary of the invention

[0004] To solve one or more of the above technical problems, the present invention provides solutions in the following aspects.

[0005] In a first aspect, the present invention provides a method for preparing a joint flexibility assessment program, comprising:

[0006] The corrective lens records a video of the doctor performing standard movements, selects a sampling moment at a preset time interval in the video, and calculates the joint data of all joints of the doctor at each sampling moment; the joint data is used to characterize the rotation angle of the joint relative to each coordinate axis of the spatial coordinate system;

[0007] The joint data of each joint to be evaluated is screened out from the joint data of all joints in the standard action process, and then the joint data interval of the joint to be evaluated is obtained, and the interval is recorded as the joint data standard interval of the joint to be evaluated; the joint to be evaluated refers to the joint that must be moved when doing the standard action;

[0008] For each joint to be evaluated, multiple joint data intervals are set according to its joint data standard interval, and the score corresponding to each joint data interval is set;

[0009] Making a standard action demonstration video; the standard action demonstration video is used to show the patient the standard action so that the patient can imitate and perform the same action;

[0010] The scores corresponding to each joint data interval of each joint to be evaluated and the standard action demonstration video are saved.

[0011] In one embodiment, setting the score corresponding to each joint data interval includes:

[0012] The ratio of the length of the joint data interval during the user's action to the length of the standard interval of the joint data is calculated, and the score corresponding to the standard interval of the joint data is multiplied by the ratio to obtain the user's score for the joint.

[0013] In one embodiment, the standard action demonstration video includes a 3D model demonstration video; and the method for making the 3D model demonstration video includes:

[0014] The joint to be evaluated corresponding to the standard action is regarded as the main joint, and the other joints are regarded as the secondary joints;

[0015] The joint data of the secondary joints are processed by a joint jitter algorithm, thereby obtaining the processed joint data of the secondary joints, wherein the joint jitter algorithm is used to make the jitter amplitude of the generated 3D model demonstration video smaller than a preset jitter amplitude threshold;

[0016] A 3D model is selected, and the joint data of the main joint and the joint data of the secondary joint are combined with the 3D model according to the angle value of the virtual camera in the 3D software, so as to generate a 3D model demonstration video.

[0017] In one embodiment, the processing of the joint data of the secondary joints by using the joint jitter algorithm includes:

[0018] According to the inertia or physiological characteristics of the joint to be detected, all the secondary joints are divided into static secondary joints and moving secondary joints. The static secondary joints refer to the joints whose positions are fixed during the standard action, and the moving secondary joints refer to the joints whose positions change during the standard action.

[0019] For the static secondary joint, the average value of the joint data corresponding to the start time and the end time of the standard action is used as the value of the static secondary joint during the entire standard action process;

[0020] For each joint of the kinematic sub-joint, the corresponding corrected action curve is obtained, and the ordinate value corresponding to each sampling moment on the corrected action curve is calculated, so as to obtain the processed joint data of the joint of the kinematic sub-joint at each sampling moment. The action curve is used to characterize the joint data corresponding to each sampling moment.

[0021] In one embodiment, obtaining the modified action curve includes:

[0022] From the joint data of all sampling moments corresponding to the kinematic sub-joint, take a joint data corresponding to the kinematic sub-joint every time length T, record the obtained joint data point corresponding to the kinematic sub-joint as the joint data sampling point, establish a coordinate system with the joint data corresponding to the kinematic sub-joint as the vertical axis and time as the horizontal axis, and connect the points corresponding to the joint data sampling points in the coordinate system with line segments, so as to obtain the original motion curve;

[0023] Calculate the mean of the ordinates of two adjacent joint data sampling points in the original action curve, and use the mean as the joint data of the joint at the middle moment between the two adjacent joint data sampling points, and draw the corresponding point in the coordinate system, which is recorded as the joint data correction point; the middle moment refers to the mean of the moments corresponding to the two adjacent joint data sampling points;

[0024] Adjacent joint data correction points are connected by line segments in the coordinate system to obtain a corrected motion curve.

[0025] In one embodiment, the processing of the joint data of the secondary joints by using the joint jitter algorithm further comprises:

[0026] Classifying the kinematic sub-joints into multiple categories according to the joint data change interval;

[0027] Different T values ​​are assigned to different categories of the kinematic joints, wherein the larger the variation range of the joint data is, the smaller the corresponding T value is.

[0028] In one embodiment, the kinematic sub-joints are divided into multiple categories according to the change interval of the joint data, including: the kinematic sub-joints with the change interval of (-5°, 0°) are recorded as Class B joints; the kinematic sub-joints with the change interval of (-10°, 5°) are recorded as Class C joints; the kinematic sub-joints with the change interval of (-20°, 10°) are recorded as Class D joints; and the kinematic sub-joints with the change interval of (20°, 180°) are recorded as Class E joints.

[0029] In one embodiment, the method further includes: adjusting the viewing angle of the 3D model in the 3D model demonstration video in a visual interactive manner, specifically including:

[0030] Draw an arc on the horizontal plane with the position of the waist node of the 3D model character as the center, the distance s as the radius, and the angle r as the rotation angle. The end point of the arc is the position point of the virtual camera of the 3D software on the horizontal plane; and set the height value h of the virtual camera;

[0031] The position of the waist node of the 3D model character and the height value h are used as the position of the camera focus; the distance s, the height value h and the rotation angle are adjusted to adjust the observation angle of the virtual camera.

[0032] In one embodiment, the standard action demonstration video also includes a screen recording and cutout demonstration video, and the method for making the screen recording and cutout demonstration video includes:

[0033] The background in the video is removed, and only the character part is retained, thereby obtaining a semi-finished screen recording and cutout demonstration video;

[0034] The semi-finished screen recording and cutout demonstration video is saved as a video with a transparent background or a monochrome background, thereby obtaining the screen recording and cutout demonstration video.

[0035] In a second aspect, the present invention provides a joint flexibility assessment program preparation system, comprising a processor and a memory, wherein the memory stores computer program instructions, and when the computer program instructions are executed by the processor, the joint flexibility assessment program preparation method of the present invention is implemented.

[0036] The technical effect of the present invention is: the method for making a joint flexibility assessment program of the present invention allows users (doctors) to record the assessment actions and set the scoring criteria by themselves, form a joint flexibility assessment program, and record it in the storage of the device, so that users (patients) can conduct assessment and treatment, ensuring that the smart corrective lens can use the latest assessment method / algorithm for assessment and rehabilitation treatment, and the newly recorded program can be sent to other devices for circulation and use. Or the program can be submitted to the manufacturer, and the manufacturer optimizes and adjusts its program and updates it to the system's built-in program. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] By reading the following detailed description with reference to the accompanying drawings, the above and other objects, features and advantages of the exemplary embodiments of the present invention will become readily understood. In the accompanying drawings, several embodiments of the present invention are shown in an exemplary and non-limiting manner, and the same or corresponding reference numerals represent the same or corresponding parts, wherein:

[0038] Figure 1 is a flow chart schematically illustrating a method for preparing a joint flexibility assessment scheme according to an embodiment of the present invention;

[0039] Figure 2 Schematically shows the changes of whole body joint data according to an embodiment of the present invention;

[0040] Figure 3 is a schematic diagram schematically showing a software system UI interface of the smart corrective glasses according to an embodiment of the present invention;

[0041] Figure 4 The following is a schematic diagram of a method for producing a 3D model demonstration video according to an embodiment of the present invention. Figure 1 ;

[0042] Figure 5 is a flowchart schematically illustrating processing of joint data of a secondary joint according to an embodiment of the present invention;

[0043] Figure 6 is a flowchart schematically illustrating an embodiment of the present invention for obtaining a modified action curve;

[0044] Figure 7 is a schematic diagram schematically showing a modified action curve and an original action curve of an embodiment of the present invention;

[0045] Figure 8 is a schematic diagram schematically showing the positions of joint data sampling points in a corrected motion curve according to an embodiment of the present invention;

[0046] Fig. 9 is a flowchart schematically showing how to process joint data of a secondary joint using a joint jitter algorithm according to an embodiment of the present invention;

[0047] Fig.10 The following is a schematic diagram of a method for producing a 3D model demonstration video according to an embodiment of the present invention. Figure 2 ;

[0048] Fig.11 is a schematic diagram schematically showing the position relationship between a 3D model character and a virtual camera according to an embodiment of the present invention;

[0049] Fig.12 is a schematic diagram schematically illustrating a method for calculating a position of a virtual camera according to an embodiment of the present invention;

[0050] Fig.13 is a flow chart schematically illustrating a method for producing a screen recording and cutout demonstration video according to an embodiment of the present invention;

[0051] Fig.14 Schematic diagram of the structure of the joint flexibility assessment program preparation system according to an embodiment of the present invention. DETAILED DESCRIPTION

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

[0053] The specific embodiments of the present invention are described in detail below with reference to the accompanying drawings.

[0054] Example of method for preparing joint flexibility assessment program:

[0055] like Figure 1 As shown, the method for preparing a joint flexibility assessment program of the present invention comprises:

[0056] S101. Record standard action video and obtain joint data, specifically: the corrective glasses record the video of the doctor doing the standard action, select a sampling moment at a preset time interval in the video, and calculate the joint data of all joints of the doctor at each sampling moment; the joint data is used to characterize the rotation angle of the joint relative to each coordinate axis of the spatial coordinate system.

[0057] The doctor demonstrates the standard action in front of the corrective lens. In order to avoid inaccurate action, you can do it several times. Then select the start and end time of the recorded video to obtain a video of the standard action.

[0058] The smart correction mirror will display the joint data at the sampling moment on the screen in real time. The joint data is the spatial rotation direction (X-axis, Y-axis, and Z-axis values) of the joint connection point (bone), which is recorded at the same time interval (i.e., the preset duration) (for example, 0.1 seconds) to finally form a change table of the whole body joint data, such as Figure 2 As shown, the contents in the table include number, location, time and axial value, wherein the three elements in the axial value are respectively the angle of rotation along the X-axis of the spatial coordinate system, the angle of rotation along the Y-axis of the spatial coordinate system and the angle of rotation along the Z-axis of the spatial coordinate system.

[0059] S102, obtaining the standard interval of joint data of the joint to be evaluated, specifically: filtering out the joint data of each joint to be evaluated from the joint data of all joints during the standard action, and then obtaining the joint data interval of the joint to be evaluated, and recording it as the standard interval of joint data of the joint to be evaluated; the joint to be evaluated refers to the joint that must be moved when doing the standard action.

[0060] A standard action may correspond to one or more joints to be evaluated. If there may be more than one joint to be evaluated, the joint data intervals of the joints to be evaluated need to be obtained respectively. For a joint to be evaluated, the maximum and minimum values ​​of the joint data of the joint to be evaluated can be determined through all the joint data of the joint to be evaluated, and then its joint data interval can be determined.

[0061] After the joint data of each joint to be evaluated are screened, they can be manually corrected. The intelligent corrective lens software system can be developed to add the function of adjusting the joint data. The UI interface of the software system for adjusting the joint data is as follows: Figure 3As shown. A represents the image of the action recording, which users can use to observe the progress of the action; B: the name of this action, which can be set; the right side is the button to complete the setting, click it to proceed to the next step; C: action duration, that is, display the duration range of the entire action to give users a prompt; D: Evaluation joint, in this module you can check which joints this action specifically evaluates, when the joint is checked, the joint will be displayed in the E area below, and the joint point will be displayed on the recording a; E: Joint specific setting area, when a joint is selected in the D area, a joint data list will appear here, mainly the joint name, angle, time and adjusted angle value. In this area, users can clearly see the changes in angle recognition of joints at different times. When the recognized angle does not match the expectation (that is, the action recorded on the screen is incorrect / the action does not reach the established angle), you can enter the adjusted accurate value on the right side of the corresponding entry. When multiple joints are selected in D, this area will display the values ​​of multiple joints separately and simultaneously (the figure shows a schematic diagram of 2 selected joints); F: The progress bar of the action can be dragged and clicked left and right. When modifying the progress, A (screen recording) and E (joint value) will also be changed to the corresponding time zone stage at the same time.

[0062] S103 . For each joint to be evaluated, multiple joint data intervals are set according to its joint data standard interval, and a score corresponding to each joint data interval is set.

[0063] Normally, when a user has a problem with a joint, its range of motion will become smaller, and the joint data interval of the joint during the corresponding action will be smaller. Therefore, the score corresponding to each joint data interval can be set according to the ratio of the length of the joint data interval during the user's action to the length of the standard interval of the joint data. In one embodiment, for example: the score corresponding to the standard interval of joint data can be multiplied by the ratio to get the score of the user's joint. For example: assuming that the standard range of motion of the joint to be evaluated is [a, b], the score corresponding to the standard range of motion is m, and the actual joint data interval of the joint during the user's standard action is [c, d], then the score of the joint to be evaluated is

[0064]

[0065] After setting the corresponding scores for each joint data interval, when the user completes the action using the smart corrective glasses, the corresponding score can be obtained based on the interval to which the joint data of the joint to be evaluated belongs.

[0066] S104, making a standard action demonstration video, specifically: making a standard action demonstration video; the standard action demonstration video is used to show the patient the standard action so that the patient can imitate and perform the same action.

[0067] S105, saving the scores corresponding to the joint data intervals of the joints to be evaluated and the standard action demonstration video.

[0068] Each step in the joint flexibility evaluation scheme preparation method of this embodiment is used for smart corrective mirrors and is executed on the smart corrective mirrors. Therefore, it is necessary to develop the control system of the smart corrective mirrors, add import / entry functions to the control system of the smart corrective mirrors; functions for adjusting joint values, scores, etc.; functions for calling standard action demonstration videos to demonstrate this evaluation scheme; and functions for saving schemes, uploading / exporting schemes.

[0069] The method for preparing a joint flexibility assessment program of the present invention allows the user (doctor) to record the assessment action and set the scoring criteria by himself, so as to form a joint flexibility assessment program and record it in the storage of the device, so that the user (patient) can be evaluated and treated, ensuring that the smart corrective lens can use the latest assessment method / algorithm for assessment and rehabilitation treatment, and the newly recorded program can be sent to other devices for circulation and use. Alternatively, the program can be submitted to the manufacturer, and the manufacturer will optimize and adjust its program and update it to the system's built-in program.

[0070] like Figure 4 As shown, in one embodiment, the standard action demonstration video includes a 3D model demonstration video; and the method for making the 3D model demonstration video includes:

[0071] S201, taking the joint to be evaluated corresponding to the standard action as the main joint, and taking the other joints as secondary joints;

[0072] S202, using a joint jitter algorithm to process the joint data of the secondary joint, specifically: using a joint jitter algorithm to process the joint data of the secondary joint, so as to obtain the processed joint data of the secondary joint, wherein the joint jitter algorithm is used to make the jitter amplitude of the generated 3D model demonstration video smaller than a preset jitter amplitude threshold;

[0073] S203, generating a 3D model demonstration video, specifically: selecting a 3D model, and combining the joint data of the main joint and the joint data of the secondary joint with the 3D model according to the angle value of the virtual camera in the 3D software, thereby generating a 3D model demonstration video.

[0074] The 3D models include an adult male model, an adult female model, a little girl model and a little boy model.

[0075] like Figure 5 As shown, in one embodiment, the processing of the joint data of the secondary joints by using the joint jitter algorithm includes:

[0076] S301, dividing the static secondary joints and the moving secondary joints, specifically: dividing all the secondary joints into static secondary joints and moving secondary joints according to the inertia or physiological characteristics of the joints to be detected, wherein the static secondary joints refer to the joints whose positions are fixed during the standard action, and the moving secondary joints refer to the joints whose positions change during the standard action;

[0077] S302, for the static secondary joint, taking the average value of the joint data corresponding to the start time and the end time of the standard action as the value of the static secondary joint in the whole standard action process;

[0078] S303, for each kinematic sub-joint, obtaining processed joint data, specifically including: for each kinematic sub-joint, obtaining the corresponding corrected action curve, and calculating the ordinate value corresponding to each sampling moment on the corrected action curve, so as to obtain the processed joint data of the kinematic sub-joint at each sampling moment. The action curve is used to characterize the joint data corresponding to each sampling moment.

[0079] like Figure 6 As shown, in one embodiment, obtaining the modified action curve includes:

[0080] S701, obtaining an original motion curve, specifically: from the joint data of all sampling moments corresponding to the kinematic sub-joint, obtain a joint data corresponding to the kinematic sub-joint every time length T, record the obtained joint data point corresponding to the kinematic sub-joint as a joint data sampling point, establish a coordinate system with the joint data corresponding to the kinematic sub-joint as the vertical axis and time as the horizontal axis, and connect the points corresponding to the joint data sampling points in the coordinate system with line segments, so as to obtain the original motion curve;

[0081] For example: assuming that the joint data corresponding to all sampling moments of the kinematic joint include the joint data at 0.5 seconds, the joint data at 1 second, the joint data at 1.5 seconds, the joint data at 2 seconds, the joint data at 2.5 seconds and the joint data at 3 seconds, and the duration T is 1 second, then the joint data sampling points obtained are the joint data at the 1st second, the joint data at the 2nd second and the joint data at the 3rd second.

[0082] S702, obtaining joint data correction points, specifically: calculating the mean of the vertical coordinates of two adjacent joint data sampling points in the original action curve, and using the mean as the joint data of the joint at the middle moment between the corresponding two adjacent joint data sampling points, and drawing the corresponding point in the coordinate system, which is recorded as the joint data correction point; the middle moment refers to the mean of the moments corresponding to the two adjacent joint data sampling points.

[0083] S703 , obtaining a corrected motion curve, specifically: connecting adjacent joint data correction points with line segments in the coordinate system, thereby obtaining a corrected motion curve.

[0084] For a certain joint, the corrected action curve and the original action curve are as follows: Figure 7 As shown in the figure, the dotted line represents the corrected action curve, and the solid line represents the original action curve.

[0085] In this embodiment, the joint data sampling point T n Take the joint data sampling point T on the modified action curve as an example. n The ordinate values ​​corresponding to the sampling time include:

[0086] a The joint data correction points in the coordinate system are recorded as α1, α2…αm; the joint data sampling point T n The corresponding rotation angle is denoted as T n n, the corresponding time is recorded as T n s, the time corresponding to each joint data correction point is recorded as α1s, α2s…α m s, the rotation angles corresponding to the correction points of each joint data are recorded as α1n, α2n…α m n.

[0087] b. Judge T n s<α m Is s true? If true, it is true; if not, it is false. If the judgment result is true, continue to judge T n s<α m-1 Is s true? If it is still true, continue to judge T n s<α m-2 s is true, and the cycle continues until the result is false.

[0088] If the judgment result is false, the corresponding joint data correction point is α n , then the joint data sampling point T n The corresponding moment is at the joint data correction point α n The corresponding moment and joint data correction point is α n+1 In this embodiment, the joint data sampling point T can be calculated using the principle of similar triangles. n The corresponding new rotation angle, assuming that the joint data correction point is α n , joint data correction point is α n+1 and joint data sampling point T n The position in the corrected action curve is as follows Figure 8 As shown, the joint data correction point is α nThe corresponding time is X1, the rotation angle is Y1; the joint data correction point is α n+1 The corresponding time is X2, the rotation angle is Y2; the joint data sampling point T n The corresponding time is X T , the corresponding new rotation angle is Y T ; Then using triangle similarity, we can get:

[0089]

[0090] Since X1, Y1, X2, Y2, X T All are known quantities, and Y can be calculated T The numerical value of .

[0091] According to the corrected action curve, the vertical coordinate value corresponding to each sampling moment is obtained as the joint data after processing at each sampling moment, so that the rotation value curve (that is, the original action curve) is adjusted more smoothly and softly. When reflected in the animation, the change of the action amplitude displayed is also softer, and the redundant data impurities are removed, which greatly reduces the jitter amplitude of the 3D model demonstration video.

[0092] like Fig. 9 As shown, in one embodiment, the processing of the joint data of the secondary joints by using the joint jitter algorithm further includes:

[0093] S401, classifying the kinematic sub-joints into multiple categories according to the joint data change interval.

[0094] For example: in this embodiment, the kinematic sub-joints can be divided into four categories according to the change range of the angle of rotation of the kinematic sub-joints relative to the coordinate axis of the spatial coordinate system during the standard action, among which the kinematic sub-joints with the change range of (-5°, 0°) are recorded as Class B joints; the kinematic sub-joints with the change range of (-10°, 5°) are recorded as Class C joints; the kinematic sub-joints with the change range of (-20°, 10°) are recorded as Class D joints; and the kinematic sub-joints with the change range of (20°, 180°) are recorded as Class E joints.

[0095] S402, assigning different T values ​​to different categories of the kinematic joints, wherein the larger the joint data variation interval is, the smaller the corresponding T value is.

[0096] The specific value of T can be determined based on experiments.

[0097] Different T values ​​are assigned to class B joints, class C joints, class D joints and class E joints respectively.

[0098] like Fig.10As shown, in one embodiment, it also includes: adjusting the 3D model observation angle in the 3D model demonstration video in a visual interactive manner, specifically including:

[0099] S501, determine the observation position of the virtual camera, specifically: draw an arc on the horizontal plane with the position of the waist node of the 3D model character as the center, distance s as the radius length, angle r as the rotation angle, and the end point on the arc is the position point of the virtual camera of the 3D software on the horizontal plane; and set the height value h of the virtual camera.

[0100] The 3D software in this embodiment is 3D software that can be used to create 3D animations.

[0101] like Fig.11 As shown, the waist node of the 3D model character is M, and the position coordinates of M are (Mx, My, Mz). When the virtual camera is at position C1, it is at the same level as the waist node M of the 3D model character; when it is at position C3, it is higher than the waist node M of the 3D model character; when it is at position C2, it is directly below the waist node M of the 3D model character. Fig.12 As shown, assuming that the xoy plane coordinate system is established with the position of the waist node of the 3D model character as the origin, and the virtual camera is at position C1, the x-axis position of the virtual camera can be obtained from the cosine theorem as s*cosr+Mx, and the y-axis position of the virtual camera can be obtained from the cosine theorem as s*sinr+My.

[0102] For example: assuming that the coordinates of the character's waist position point are (3, 5, 75), the set rotation angle is r = 60°, the distance s = 150, and the height h is the same as the position height of the character's waist, then the final position point of the virtual camera is: the coordinate on the x-axis of the spatial rectangular coordinate system is 150*cos60+3=78.0, the coordinate on the y-axis of the spatial rectangular coordinate system is 150*sin60+5=134.9, and the coordinate on the z-axis of the spatial rectangular coordinate system is h=75.

[0103] S502, adjusting the observation angle of the virtual camera, specifically: taking the position of the waist node of the 3D model character and the height value h as the position of the camera focus; adjusting the distance s, the height value h and the rotation angle, thereby adjusting the observation angle of the virtual camera.

[0104] In one embodiment, Fig.13 As shown, the standard action demonstration video includes a screen recording and cutout demonstration video, and the method for making the screen recording and cutout demonstration video includes:

[0105] S601, removing the background in the video and retaining only the character part, thereby obtaining a semi-finished screen recording and cutout demonstration video.

[0106] S602. Save the semi-finished screen recording and cutout demonstration video as a video with a transparent background or a monochrome background, thereby obtaining the screen recording and cutout demonstration video.

[0107] When the user uses the corrective mirror to perform an action, the screen recording and cutout demonstration video is displayed on the screen, so that the user can refer to it when using the smart mirror to perform an action.

[0108] Joint flexibility assessment program making system embodiment:

[0109] The present invention also provides a joint flexibility assessment program making system. Fig.14 As shown, the joint flexibility assessment program making system includes a processor and a memory, wherein the memory stores computer program instructions, and when the computer program instructions are executed by the processor, the joint flexibility assessment program making method in the embodiment of the joint flexibility assessment program making method is implemented.

[0110] The joint flexibility assessment program making system also includes other components familiar to those skilled in the art, such as a communication bus and a communication interface, whose settings and functions are known in the art and will not be described in detail here.

[0111] In the present invention, the aforementioned memory may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, apparatus or device. For example, a computer-readable storage medium may be any suitable magnetic storage medium or magneto-optical storage medium, such as a resistive random access memory RRAM (Resistive Random Access Memory), a dynamic random access memory DRAM (Dynamic Random Access Memory), a static random access memory SRAM (Static Random-Access Memory), an enhanced dynamic random access memory EDRAM (Enhanced Dynamic Random Access Memory), a high-bandwidth memory HBM (High-Bandwidth Memory), a hybrid memory cube HMC (Hybrid Memory Cube), etc., or any other medium that may be used to store the required information and may be accessed by an application, a module, or both. Any such computer storage medium may be part of a device or accessible or connectable to a device. Any application or module described in the present invention may be implemented using computer-readable / executable instructions that may be stored or otherwise maintained by such a computer-readable medium.

[0112] In the description of this specification, "plurality" or "several" means at least two, such as two, three or more, etc., unless otherwise clearly and specifically defined.

[0113] Although this specification has shown and described a number of embodiments of the present invention, it will be apparent to those skilled in the art that such embodiments are provided by way of example only. Those skilled in the art will conceive of many modifications, changes and alternatives without departing from the ideas and spirit of the present invention. It should be understood that in the practice of the present invention, various alternatives to the embodiments of the present invention described herein may be employed.

Claims

1. A method for preparing a joint flexibility assessment program, characterized in that: include: The corrective lens records a video of the doctor performing standard movements, selects a sampling moment at a preset time interval in the video, and calculates the joint data of all joints of the doctor at each sampling moment; The joint data is used to represent the rotation angle of the joint relative to each coordinate axis of the space coordinate system; The joint data of each joint to be evaluated is screened out from the joint data of all joints in the standard action process, and then the joint data interval of the joint to be evaluated is obtained, and the interval is recorded as the joint data standard interval of the joint to be evaluated; the joint to be evaluated refers to the joint that must be moved when doing the standard action; For each joint to be evaluated, multiple joint data intervals are set according to its joint data standard interval, and the score corresponding to each joint data interval is set; Making a standard action demonstration video; the standard action demonstration video is used to show the patient the standard action so that the patient can imitate and perform the same action; The scores corresponding to each joint data interval of each joint to be evaluated and the standard action demonstration video are saved.

2. The method for preparing a joint flexibility assessment program according to claim 1, characterized in that: Setting the scores for each joint data interval includes: The ratio of the length of the joint data interval during the user's action to the length of the standard interval of the joint data is calculated, and the score corresponding to the standard interval of the joint data is multiplied by the ratio to obtain the user's score for the joint.

3. The method for preparing a joint flexibility assessment program according to claim 1, wherein: The standard action demonstration video includes a 3D model demonstration video; The method for making the 3D model demonstration video includes: The joint to be evaluated corresponding to the standard action is regarded as the main joint, and the other joints are regarded as the secondary joints; The joint data of the secondary joints are processed by a joint jitter algorithm, thereby obtaining the processed joint data of the secondary joints, wherein the joint jitter algorithm is used to make the jitter amplitude of the generated 3D model demonstration video smaller than a preset jitter amplitude threshold; A 3D model is selected, and the joint data of the main joint and the joint data of the secondary joint are combined with the 3D model according to the angle value of the virtual camera in the 3D software, so as to generate a 3D model demonstration video.

4. The method for preparing a joint flexibility assessment program according to claim 3, characterized in that: The method of processing the joint data of the secondary joints by using the joint jitter algorithm includes: According to the inertia or physiological characteristics of the joint to be detected, all the secondary joints are divided into static secondary joints and moving secondary joints. The static secondary joints refer to the joints whose positions are fixed during the standard action, and the moving secondary joints refer to the joints whose positions change during the standard action. For the static secondary joint, the average value of the joint data corresponding to the start time and the end time of the standard action is used as the value of the static secondary joint during the entire standard action process; For each joint of the kinematic sub-joint, the corresponding corrected action curve is obtained, and the ordinate value corresponding to each sampling moment on the corrected action curve is calculated, so as to obtain the processed joint data of the joint of the kinematic sub-joint at each sampling moment. The action curve is used to characterize the joint data corresponding to each sampling moment.

5. The method for preparing a joint flexibility assessment program according to claim 4, characterized in that: The obtaining of the corrected action curve comprises: From the joint data of all sampling moments corresponding to the kinematic sub-joint, take a joint data corresponding to the kinematic sub-joint every time length T, record the obtained joint data point corresponding to the kinematic sub-joint as the joint data sampling point, establish a coordinate system with the joint data corresponding to the kinematic sub-joint as the vertical axis and time as the horizontal axis, and connect the points corresponding to the joint data sampling points in the coordinate system with line segments, so as to obtain the original motion curve; Calculate the mean of the ordinates of two adjacent joint data sampling points in the original action curve, and use the mean as the joint data of the joint at the middle moment between the two adjacent joint data sampling points, and draw the corresponding point in the coordinate system, which is recorded as the joint data correction point; the middle moment refers to the mean of the moments corresponding to the two adjacent joint data sampling points; Adjacent joint data correction points are connected by line segments in the coordinate system to obtain a corrected motion curve.

6. The method for preparing a joint flexibility assessment program according to claim 4, characterized in that: The method of processing the joint data of the secondary joints by using the joint jitter algorithm also includes: Classifying the kinematic sub-joints into multiple categories according to the joint data change interval; Different T values ​​are assigned to different categories of the kinematic joints, wherein the larger the variation range of the joint data is, the smaller the corresponding T value is.

7. The method for preparing a joint flexibility assessment program according to claim 6, characterized in that: The kinematic sub-joints are divided into multiple categories according to the change range of joint data, including: the kinematic sub-joints with a change range of (-5°, 0°) are recorded as Class B joints; the kinematic sub-joints with a change range of (-10°, 5°) are recorded as Class C joints; the kinematic sub-joints with a change range of (-20°, 10°) are recorded as Class D joints; and the kinematic sub-joints with a change range of (20°, 180°) are recorded as Class E joints.

8. The method for preparing a joint flexibility assessment program according to claim 3, wherein: The method also includes: adjusting the viewing angle of the 3D model in the 3D model demonstration video in a visual interactive manner, specifically including: Draw an arc on the horizontal plane with the position of the waist node of the 3D model character as the center, the distance s as the radius, and the angle r as the rotation angle. The end point of the arc is the position point of the virtual camera of the 3D software on the horizontal plane; and set the height value h of the virtual camera; The position of the waist node of the 3D model character and the height value h are used as the position of the camera focus; the distance s, the height value h and the rotation angle are adjusted to adjust the observation angle of the virtual camera.

9. The method for preparing a joint flexibility assessment program according to any one of claims 1 to 8, characterized in that: The standard action demonstration video also includes a screen recording and cutout demonstration video, and the method for making the screen recording and cutout demonstration video includes: The background in the video is removed, and only the character part is retained, thereby obtaining a semi-finished screen recording and cutout demonstration video; The semi-finished screen recording and cutout demonstration video is saved as a video with a transparent background or a monochrome background, thereby obtaining the screen recording and cutout demonstration video.

10. A system for preparing a joint flexibility assessment plan, characterized in that: The method comprises a processor and a memory, wherein the memory stores computer program instructions, and when the computer program instructions are executed by the processor, the method for preparing a joint flexibility assessment program according to any one of claims 1 to 9 is implemented.

Citation Information

Patent Citations

  • Method and system for evaluating rehabilitation training based on motion sensing equipment

    CN107133489A

  • Posture correction method based on posture correction glasses and related assembly

    CN115914818A

  • Correcting mirror control method, device and equipment, storage medium and intelligent correcting mirror

    CN116153510A

  • Hand function evaluation method and device, equipment and storage medium

    CN116959704A

  • Work order delivery method and device, computing equipment and medium

    CN117151401A

Cited By

  • Remote evaluation method and system based on intelligent mirror equipment

    CN120032851A

  • Joint motion range evaluation method and device based on 3D human body measurement and video guidance

    CN121549805A