Human motor function auxiliary assessment method, device, equipment, system and medium
Through video analysis technology and key point detection technology, the motor function of Parkinson's disease patients is automatically assessed, which solves the subjectivity and time-consuming problems in the monitoring process in the existing technology, and achieves efficient and accurate motor function assessment, which is suitable for mobile use. Inconvenient patients.
Patent Information
- Application Number
- CN201911040330.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-10-29
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2039-10-29
AI Technical Summary
Existing technology has the problems of being highly subjective, time-consuming, and inaccurate in assessment results when monitoring the motor function of patients with Parkinson's disease. This is especially problematic for patients with mobility issues who regularly go to the hospital for check-ups.
By shooting videos of patients performing specified actions, using video analysis technology and key point detection technology, motion features are extracted and motion curves are generated, and automatic evaluation is performed based on the curve features to provide intelligent motor function evaluation results.
It realizes the intelligent assessment of motor functions of patients with Parkinson's disease, reduces the subjectivity and time-consuming of medical staff, allows patients to conduct assessment at home, improves monitoring efficiency and accuracy, and reduces the risk of disease delays.
Smart Images

Figure CN110738192B
Abstract
Description
Technical Field
[0001] The present application relates to the field of video processing technology, and in particular to a method, device, equipment, system and storage medium for auxiliary evaluation of human motor function. Background Art
[0002] Parkinson's disease is a chronic degenerative disorder of the central nervous system that impairs the patient's motor skills, speech ability and other abilities. Symptoms of Parkinson's disease include involuntary shaking of one side of the limbs, similar to the action of rubbing a pill in the hand, muscle pain or inability to straighten the body, dull facial expression, difficulty in starting movements, slow speech, etc. Generally, most Parkinson's disease patients are elderly. However, in recent years, Parkinson's disease has shown a trend of getting younger, and there are many young Parkinson's patients under the age of 40 in clinical treatment. Since Parkinson's disease is still not completely cured, and the cause of death of Parkinson's patients is often due to complications caused by Parkinson's symptoms, based on this, the current research on Parkinson's disease focuses more on how to better monitor the physiological data of Parkinson's patients, obtain analysis results by analyzing these physiological data, and provide the analysis results to patients or their families and medical staff for reference.
[0003] At present, medical staff monitor Parkinson's patients mainly by instructing patients to perform specific movements according to the World Movement Disorder Society-Parkinson's Unified Rating Scale (MDS-UPDRS) standards, observing the patient's limb movements with the naked eye, and giving motor function scores based on the observation results. This process takes doctors about 30 minutes and the evaluation results are subjective. The main reasons are: 1. It is difficult to capture the detailed movement patterns. 2. Different doctors have different experiences and evaluation standards, and the evaluation of the same patient is subjective.
[0004] Since Parkinson's disease patients have symptoms such as muscle stiffness or involuntary shaking, they cannot use their bodies, and in severe cases they may be paralyzed in bed and unable to move. However, the disease management of Parkinson's disease patients requires them to go to the hospital for reexamination and evaluation at regular intervals, which can be several months to several days depending on the severity of the disease. Parkinson's disease patients, who are already unable to move, suffer great pain when they go to the hospital on time. Many patients give up going to the hospital for examinations because of the inconvenience, and the patient's motor function cannot be monitored in a timely and effective manner. If the monitoring is not timely and the monitoring results are inaccurate, the disease management work will be restricted, which will in turn cause the problem of delayed disease treatment.
[0005] Of course, in addition to Parkinson's disease, many neurological diseases will have similar problems as mentioned above. Based on this, the market is in urgent need of an intelligent assessment solution for human motor function, which can further improve monitoring efficiency and accuracy while simplifying user operations, so as to facilitate users to complete human motor function monitoring anytime and anywhere. Summary of the invention
[0006] The embodiments of the present application provide a method, device, equipment, system and storage medium for auxiliary assessment of human motor function, which can intelligently monitor the motor function of patients and provide reference data for auxiliary assessment of physical condition for patients and medical staff.
[0007] In view of this, the first aspect of the present application provides a method for assisting assessment of human motor function, the method comprising:
[0008] Obtaining a motion video to be evaluated, wherein the motion video is a video obtained by shooting the object to be evaluated performing a specified action;
[0009] Performing human key point detection on each frame of the motion video to obtain human joint coordinates, and selecting key point coordinates corresponding to the specified action from the human joint coordinates in each frame of the image;
[0010] Determine the motion features of each frame of the image according to the coordinates of the key points in each frame of the image in the motion video;
[0011] Generate a motion curve according to the motion characteristics of each frame image in the motion video;
[0012] Extracting curve features according to the motion curve to obtain motion curve features;
[0013] The motor function evaluation result corresponding to the object to be evaluated is determined based on the motion curve characteristics through a preset evaluation algorithm.
[0014] The second aspect of the present application provides a method for assisting assessment of human motor function, the method comprising:
[0015] Obtaining a motion video to be evaluated, wherein the motion video is a video obtained by shooting the object to be evaluated performing a specified action;
[0016] Performing human key point detection on each frame of the motion video to obtain human joint coordinates, and selecting key point coordinates corresponding to the specified action from the human joint coordinates in each frame of the image;
[0017] Determine the motion features of each frame of the image according to the coordinates of the key points in each frame of the image in the motion video;
[0018] A motion curve is generated according to the motion features of each frame image in the motion video, and the motion curve is used for auxiliary evaluation processing of human motion function.
[0019] The third aspect of the present application provides a human body movement function auxiliary evaluation device, the device comprising:
[0020] A video shooting unit, used to obtain a motion video to be evaluated, wherein the motion video is a video obtained by shooting the object to be evaluated performing a specified action;
[0021] A key point detection unit, used to perform human key point detection on each frame of the motion video to obtain human joint coordinates, and select key point coordinates corresponding to the specified action from the human joint coordinates in each frame of the image;
[0022] A motion feature determination unit, configured to determine the motion feature of each frame of the image in the motion video according to the coordinates of the key points in each frame of the image;
[0023] A motion curve generating unit, used for generating a motion curve according to the motion characteristics of each frame image in the motion video;
[0024] A curve feature extraction unit, used for extracting curve features according to the motion curve to obtain motion curve features;
[0025] The motor function evaluation unit is used to determine the motor function evaluation result corresponding to the object to be evaluated based on the motion curve characteristics through a preset evaluation algorithm.
[0026] A fourth aspect of the present application provides a human motor function auxiliary assessment device, the device comprising:
[0027] A video shooting unit, used to obtain a motion video to be evaluated, wherein the motion video is a video obtained by shooting the object to be evaluated performing a specified action;
[0028] A key point detection unit, used to perform human key point detection on each frame of the motion video to obtain human joint coordinates, and select key point coordinates corresponding to the specified action from the human joint coordinates in each frame of the image;
[0029] A motion feature determination unit, configured to determine the motion feature of each frame of the image in the motion video according to the coordinates of the key points in each frame of the image;
[0030] A motion curve generating unit, used for generating a motion curve according to the motion characteristics of each frame image in the motion video;
[0031] A fifth aspect of the present application provides a human body movement function auxiliary evaluation system, the system comprising:
[0032] A first video shooting device, a first auxiliary evaluation device and a first video analysis device; wherein,
[0033] The first video shooting device is used to shoot the motion video to be evaluated by the object to be evaluated performing a specified action;
[0034] The first auxiliary evaluation device is used to send the motion video to be evaluated to the first video analysis device;
[0035] The first video analysis device is used to perform human key point detection on each frame of the motion video to obtain human joint coordinates, select key point coordinates corresponding to the specified action from the human joint coordinates in each frame of the motion video; determine the motion features of each frame of the motion video according to the key point coordinates in each frame of the motion video; generate a motion curve according to the motion features of each frame of the motion video; extract curve features according to the motion curve to obtain motion curve features; determine the motion function evaluation result corresponding to the object to be evaluated based on the motion curve features through a preset evaluation algorithm; and send the motion curve and the motion function evaluation result corresponding to the object to be evaluated to the first auxiliary evaluation device;
[0036] The first auxiliary evaluation device is further used to display the motion curve and the motor function evaluation result corresponding to the object to be evaluated on an auxiliary evaluation interface.
[0037] A sixth aspect of the present application provides a human body movement function auxiliary evaluation system, the system comprising:
[0038] A second video shooting device and a second video analysis device; wherein,
[0039] The second video shooting device is used to shoot the object to be evaluated performing a specified action to obtain a motion video to be evaluated, and send the motion video to be evaluated to the second video analysis device;
[0040] The second video analysis device is used to perform human key point detection on each frame of the motion video to obtain human joint coordinates, and select key point coordinates corresponding to the specified action from the human joint coordinates in each frame of the motion video; determine the motion features of each frame of the motion video according to the key point coordinates in each frame of the motion video; generate a motion curve according to the motion features of each frame of the motion video; extract curve features according to the motion curve to obtain motion curve features; determine the motion function evaluation result corresponding to the object to be evaluated based on the motion curve features through a preset evaluation algorithm; and send the motion curve and the motion function evaluation result corresponding to the object to be evaluated to the second video shooting device;
[0041] The second video shooting device is also used to display the motion curve and the motor function evaluation result corresponding to the object to be evaluated.
[0042] A seventh aspect of the present application provides a human motor function auxiliary assessment device, the device comprising a processor and a memory:
[0043] The memory is used to store program code and transmit the program code to the processor;
[0044] The processor is used to execute the steps of the above-mentioned human motor function auxiliary assessment method according to the instructions in the program code.
[0045] An eighth aspect of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium is used to store program codes, and the program codes are used to execute the steps of the above-mentioned human motor function auxiliary assessment method.
[0046] It can be seen from the above technical solutions that the embodiments of the present application have the following advantages:
[0047] In an embodiment of the present application, a method for assisting the evaluation of human motor function is provided, in which a motion video of an object to be evaluated is taken, and then the motion video is analyzed to obtain the motion characteristics of the limbs of the object to be evaluated in the video, and a motion curve is generated, and the motor function of the object to be evaluated is evaluated based on the motion curve, thereby realizing an intelligent evaluation of the motor function of the object to be evaluated, and providing reference data for assisting the evaluation of the physical condition for patients and medical staff. This method is based on video processing, video analysis technology and key point detection technology, and can dig out the detailed motion characteristics of the object to be evaluated, analyze the motion law of the object to be evaluated in the motion video, and avoid the limitations of medical staff's naked eye observation to a certain extent, while avoiding the subjectivity of medical staff's judgment, and providing valuable reference data for doctors to assist doctors in making medical diagnoses.
[0048] At the same time, since the human motor function auxiliary evaluation method provided above can analyze the movement of the subject to be evaluated and automatically provide the evaluation results for the subject to be evaluated, the subject can evaluate his / her physical condition at home without having to go to the hospital for regular check-ups. In this way, the problem of patients with limited mobility needing to go to the hospital for regular check-ups is solved, and medical staff can also be assisted in monitoring the patient's physical condition. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] Figure 1 An application scenario diagram of a method for assisting assessment of human motor function provided in an embodiment of the present application;
[0050] Figure 2 A schematic diagram of a flow chart of a method for assisting assessment of human motor function provided in an embodiment of the present application;
[0051] Figure 3 A schematic diagram of image target detection provided by an embodiment of the present application;
[0052] Figure 4A schematic diagram of the target detection model structure provided in the embodiment of the present application;
[0053] Figure 5 A schematic diagram of a target area adjustment process in an image provided by an embodiment of the present application;
[0054] Figure 6 A schematic diagram of another process of adjusting a target area in an image provided by an embodiment of the present application;
[0055] Figure 7 A comparison diagram of the effects before and after image adjustment provided in an embodiment of the present application;
[0056] Figure 8a A schematic diagram of body joints identified using key point detection technology provided in an embodiment of the present application;
[0057] Figure 8b A schematic diagram of hand joints identified using key point detection technology provided in an embodiment of the present application;
[0058] Fig. 9 A schematic diagram of image quality detection provided in an embodiment of the present application;
[0059] Fig.10 A schematic diagram of the structure of a deep learning model for key point detection provided in an embodiment of the present application;
[0060] Fig.11 A schematic diagram of a portion of feature maps in the third stage of a deep learning model for key point detection provided in an embodiment of the present application;
[0061] Fig.12 A schematic diagram of calculating the convex hull area of a selected key point provided in an embodiment of the present application;
[0062] Fig.13 A schematic diagram of motion amplitude characteristic curves of four hand movements provided in an embodiment of the present application;
[0063] Fig.14 A schematic diagram of another method for assisting in assessing human motor function provided in an embodiment of the present application;
[0064] Fig.15a A schematic diagram of the structure of a human body movement function auxiliary evaluation system provided in an embodiment of the present application;
[0065] Fig.15b A schematic diagram of an evaluation report provided in an embodiment of the present application;
[0066] Fig.15c A schematic diagram of a process of applying the auxiliary evaluation method for human motor function provided in an embodiment of the present application to a hospital clinic scenario;
[0067] Fig.16 A schematic diagram of the structure of another human motor function auxiliary assessment system provided in an embodiment of the present application;
[0068] Fig.17 A schematic diagram of a process of applying the auxiliary evaluation method for human motor function provided in an embodiment of the present application to a hospital clinic scenario;
[0069] Fig.18 A schematic diagram of a flow chart of a method for assisting assessment of human motor function provided in an embodiment of the present application;
[0070] Fig.19 A schematic diagram of the structure of a human motor function auxiliary assessment device provided in an embodiment of the present application;
[0071] Fig. 20 It is a schematic diagram of a server structure provided in an embodiment of the present application;
[0072] Fig.21 A schematic diagram of the structure of a terminal device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0073] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0074] The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein, for example. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0075] In view of some problems existing in the current scheme of medical staff manually monitoring the patient's motor function with the naked eye, such as strong human subjectivity, low reliability of evaluation results, time-consuming evaluation process, and the need for patients to repeat actions on site many times, which makes it difficult for patients to cooperate, the embodiment of the present application provides an auxiliary evaluation method for human motor function. By shooting the motion video generated by the patient performing specified actions, the patient's movement patterns are analyzed through video analysis technology and key point detection technology, and the patient's motor function is automatically evaluated based on the movement patterns, thereby realizing intelligent evaluation of the patient's motor function.
[0076] It should be noted that the human motor function auxiliary assessment method provided in the embodiment of the present application can be used not only for scenarios where motor function assessment is performed on patients with neurological diseases, such as Parkinson's disease patients, ataxia patients, etc., but can also be used in other scenarios where human motor function assessment is required. No limitation is made to the specific application scenarios of the human motor function auxiliary assessment method provided in the embodiment of the present application.
[0077] It should be understood that the human motor function auxiliary assessment method provided in the embodiment of the present application can be independently applied to devices with data processing capabilities, such as terminal devices, servers, etc., and can also be implemented by the mutual cooperation of terminal devices and servers; wherein, the terminal device can specifically be a computer, a smart phone, a personal digital assistant (PDA), etc.; the server can specifically be an application server or a Web server. In actual deployment, the server can be an independent server or a cluster server.
[0078] In order to facilitate understanding of the technical solution provided by the embodiment of the present application, an application scenario of the human motor function auxiliary assessment method provided by the embodiment of the present application implemented by the cooperation between the terminal device and the server is introduced below.
[0079] See also Figure 1 , Figure 1 This is an application scenario diagram of a method for assisting the assessment of human motor function provided in an embodiment of the present application. Figure 1 As shown, the application scenario includes: a terminal device 101 and a server 102.
[0080] Among them, the terminal device 101 is used to shoot the patient's movement video and upload the movement video to the server 102; the server 102 is used to execute the human motor function auxiliary assessment method provided in the embodiment of the present application, determine the patient's motor function assessment result, thereby realizing automatic assessment of the patient's motor function status, and providing patients and medical staff with reference data for monitoring their physical condition.
[0081] In specific applications, the terminal device 101 captures a motion video of a patient performing a specified action, and uploads the motion video to the server 102. After receiving the motion video, the server 102 determines the motion features of each frame image according to the coordinates of key points in each frame image in the motion video, generates a motion curve according to the motion features of each frame image in the motion video, and extracts curve features from the motion curve to obtain motion curve features, and then determines the motor function evaluation result corresponding to the object to be evaluated based on the motion curve features through a preset evaluation algorithm.
[0082] The human body movement function auxiliary evaluation method provided by the present application is introduced below through examples.
[0083] See also Figure 2 , Figure 2 The following is a flow chart of a method for assisting the evaluation of human motor function provided in an embodiment of the present application. The method is suitable for evaluating human motor function. For ease of description, the following embodiment takes a server as an example to introduce the method for assisting the evaluation of human motor function. Figure 2 As shown, the human body movement function auxiliary assessment method comprises the following steps:
[0084] Step S201: obtaining a motion video to be evaluated, wherein the motion video is a video obtained by shooting a subject to be evaluated performing a specified action.
[0085] It is understandable that the server needs to obtain the motion video to be evaluated, where the motion video refers to a video obtained by shooting the object to be evaluated performing a specified action; wherein the object to be evaluated may be a patient who needs to undergo motor function evaluation, such as a Parkinson's patient.
[0086] In practical applications, for example, when evaluating the motor function of Parkinson's patients, patients are usually required to perform specified actions according to the MDS-UPDRS standard, such as pointing fingers, clenching fists, and tapping toes, etc., based on which the patient's motor function is evaluated. For each action performed, a motion video is taken of the patient to be evaluated and sent to the server so that the server can analyze the video after receiving it.
[0087] Furthermore, when the server performs subsequent analysis on the motion video, it focuses on the moving parts that perform the specified action, such as hands, face or feet, etc. Therefore, before starting to shoot the motion video of the object to be evaluated, the shooting device can use the target detection algorithm and the position correction algorithm to locate the moving parts of the object to be evaluated according to the shooting requirements, and then automatically calculate the best shooting angle of the corresponding part, automatically adjust the camera focus so that the moving limb is in the center of the picture and occupies a larger frame, and then start shooting, so as to obtain high-quality motion video for further motion video analysis.
[0088] The above target detection algorithm is introduced below.
[0089] In a specific implementation, the target area detection can be performed on the initially collected image through the target detection model to obtain the target area, where the target area is the position of the detection part corresponding to the specified action in the image.
[0090] Before shooting a motion video, the shooting device may first shoot an image of the object to be evaluated and input it into a target detection model to locate the target area in the image; wherein the target area may be understood as the position of the moving part of the object to be evaluated performing a specified action in the image.
[0091] In the specific implementation, the initially acquired image and the detection target (such as the hand) are input into the above target detection model, and the position coordinates of the target area in the image are output. For ease of understanding, take the detection of the hand of the object to be evaluated in the image as an example, Figure 3 shown.
[0092] See also Figure 3 , Figure 3 The figure is a schematic diagram of detecting the hand area of a person in an image. In this figure, the starting image is input into the target detection model, and after detection by the model, the target area detection result ((x0, y0), (x1, y1)) is output; where (x0, y0) represents the coordinates of the upper left corner of the box in the figure, that is, the distances from the point to the left edge and the top edge of the image are x0 and y0 respectively, and (x1, y1) represents the coordinates of the lower right corner of the box in the figure, that is, the distances from the point to the left edge and the top edge of the image are x1 and y1 respectively.
[0093] It should be noted that the above target detection model is a pre-trained model with the ability to detect target areas. The image to be detected and the detection target are used as the input of the model, and the coordinates of the target area are used as the output.
[0094] See also Figure 4 , Figure 4 This is a schematic diagram of the target detection model structure. Figure 4 As shown, the target detection model structure is introduced below.
[0095] The target detection model can be divided into two parts: the basic network block and the multi-scale feature block. The basic network block is used to extract features from the original image. You can choose a commonly used deep convolutional neural network, such as VGG, ReseNet and other feature extraction networks. The multi-scale feature block mainly reduces the height and width of the feature map input in the previous layer (such as halving), thereby supporting the network model to extract feature maps and anchor boxes of different scales, and improving the network's detection effect on target objects of different sizes.
[0096] For example: if you want to detect larger objects in an image, you can reduce the height and width of the feature map provided by the previous layer in the multi-scale feature block (e.g., halve it), so that the receptive field of each unit in the feature map on the input image becomes wider, so the anchor boxes generated based on the feature map are also fewer. In addition, the receptive field of each unit in the feature map is larger, so it is more suitable for detecting larger objects in the image. If you want to detect smaller objects, you only need to increase the height and width of the feature output of the basic network and reduce the scale scaling.
[0097] In practical applications, the target detection model can be designed according to the needs. The basic network block is not limited to the VGG and ResNet networks provided above, but can also be other deep learning networks with feature extraction capabilities. The multi-scale feature block can adjust the network parameters according to the actual detected target size to obtain higher quality shooting effects. No limitation is made on the specific structure of the model here.
[0098] After obtaining the position of the target area according to the above target detection algorithm, the position correction algorithm can be used to automatically calculate the position deviation between the target area and the center of the image screen, so as to adjust the shooting angle in order to obtain high-quality motion video for subsequent analysis.
[0099] The position correction algorithm is introduced below.
[0100] First, the horizontal position deviation between the target area detected by the target detection model and the center of the image screen can be determined, and then the shooting angle of the shooting device can be adjusted according to the horizontal position deviation control so that the detection part in the image is located in the center of the shooting screen; then, the proportion of the target area in the image screen can be determined, and then the focal length of the shooting device can be adjusted according to the proportion control so that the proportion of the detection part in the shooting screen falls within a preset range.
[0101] For ease of understanding, the process of calculating the position deviation and then adjusting the shooting angle according to the position deviation is introduced by taking the camera shooting a target person as an example. Figure 5 , Figure 5 A schematic diagram of a process for adjusting a target area in an image provided in an embodiment of the present application.
[0102] exist Figure 5In the figure, 501 represents the picture taken before the camera position is adjusted, wherein the circle represents the center of the image, the solid rectangular frame represents the position of the target person locked by the target detection algorithm, and the prism in the middle of the solid rectangular frame represents the position center of the target person. As can be seen from 501, the horizontal offset distance between the position of the target person and the center of the image is d1, and the vertical offset distance is d2. Therefore, it is necessary to move the camera horizontally by a distance of d1 and vertically by a distance of d2 to obtain a new picture, as shown in 502, which represents the picture taken after the position of the target person is adjusted. At this time, the prism in the middle of the solid rectangular frame overlaps with the middle circle of 502, which means that the target person is located in the center of the picture.
[0103] According to the camera shooting angle obtained above, the target person is already in the center of the camera screen. At this time, it is necessary to further adjust the size of the target person in the camera. By calculating the proportion of the target person in the captured image, move the device on the Z axis of the device. When the target person is too large (out of the frame), the device moves along the Z axis to move the camera away from the patient and adjust the camera focal length. When the patient's proportion in the frame is too small, the device moves along the Z axis to move the camera closer to the patient and adjust the camera focal length.
[0104] exist Figure 5 Based on the above, the process of calculating the weight, moving and adjusting the camera is introduced. Figure 6 , Figure 6 A schematic diagram of another process for adjusting a target area in an image provided in an embodiment of the present application.
[0105] like Figure 6 As shown, 601 shows that the target person is too far away from the camera and the target person image is too small. At this time, the device needs to be moved along the Z axis to make the camera closer to the target person, and the camera focus needs to be adjusted to obtain a clear and enlarged target person image, as shown in 602.
[0106] exist Figure 6 In the figure, the distances between the target person and the two sides of the image are Dw and Dh respectively, and the length and width of the image are W and H respectively. Assuming that the moving distance required to move the device close to the target person is M (cm), then:
[0107] M=0.8·Dw·α (Dw <Dh) (1)
[0108] or:
[0109] M=0.8·Dh·α (Dh <Dw) (2)
[0110] Here, α is the coefficient between the moving distance of the device along the Z axis and the screen adjustment distance, and the coefficient can be determined through experiments.
[0111] In summary, after the target detection algorithm and the camera posture correction algorithm are calculated, the target area position can be acquired, the offset distance can be calculated, and the shooting angle can be adjusted autonomously so that the target area is located in the center of the shooting screen as much as possible. At the same time, the device can move the camera along the Z axis to increase or decrease the size of the target patient in the screen, adjust the focal length, and improve the clarity of the shooting. Based on this, Figure 3 After the above processing, the initial image shown in the figure is shown in the figure. Figure 7 As shown, Figure 7 for Figure 3 Schematic diagram of the effects before and after adjustment of the initial image.
[0112] It should be understood that the above is only an exemplary description of the process of adjusting the position of the target area in the image. In actual applications, the shooting device can be other devices with shooting functions, such as cameras, mobile phones, etc. The initially collected images may have other problems that need to be adjusted. For different shooting conditions, taking the above process as an example, corresponding adjustments are made. No specific limitations are made here for other situations.
[0113] Furthermore, the quality of the initial image collected can be tested to improve the quality of the video. Since the subsequent analysis of the motion video requires a comprehensive analysis of the motion of the object to be evaluated, if the object to be evaluated is not captured during the motion or some of its body joints are not captured, the accuracy of the subsequent video analysis will be seriously affected.
[0114] Therefore, by testing the initial image quality, when the image quality test fails, the shooting angle and focal length are adjusted in time, and the image is re-shot to obtain a qualified shot image. Based on this, the motion video shot by the object to be evaluated is used for subsequent analysis to obtain a more accurate evaluation result.
[0115] The above-mentioned image quality detection is introduced below.
[0116] First, human key point detection is performed on the initial image initially collected to obtain human joint coordinates, and the number of human joints is obtained based on the human joint coordinates in the initial image. Then, the ratio of the number of human joints to the number of joints to be detected corresponding to the specified action is determined; when the ratio is greater than the joint detection rate threshold corresponding to the specified action, it is determined that the quality of the initially collected image is qualified, and a prompt is given to start shooting the motion video.
[0117] Among them, the human key point detection process can be understood as automatically identifying the human joint positions in the initial image. The joint positions are determined by two pixel positions, that is, the distance between the position of a joint in the image and the left edge and the upper edge of the image, denoted as: (x, y).
[0118] It should be noted that the above human key point detection can identify the body joints and hand joints of the person in the image. For ease of understanding, see Figure 8a and Figure 8b ,in, Figure 8a A schematic diagram of identifying human body joints using the human key point detection technology provided in an embodiment of the present application; Figure 8b Schematic diagram of human hand joint recognition using the human key point detection technology provided in an embodiment of the present application.
[0119] Specifically, in Figure 8a In the figure, numbers 0-24 correspond to the 25 joints of the human body, namely: nose, neck, right shoulder, right elbow, right wrist, left shoulder, left elbow, left wrist, middle of buttocks, right buttocks, right knee, right ankle, left buttocks, left knee, left ankle, right eye, left eye, right ear, left ear, left big toe, left little toe, left heel, right big toe, right little toe, right heel.
[0120] exist Figure 8b In the figure, the 21 joints of the hand corresponding to the numbers 0-20 are: the lunate bone (0), the trapezoid bone (1), the three movable joints of the thumb (2-4), the four movable joints of the index finger (5-8), the four movable joints of the middle finger (9-12), the four movable joints of the ring finger (13-16), and the four movable joints of the little finger (17-20). The figure is a schematic diagram of the right hand, and the left hand corresponds to it.
[0121] In practical applications, after using the above-mentioned human key point detection technology to detect the human joints in the initial image, the number of detected joints is counted, and then the ratio of the number of detected joints to the number of joints to be detected that perform the specified action is calculated. By comparing the ratio with the threshold, it is determined whether the initial image is qualified.
[0122] Specifically, assume that the number of detected joints is J detect , the number of joints to be detected of the moving limb is: J target , then the joint detection rate: J rate =J detect / J target 100%. Assuming that the joint detection rate threshold is set to J0, when J rate >J0, the image quality is considered qualified and you can click to enter the next step - sports video recording stage. Otherwise, you need to adjust the device shooting angle until the joint detection rate is greater than J0. target The number of joints to be detected varies according to different video shooting actions. When shooting hand movements, the number of joints to be detected for each hand is 21. When shooting body movement videos, the number of joints to be detected becomes 25. Figure 8a and Figure 8b .
[0123] For ease of understanding, refer to Fig. 9 , Fig. 9 which is a schematic diagram of image quality detection provided by an embodiment of this application. Taking the action of photographing a hand as an example, the above image quality detection process will be introduced.
[0124] Perform key point detection on the initial image. As shown in 901 of Fig. 9 , the number of joints detected in 901 is J detect = 10 joints, and the number of joints to be detected is: J target = 21, then the joint detection rate: J rate = 10 / 21·100% = 48%. Assume the joint detection rate J0 = 95%. At this time, J rate < J0, the image is unqualified. Adjust the shooting angle in time, reshoot to obtain an image, and detect the image. As shown in 902 of Fig. 9 , the joint detection rate J of the image taken after adjustment is detected rate = 100% > J0, the image is qualified, and it is prompted to start shooting a motion video.
[0125] The above has described Figure 2 how to obtain the motion video to be evaluated and the shooting process of the motion video. Next, please refer back to Figure 2 . After obtaining the motion video to be evaluated in step S201, further execute step S202.
[0126] Step S202: Perform human key point detection on each frame of the motion video to obtain human joint coordinates, and select the key point coordinates corresponding to the specified action from the human joint coordinates in each frame of the image.
[0127] After the server obtains the motion video, it is necessary to analyze each frame of the video frame by frame. Specifically, the server can use the above human key point technology to detect the human joint coordinates in the image and select different key points from the human joint coordinates of each frame of the image.
[0128] It can be understood that for different actions, the corresponding human joint points are different. Here, the so-called human joint points can be understood as human skeletal joint points. Therefore, the human joint points that need to be concerned about are also different. For example, when performing the finger-opposing action, the index finger (point 8) and the thumb tip (point 4) in Figure 8b can be selected as key points.
[0129] Wherein, the human key point detection process can be understood as using an end-to-end deep learning model to identify the input image and output the response map of the body joint position of the image to , wherein the position of the maximum value in the response map is the predicted position of the human joint. The human key point detection here is the same as the human key point detection mentioned in the above step S201, both of which identify the joints in the image and output the identified human joint position coordinates.
[0130] In specific implementation, the image to be detected can be input into a pre-trained deep learning model, and the first network part in the deep learning model can be used to perform feature extraction on the image to be detected to form a primary feature image which is input into the second network. The second network part can perform multi-level and multi-dimensional feature extraction based on the image to be detected and the primary feature image to obtain a body joint position response map output by the last layer of the second network part; the coordinates of the position of the maximum value in the body joint position response map are used as the detected human joint coordinates.
[0131] For easier understanding, see Fig.10 , Fig.10 A schematic diagram of the human body key point detection model structure provided in an embodiment of the present application.
[0132] The above deep learning model is divided into two parts. The first network part corresponds to Fig.10 The first stage (stage1) in the image is used to extract features from the input image and form a primary feature image to be input into the second network. The second network part corresponds to Fig.10 The second stage (stage2), the third stage (stage3) and subsequent stages in the method are used to perform multi-level and multi-dimensional feature extraction based on the input original image and the primary feature image output by the first network part, and output a response map of the body joint positions in the image in the last layer, and use the coordinates of the position of the maximum value in the response map as the detected human joint coordinates.
[0133] Here, taking the above model receiving an RGB image of a half-body model (predicting 9 body joints of the upper body) as input as an example, the process of using the model to realize key point detection is introduced.
[0134] Stage 1: The first stage is a basic convolutional network (convs box) that directly predicts the response of each part from the color image. For example, a half-body model has 9 body joints and a background response. In this stage, a total of 10 layers of response images are obtained. At the same time, the size of the response image is unified to 46*46.
[0135] Stage 2: The second stage also predicts the response map of each joint from the color image, but there is an additional concatenation layer (concat box) between the two convolutional networks (convs box). This process helps merge the feature data of the following three aspects at the channel level:
[0136] 1. Texture features. The second stage of the convolutional network is responsible for extracting the texture features of the image, such as Fig.10 -As shown in the first convs box in Stage 2, the output response map size of this stage is 46*46*32.
[0137] 2. Spatial features. There are two convolutional networks in the second stage. The first convolutional network extracts texture features and merges them with the spatial features of the first stage through a series layer process. The scale of the spatial features in the first stage is 46*46*10.
[0138] 3. Center constraint feature. In order to make the feature response of each stage located in the center of the image, starting from Stage 2, a center constraint feature is added to each stage. This feature is a Gaussian function template used to bring the response to the center of the image.
[0139] Stage 3: The third stage no longer uses the original image as input, but takes a feature map with a depth of 128 from the first convolutional network in the second stage as input. The same series layer is used to merge three features: texture features, spatial features, and center constraint features. Some feature maps obtained in this stage are as follows Fig.11 As shown, the left side is the original input image.
[0140] Subsequent stages: The structure of the fourth stage is exactly the same as that of the third stage. When designing a more complex network (increasing the network depth), you only need to repeat the structure of the third stage. The structure of the fourth stage and subsequent stages is the same as that of the third stage. At the same time, when you need to predict different numbers of human key points (joint points) (for example, predicting the whole body model, hand model), you only need to adjust the number of response maps required in each stage. For example: to predict a 25-keypoint model for the whole body, you need to change the response map output to 25 layers. To predict a 21-keypoint model for the hand, you need to change the number of response maps to 21 layers.
[0141] It should be noted that the above is only an exemplary description of the deep learning model structure for human key point detection. In actual application, the specific parameters and network structure of the model can be set according to needs to realize the detection of body joints in the image. No limitation is made here.
[0142] Step S203: determining the motion features of each frame of the image in the motion video according to the coordinates of the key points in each frame of the image.
[0143] After determining the coordinates of the key points in each frame of the image, the server needs to determine the motion features in each frame of the image based on the coordinates of the key points, wherein the motion features can be understood as the body shape corresponding to the execution of the action.
[0144] Since different test actions have different corresponding motion features, different methods are needed to extract motion information in each frame of the motion video, which can be represented by feature values.
[0145] In specific implementation, a target extraction algorithm corresponding to the specified action may be selected from a plurality of preset extraction algorithms, wherein the extraction algorithms include: a distance extraction algorithm, an area extraction algorithm, and an angle extraction algorithm.
[0146] When the target extraction algorithm is a distance extraction algorithm, for each frame of the motion video, the coordinate distance is determined according to the coordinates of the key points in each frame of the motion video as the motion feature of each frame of the motion video.
[0147] Assuming that the coordinates of the selected key points are (x0, y0) and (x1, y1), the distance value dist can be expressed as:
[0148]
[0149] When the target extraction algorithm is an area extraction algorithm, for each frame image in the motion video, the convex hull area is determined according to the coordinates of key points in each frame image as the motion feature of each frame image.
[0150] For area classes, it is usually necessary to calculate the area of the convex hull of the selected key points, such as Fig.12 As shown, Fig.12 A schematic diagram showing a method of calculating the convex hull area of a selected key point provided in an embodiment of the present application.
[0151] exist Fig.12 In , the dots represent the set of all key points, and the polygonal area represents the convex hull area surrounded by the key points. The area of the convex hull area is obtained as the feature value of a single image. Assuming that the key point set is X, and the convex hull S is the intersection of all convex sets containing the key point X, then:
[0152]
[0153] When the target extraction algorithm is an angle extraction algorithm, for each frame of the motion video, the joint angle is determined according to the coordinates of the key points in each frame of the motion video as the motion feature of each frame of the motion video.
[0154] Assuming that the coordinates of the selected key points are (x0, y0) and (x1, y1), the distance value ang can be expressed as:
[0155] ang=tan -1 2(y1-y0,x1-x0) (5)
[0156] Step S204: Generate a motion curve according to the motion features of each frame of the motion video. After the key points are selected, due to the different shooting conditions of different videos, there are differences in the distance between the camera and the object to be evaluated and the focal length of the shooting device when each video is shot. For example: when extracting the distance features of the patient, if the camera is far away from the patient, the calculated distance between the joints is smaller; if the camera is closer to the patient, the calculated distance between the joints will become larger. Therefore, when processing the motion features in different video image frames, the obtained feature values need to be normalized.
[0157] In specific implementation, a normalization coefficient may be determined according to the motion features of each frame image in the motion video, and then the motion features of each frame image in the motion video may be normalized according to the normalization coefficient to obtain normalized motion features.
[0158] In practical applications, it is necessary to divide the feature values of each frame of the image by the normalization coefficient of the video to obtain normalized motion features, wherein the normalization coefficient can select the size of a specific object in the video, such as the median of the facial area value of the subject in the entire video image frame, or other parameters can be selected as the normalization coefficient of the video, without any limitation here.
[0159] It should be noted that the motion feature of each frame of the image is a discrete value. After obtaining the motion feature of each frame in the video sequence, the discrete data features can be connected into a continuous waveform using an interpolation method.
[0160] In addition, the training data of the deep learning model used for key point detection of human body has certain errors, and the key points obtained by the posture estimation algorithm of the image naturally have certain systematic errors, which makes the characteristic waveform obtained by the above interpolation extremely unsmooth. Therefore, it is necessary to perform noise reduction processing on it.
[0161] In specific implementation, a one-dimensional Gaussian filter can be used to reduce the noise of the characteristic waveform, which can be expressed in mathematical expression as follows:
[0162]
[0163] Among them, r represents the blur radius, and σ represents the standard deviation of the normal distribution. Here, the filter is used as a sliding window and convolved with the characteristic waveform to perform Gaussian smoothing.
[0164] Based on the above steps, the server can generate a motion feature sequence according to the normalized motion features corresponding to each frame image in the motion video, and perform interpolation and noise reduction processing on the motion feature sequence to generate a motion curve.
[0165] Step S205: extracting curve features according to the motion curve to obtain motion curve features.
[0166] It is understandable that after obtaining a relatively smooth characteristic waveform, since the length of each video segment is different and the training data is limited, if the waveform is directly used as the final motion feature, its dimension is too high and it needs to be reduced to extract a feature with lower dimension and clinical value. Therefore, the curve feature extraction can be performed based on the motion curve obtained above to obtain the motion curve feature, where the curve feature can be divided into: amplitude feature, frequency feature and abnormal feature.
[0167] When extracting waveform amplitude features from a motion curve, the waveform amplitude features include at least one of a maximum value, a minimum value, a median, a standard deviation, and a time series variation feature of the amplitude of the motion curve.
[0168] In specific implementation, the above process of extracting features related to waveform amplitude from the motion curve can be understood as finding the local maximum and minimum values in the waveform from the process, and taking the difference between the two as the amplitude of a small segment of the waveform. Features related to amplitude mainly include the maximum, minimum, median, and standard deviation of the amplitude of the entire video, as well as the temporal changes of the amplitude (such as the difference between the average amplitude of the first half and the second half, and the overall change trend of the amplitude).
[0169] When extracting waveform frequency features from a motion curve, the waveform frequency features include at least one of the maximum value, minimum value, median, standard deviation and frequency time series variation features of the motion curve frequency.
[0170] In the specific implementation, in order to ensure the robustness of the overall system, when extracting the waveform frequency characteristics from the motion curve, it is necessary to find the peaks and troughs of the curve, and use the Fourier transform method to estimate the frequency of each small waveform segment. When using the Fourier transform method, the frequency domain information can be expressed as:
[0171]
[0172] The frequency of this segment is:
[0173] argmax|S j |,j∈{0,1,…,tf-1}(7)
[0174] Similar to the amplitude feature extraction mentioned above, the frequency-related feature values also include the maximum value, minimum value, median, standard deviation, and time series changes of the frequency (such as the difference between the average frequency in the first half and the second half, the overall change trend of the frequency), etc.
[0175] When extracting the waveform abnormality feature from the operation curve, the waveform abnormality feature includes the number of data interruptions of the operation curve.
[0176] In specific implementation, the above process of extracting abnormal waveform features from the running curve is mainly used to find abnormal features with clinical significance, such as the number of pauses, the number of freezes, etc. Since there is no clinical basis for judging pauses and freezes, the judgment of abnormal features is usually based on the amplitude, frequency and other information of each small segment of the waveform. For example, when the amplitude and frequency of a waveform are both 0, it is judged to be a pause state.
[0177] Based on the waveform amplitude characteristics, waveform frequency characteristics and waveform abnormality characteristics obtained above, they are weighted and the weighted characteristics are used as motion curve characteristics.
[0178] In specific implementation, the waveform amplitude feature, waveform frequency feature and waveform abnormal feature are multiplied by their corresponding weighted coefficients and then added to obtain the motion curve feature. The sum of the weighted coefficients corresponding to the waveform amplitude feature, waveform frequency feature and waveform abnormal feature is 1, and the specific value can be obtained through experiments or pre-set. In actual application, it can be determined according to specific circumstances and is not limited here.
[0179] It can be understood that a series of motion curve features corresponding to motion videos shot by performing different actions can be obtained. Different motion curve features can be extracted according to the above content to obtain different motion characteristic curves, such as motion amplitude characteristic curves.
[0180] For easier understanding, see Fig.13 , Fig.13 Schematic diagram of the motion amplitude characteristic curves of the four hand movements provided in this application. Fig.13 In the figure, from top to bottom are the amplitude change motion characteristic curves corresponding to the four actions of hand pointing, hand clenching, hand horizontal rotation and hand vertical rotation.
[0181] Step S206: determining the motor function evaluation result corresponding to the object to be evaluated based on the motion curve characteristics by using a preset evaluation algorithm.
[0182] After executing the above steps, the server may evaluate the motor function of the object to be evaluated based on the acquired motion curve features and obtain the corresponding evaluation result.
[0183] In specific implementation, the preset rule-based evaluation algorithm and the machine learning-based evaluation algorithm can be used to first perform evaluation based on the motion curve characteristics to obtain the motion function evaluation results of each algorithm, and then the motion function evaluation results with the largest number of occurrences are selected from the motion function evaluation results of each algorithm as the function evaluation results corresponding to the object to be evaluated.
[0184] In practical applications, the evaluation algorithm, i.e., the above-mentioned rule-based evaluation algorithm and machine learning-based evaluation algorithm, takes as input the sequence feature value in the processed feature waveform, and outputs a discrete score value of 0-4.
[0185] Among them, the rule-based evaluation algorithm is mainly based on the evaluation indicators in MDS-UPDRS, such as the number of pauses and freezes, the changing trend of amplitude and frequency, etc., and the score is obtained by conditional judgment of these features.
[0186] Based on the learning algorithm, there are many machine learning models, such as linear regression, random forest, GBDT, support vector machine (SVM), etc. In the previous training, the features obtained from the motion curve and the corresponding scores are passed to the machine learning model so that it can learn the corresponding parameters. In the evaluation process, after the corresponding features are passed into the model, a score is predicted and output.
[0187] Finally, the output results obtained by the rule-based and learning-based algorithms will be subject to majority voting (MajorityVote), and the result with the most votes will be used as the output of the entire algorithm and as the motor function evaluation result of the object to be evaluated.
[0188] The above embodiment provides an auxiliary evaluation method for human motor function, which achieves the purpose of automatically evaluating human motor function by shooting a motion video, analyzing the motion video, and evaluating the motor function of the object to be evaluated based on the motion curve after video analysis.
[0189] Among them, in the process of shooting sports videos, target detection algorithms and position correction algorithms are used to adjust the shooting angle to obtain high-quality sports videos, which is conducive to the subsequent analysis of the sports videos and improves the accuracy of the evaluation. In the process of analyzing sports videos, key point detection technology, feature extraction algorithms and evaluation algorithms are used to analyze the videos, breaking the limitations of naked eye observation in traditional methods. In the process of evaluating motor function, the motion curve obtained by the above video analysis is used, and rules and deep learning algorithms are used to evaluate the motor function, avoiding the subjectivity of the judgment of medical staff in traditional methods, and obtaining more objective evaluation results, which can provide valuable reference data for patients and doctors to assist doctors in monitoring the physical condition of patients.
[0190] It should be noted that the present application also provides another method for assisting the assessment of human motor function, see Fig.14 , Fig.14 This is a flow chart of another method for assisting the evaluation of human motor function provided in an embodiment of the present application. For ease of description, the following embodiment is introduced by taking a server as an example of the execution subject. Fig.14 As shown, the method comprises the following steps:
[0191] Step S1401: obtaining a motion video to be evaluated, wherein the motion video is a video obtained by shooting a subject to be evaluated performing a specified action.
[0192] Step S1402: Performing human key point detection on each frame of the motion video to obtain human joint coordinates, and selecting key point coordinates corresponding to the specified action from the human joint coordinates in each frame of the image.
[0193] Step S1403: determining the motion features of each frame of the image in the motion video according to the key point coordinates in each frame of the image.
[0194] Step S1404: generating a motion curve according to the motion features of each frame image in the motion video, wherein the motion curve is used for assisting the evaluation of human motion function.
[0195] The specific operation process of the above steps S1401-S1404 can refer to the above steps S201-S204, which will not be repeated here. It should be noted that the motion curve obtained in step S1404 can be directly used for auxiliary evaluation of human motor function, and the subsequent processing process is not limited to the processing process of the above steps S205-S206, which is not limited here.
[0196] The above-mentioned embodiment provides a method for assisting in the assessment of human motor function. In this method, a motion video of the object to be assessed is shot, and then the motion video is analyzed to obtain the motion characteristics of the limbs of the object to be assessed in the video, and a motion curve is generated. The motor function of the object to be assessed is assessed based on the motion curve, thereby realizing an intelligent assessment of the motor function of the object to be assessed and providing patients and medical staff with reference data for assisting in the assessment of their physical condition.
[0197] With respect to the human motor function auxiliary evaluation method described above, an embodiment of the present application provides a human motor function auxiliary evaluation system to enable the human motor function auxiliary evaluation method to be applied and implemented in practice.
[0198] See also Fig.15a , Fig.15a A schematic diagram of the structure of a human motor function auxiliary evaluation system provided in an embodiment of the present application. The system includes: a first video shooting device 1501, a first auxiliary evaluation device 1502, and a first video analysis device 1503;
[0199] The first video shooting device 1501 is used to shoot the object to be evaluated performing a specified action to obtain a motion video to be evaluated; the first auxiliary evaluation device 1502 is used to send the motion video to be evaluated to the first video analysis device 1503;
[0200] The first video analysis device 1503 is used to perform human key point detection on each frame image in the motion video to obtain human joint coordinates, and select the key point coordinates corresponding to the specified action from the human joint coordinates in each frame image; determine the motion features of each frame image according to the key point coordinates in each frame image in the motion video; generate a motion curve according to the motion features of each frame image in the motion video; extract curve features according to the motion curve to obtain motion curve features; determine the motion function evaluation result corresponding to the object to be evaluated based on the motion curve features through a preset evaluation algorithm; and send the motion curve and the motion function evaluation result corresponding to the object to be evaluated to the first auxiliary evaluation device.
[0201] The first auxiliary evaluation device 1502 is further configured to display the motion curve and the motor function evaluation result corresponding to the object to be evaluated on an auxiliary evaluation interface.
[0202] It is understandable that after obtaining the evaluation result, the first video analysis device 1503 may send the evaluation result to the first auxiliary evaluation device 1502 so that the evaluation result can be viewed using the first auxiliary evaluation device 1502 .
[0203] In a specific implementation, the first video analysis device 1503 is also used to display the auxiliary evaluation interface, which carries a motion video viewing control, a motion characteristic curve viewing control, a historical evaluation record viewing control, a score and notes submission control, and an evaluation report viewing control; when the motion video viewing control is triggered, a motion video selection list is displayed, showing the selected target motion video; when the motion characteristic curve viewing control is triggered, a motion characteristic curve selection list is displayed, showing the selected target motion characteristic curve; when the score and notes submission control is triggered, the currently input score and notes content is obtained and stored; when the evaluation report viewing control is triggered, the motion function evaluation report is displayed.
[0204] For ease of understanding, the above auxiliary evaluation interface is Fig.15a 1500 in the figure. The auxiliary evaluation interface 1500 includes six modules: a video playback module 1504, a feature display module 1505, a reference video playback module 1506, a reference feature display module 1507, a patient record query module 1508, and a current scoring module 1509.
[0205] Among them, the video playback module 1504 can select the sports video to be played and double-click the file name to play it. The file name "xx.hand.mp4" shown in the figure is only an exemplary display. In specific applications, the video file format can be other different forms, which is not limited here.
[0206] It should be noted that the video selection can be the original video, that is, the sports video to be evaluated, or the reference video. When the original video is selected, double-click the video file to automatically play the corresponding video. The video here can be selected after analysis and processing. This video has joint detection results, which is convenient for observing joint shaking.
[0207] The feature display module 1505 can select different types of features of the original video, such as the change of motion amplitude, the change of motion frequency, etc., for an original video, so as to observe the motion of the object to be evaluated from different feature dimensions. The display of features is represented by a curve graph, and the image is drawn and changed in real time with the video. When the video stops, the curve graph also stops drawing.
[0208] The reference video playing module 1506 plays the reference video selected by the video playing module 1504 .
[0209] The reference feature display module 1507 is based on the standard library provided by the video analysis database deployed in the second video-assisted evaluation device, which contains different evaluation result data. It uses the similar feature graph retrieval function to take the video analysis feature as input, retrieve similar feature graphs in the standard library, and display them after sorting them by relevance. For the retrieved similar feature graphs, you can click "View Video" and the corresponding video content will be automatically played in the left column to facilitate comparison and reference with the original video and features. At the same time, clicking the corresponding video file can also play it at the reference video, and the corresponding waveform will be displayed on the right.
[0210] The patient record query module 1508 can automatically retrieve the same type of videos and evaluation results of the patient, and display them in chronological order for the doctor's reference.
[0211] The scoring module 1509 includes scoring options, evaluation boxes, and three buttons: submit evaluation and notes, view report, and print report. The report format can be as follows: Fig.15b shown.
[0212] It should be noted that the auxiliary evaluation interface 1500 and the evaluation report are only presented as examples. In actual application, adaptive adjustments can be made according to different situations, and no limitation is made here.
[0213] In practical applications, the system provided by the above embodiment can be used in different application scenarios. For example, the above embodiment can be used in different application scenarios. Fig.15a The system shown is applied in a hospital clinic scenario.
[0214] In the application scenario of a hospital clinic, the first video shooting device 1501 can be a device set up in the hospital clinic for shooting motion videos, such as a camera, a webcam, etc. The first auxiliary evaluation device 1502 can be a terminal device used by doctors, such as a desktop computer, a notebook, etc. The first video analysis device 1503 can be a server for video analysis.
[0215] For easier understanding, see Fig.15c , Fig.15c This is a flow chart of the human motor function auxiliary assessment method provided in the embodiment of the present application applied to the hospital clinic scene. Fig.15a Taking the equipment in the shown system as an example, the motor function assessment of Parkinson's patients in a hospital clinic scenario is introduced.
[0216] Based on this, in the actual application process, a camera is used to shoot a motion video of a Parkinson's patient performing a specified action, and then the motion video of the patient captured by the camera is uploaded to a desktop computer used by medical staff for video analysis. After receiving the motion video, the computer uses the deployed video analysis software to establish a connection with the server, and uploads the motion video that needs to be analyzed to the server. Then, the server uses video analysis technology to analyze the motion video to obtain a motion curve, scores the motion video based on the motion curve and the scoring algorithm, and sends the motion curve and the scoring result to the computer. The medical staff reconfirms the score obtained by the server in combination with the auxiliary evaluation interface to obtain an evaluation report, and passes the report to the patient.
[0217] It should be noted that Fig.15a In addition to being used in the above-mentioned hospital clinic scene, the provided human motor function auxiliary assessment system can be applied to different scenes according to different needs. In addition, the above-mentioned system is used in the hospital clinic scene, and the equipment used is only an example. In actual application, it can be determined according to specific circumstances, and no limitation is made here.
[0218] The human motor function auxiliary evaluation system provided by the above embodiment uses a first video shooting device to shoot a motion video of the object to be evaluated, and sends the motion video to a first video analysis device through the first auxiliary evaluation device. The first video analysis device uses the human motor function auxiliary evaluation method provided by the embodiment of the present application to obtain an evaluation result, and displays it on the first auxiliary evaluation device. Based on this, medical staff can use the system to automatically evaluate the patient's motor function, and the obtained evaluation results can be used to diagnose and monitor the patient's condition.
[0219] With respect to the human motor function auxiliary evaluation method provided in the above embodiment, the present application also provides another human motor function auxiliary evaluation system.
[0220] See also Fig.16 , Fig.16 A schematic diagram of another human movement function auxiliary evaluation system provided in an embodiment of the present application. The system includes: a second video shooting device 1601 and a second video analysis device 1602;
[0221] The second video shooting device 1601 is used to shoot the object to be evaluated performing a specified action to obtain a motion video to be evaluated, and send the motion video to be evaluated to the second video analysis device 1602;
[0222] The second video analysis device 1602 is used to perform human key point detection on each frame of the motion video to obtain human joint coordinates, select key point coordinates corresponding to the specified action from the human joint coordinates in each frame of the motion video; determine the motion features of each frame of the motion video according to the key point coordinates in each frame of the motion video; generate a motion curve according to the motion features of each frame of the motion video; extract curve features according to the motion curve to obtain motion curve features; determine the motion function evaluation result corresponding to the object to be evaluated based on the motion curve features through a preset evaluation algorithm; and send the motion curve and the motion function evaluation result corresponding to the object to be evaluated to the second video shooting device;
[0223] The second video shooting device 1601 is also used to display the motion curve and the motor function evaluation result corresponding to the object to be evaluated.
[0224] Optionally, the second video analysis device 1602 is further used for:
[0225] An abnormality analysis is performed according to the motor function evaluation result corresponding to the object to be evaluated and the historical motion evaluation result corresponding to the object to be evaluated, and when an abnormality is found, an abnormality prompt information is sent to the second video shooting device.
[0226] The above abnormal analysis can be understood as comparing and analyzing the current evaluation results with the historical evaluation results. When a significant difference is found, it may indicate that the patient's condition has worsened. At this time, it is necessary to send an abnormal prompt message to the second video capture device to prompt that the evaluation result of the object to be evaluated is abnormal. In actual application, different abnormal situations may occur, and no limitation is made here.
[0227] Optionally, the second video analysis device 1602 is further used to: enter the motor function assessment result corresponding to the object to be assessed into a local health management system, and upload the data to a remote management system at regular intervals through the local health management system.
[0228] It can be understood that each time the second video analysis device obtains an evaluation result, the evaluation result can be stored in the local health management system, recording all the patient's motor function evaluation data, and the data in the system can also be uploaded to the remote management system at regular intervals, wherein the remote management system can be understood as a system that provides data for medical staff to reference, so that medical staff can remotely monitor the patient's physical condition.
[0229] In practical applications, the system provided by the above embodiment can be used in different application scenarios. For example, the above embodiment can be used in different application scenarios. Fig.16 The system shown is for use in a domestic environment.
[0230] In the application scenario of a home environment, the second video shooting device 1601 may be a device with a shooting function, such as a tablet computer, a mobile phone, etc., and the second auxiliary evaluation device 1602 may be a server for video analysis.
[0231] For easier understanding, see Fig.17 , Fig.17 This is a flow chart of the human motor function auxiliary assessment method provided in the embodiment of the present application applied to the hospital clinic scene. Fig.17 Taking the equipment in the system shown as an example, the motor function assessment of Parkinson's patients in a home environment is introduced.
[0232] Based on this, in actual application, patients can use their mobile phones to shoot sports videos of performing specified actions, use the video analysis software in the mobile phone to establish a connection with the server, and upload the sports video to be evaluated to the server. After the server receives the sports video, it analyzes the sports video to obtain a motion curve. The server scores the patient's motor function corresponding to the sports video based on the motion curve and the scoring algorithm, and sends the motion curve and the scoring result to the mobile phone. Patients can use their mobile phones to view the evaluation results of the sports video. In this environment, after the server obtains the scoring result, it can perform an abnormal analysis of the scoring result and the historical scoring result corresponding to the patient. When the result shows normal, the scoring result is recorded in the local management system, and the evaluation data is sent to the remote consultation system used by the doctor corresponding to the patient at regular intervals; when the analysis result is abnormal, the patient can contact the doctor through the remote consultation system so that the doctor can provide timely help for the patient's condition.
[0233] It should be noted that Fig.16 In addition to being used in the above-mentioned home environment, the provided human motor function auxiliary assessment system can be applied to different scenarios according to different needs. In addition, the above-mentioned system is used in a home environment, and the equipment used is only an example. In actual application, it can be determined according to specific circumstances, and no limitation is made here.
[0234] In the above embodiment, a human motor function auxiliary evaluation system is provided. In the system, the subject to be evaluated can use the second video shooting device to shoot a motion video, and use the second video analysis device to analyze and evaluate the motion video to obtain an evaluation result. Based on this, the problem that patients with limited mobility need to go to the hospital for regular check-ups is solved. Medical staff can also remotely monitor the patient's motor function and realize remote monitoring of the patient's condition, which can save the consultation time of medical staff and improve work efficiency.
[0235] It should be noted that, in addition to being applied in the system described above, the auxiliary evaluation method for human motor function provided by the present application can also be independently applied in terminal devices, such as tablet computers, mobile phones, etc. The auxiliary evaluation method for human motor function provided by an embodiment of the present application can be run as an offline software in the terminal device to realize the auxiliary evaluation function.
[0236] See also Fig.18 , Fig.18 A schematic diagram of a flow chart of a method for assisting the evaluation of human motor function provided in an embodiment of the present application. Fig.18 In the present invention, a smart device is used as an example to evaluate the motor function of the object to be evaluated. For the convenience of description, the following introduces the auxiliary evaluation method of human motor function by taking a mobile phone as an example.
[0237] Specifically, the patient uses a mobile phone to shoot an initial image, and uses key point detection technology to detect the initial image. If the initial image quality is judged to be unqualified, the shooting angle is adjusted until the image is qualified. Then, the mobile phone is used to shoot a motion video of performing a specified action, and the motion video is analyzed using key point detection technology to generate a motion curve. Based on the different features extracted from the motion curve and the scoring algorithm, the motion function of the object in the motion video is evaluated, and the evaluation results are obtained and displayed to the patient.
[0238] In summary, the human motor function assisted assessment method provided in the embodiments of the present application is not only applicable to the above-mentioned scenarios, but can also be applied to other scenarios requiring human motor function assisted assessment, without any limitation here.
[0239] With respect to the human motor function auxiliary evaluation method provided in the embodiment of the present application, the present application also provides a corresponding human motor function auxiliary evaluation device to facilitate the application and implementation of the above-mentioned human motor function auxiliary evaluation method in practice.
[0240] See also Fig.19 , Fig.19 The present invention provides a schematic diagram of a human motor function auxiliary evaluation device 1900, which includes:
[0241] The video shooting unit 1901 is used to obtain a motion video to be evaluated, where the motion video is a video obtained by shooting the object to be evaluated performing a specified action.
[0242] The key point detection unit 1902 is used to perform human key point detection on each frame image in the motion video to obtain human joint coordinates, and select key point coordinates corresponding to the specified action from the human joint coordinates in each frame image.
[0243] The motion feature determination unit 1903 is used to determine the motion feature of each frame image in the motion video according to the key point coordinates in each frame image.
[0244] The motion curve generating unit 1904 is used to generate a motion curve according to the motion characteristics of each frame image in the motion video, and the motion curve is used for assisting the evaluation process of the human body motion function.
[0245] Optionally, the device 1900 further includes:
[0246] The curve feature extraction unit 1905 is used to extract curve features according to the motion curve to obtain motion curve features.
[0247] The motor function evaluation unit 1906 is used to determine the motor function evaluation result corresponding to the object to be evaluated based on the motion curve characteristics by using a preset evaluation algorithm.
[0248] Optionally, the motion feature determination unit 1903 is specifically configured to:
[0249] Selecting a target extraction algorithm corresponding to the specified action from a plurality of preset extraction algorithms;
[0250] When the target extraction algorithm is a distance extraction algorithm, for each frame of the motion video, a coordinate distance is determined according to the coordinates of key points in each frame of the motion video as a motion feature of each frame of the motion video;
[0251] When the target extraction algorithm is an area extraction algorithm, for each frame image in the motion video, the convex hull area is determined according to the coordinates of the key points in each frame image as the motion feature of each frame image;
[0252] When the target extraction algorithm is an angle extraction algorithm, for each frame of the motion video, the joint angle is determined according to the coordinates of the key points in each frame of the motion video as the motion feature of each frame of the motion video.
[0253] Optionally, the motion curve generating unit 1904 is specifically used for:
[0254] Determining a normalization coefficient according to a motion feature of each frame of the motion video;
[0255] According to the normalization coefficient, normalizing the motion feature of each frame image in the motion video to obtain a normalized motion feature;
[0256] A motion feature sequence is generated according to the normalized motion features corresponding to each frame image in the motion video, and the motion feature sequence is interpolated and denoised to generate a motion curve.
[0257] Optionally, the curve feature extraction unit 1905 is specifically used for:
[0258] Extracting waveform amplitude features from the motion curve, wherein the waveform amplitude features include at least one of the maximum value, minimum value, median, standard deviation and amplitude time series variation features of the motion curve amplitude;
[0259] Extracting a waveform frequency feature from the motion curve, wherein the waveform frequency feature includes at least one of a maximum value, a minimum value, a median, a standard deviation, and a frequency time series variation feature of the motion curve frequency;
[0260] Extracting a waveform abnormality feature from the operation curve, wherein the waveform abnormality feature includes the number of interruptions in the operation curve data;
[0261] The waveform amplitude feature, the waveform frequency feature and the waveform abnormality feature are weighted to obtain the motion curve feature.
[0262] Optionally, the motor function assessment unit 1906 is specifically used for:
[0263] Using a preset rule-based evaluation algorithm and a machine learning-based evaluation algorithm, evaluation is performed based on the motion curve characteristics to obtain a motor function evaluation result evaluated by each algorithm;
[0264] From the motor function assessment results evaluated by each algorithm, the motor function assessment result with the largest number of occurrences is selected as the function assessment result corresponding to the object to be assessed.
[0265] Optionally, the above device 1900 further includes:
[0266] Position calibration unit, specifically used for:
[0267] Performing target area detection on the initially acquired image by using a target detection model to obtain a target area, wherein the target area is the location of the detection part corresponding to the specified action in the image;
[0268] Determine a horizontal position deviation between the target area and the center of the image screen, and control and adjust the shooting angle of the shooting device according to the horizontal position deviation so that the detection part is located in the center of the shooting screen;
[0269] The proportion of the target area in the image is determined, and the focal length of the shooting device is adjusted according to the proportion control so that the proportion of the detection part in the shooting picture falls within a preset range.
[0270] Optionally, the above device 1900 further includes:
[0271] Image quality monitoring unit, specifically used for:
[0272] Performing human body key point detection on the initially collected initial image to obtain human body joint coordinates, and obtaining the number of human body joints according to the human body joint coordinates in the initial image;
[0273] Determine the ratio of the number of human joints to the number of joints to be detected corresponding to the specified action;
[0274] When the ratio is greater than the joint detection rate threshold corresponding to the specified action, it is determined that the quality of the initially acquired image is qualified, and a prompt is given to start shooting the motion video.
[0275] Optionally, the key point detection unit 1802 is specifically used for:
[0276] Inputting the image to be detected into a pre-trained deep learning model, performing feature extraction on the image to be detected through the first network part in the deep learning model to form a primary feature image which is input into the second network, performing multi-level and multi-dimensional feature extraction based on the image to be detected and the primary feature image through the second network part, and obtaining a body joint position response map output by the last layer of the second network part;
[0277] The coordinates of the position where the maximum value in the body joint position response map is located are used as the detected human joint coordinates.
[0278] The above-mentioned human motor function auxiliary evaluation device shoots a motion video of the object to be evaluated, then analyzes the motion video, obtains the motion characteristics of the limbs of the object to be evaluated in the video, and generates a motion curve, and evaluates the motor function of the object to be evaluated based on the motion curve, thereby realizing an intelligent evaluation of the motor function of the object to be evaluated, and providing patients and medical staff with reference data for auxiliary evaluation of physical conditions. This method is based on video processing, video analysis technology and key point detection technology, and can mine the detailed motion characteristics of the object to be evaluated, analyze the motion law of the object to be evaluated in the motion video, and avoids the limitations of medical staff's naked eye observation to a certain extent, while avoiding the subjectivity of medical staff's judgment, and providing valuable reference data for doctors to assist doctors in making medical diagnoses.
[0279] At the same time, since the human motor function auxiliary evaluation device provided above can analyze the movement of the subject to be evaluated and automatically provide the evaluation results for the subject to be evaluated, the subject can evaluate his / her physical condition at home without having to go to the hospital for regular check-ups. In this way, the problem of patients with limited mobility needing to go to the hospital for regular check-ups is solved, and medical staff can also be assisted in monitoring the patient's physical condition.
[0280] The embodiments of the present application also provide a server and a terminal device for assisted evaluation of human motor function. The server and the terminal device for assisted evaluation of human motor function provided in the embodiments of the present application will be introduced from the perspective of hardware instantiation.
[0281] See also Fig. 20 , Fig. 20 : This is a schematic diagram of a server structure provided in an embodiment of the present application. The server 2000 may have relatively large differences due to different configurations or performances, and may include one or more central processing units (CPU) 2022 (for example, one or more processors) and memory 2032, and one or more storage media 2030 (for example, one or more mass storage devices) storing application programs 2042 or data 2044. Among them, the memory 2032 and the storage medium 2030 can be short-term storage or permanent storage. The program stored in the storage medium 2030 may include one or more modules (not shown in the figure), and each module may include a series of instruction operations in the server. Furthermore, the central processing unit 2022 can be configured to communicate with the storage medium 2030 to execute a series of instruction operations in the storage medium 2030 on the server 2000.
[0282] The server 2000 may also include one or more power supplies 2026, one or more wired or wireless network interfaces 2050, one or more input and output interfaces 2058, and / or one or more operating systems 2041, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, etc.
[0283] The steps performed by the server in the above embodiment can be based on the Fig. 20 The server structure shown.
[0284] The CPU 2022 is used to execute the following steps:
[0285] Obtaining a motion video to be evaluated, wherein the motion video is a video obtained by shooting the object to be evaluated performing a specified action;
[0286] Performing human key point detection on each frame of the motion video to obtain human joint coordinates, and selecting key point coordinates corresponding to the specified action from the human joint coordinates in each frame of the image;
[0287] Determine the motion features of each frame of the image according to the coordinates of the key points in each frame of the image in the motion video;
[0288] A motion curve is generated according to the motion features of each frame image in the motion video, and the motion curve is used for auxiliary evaluation processing of human motion function.
[0289] Optionally, the CPU 2022 may further perform the following steps:
[0290] Extracting curve features according to the motion curve to obtain motion curve features;
[0291] The motor function evaluation result corresponding to the object to be evaluated is determined based on the motion curve characteristics through a preset evaluation algorithm.
[0292] Optionally, CPU 2022 may also execute the method steps of any specific implementation of the method for assisting in assessing human motor function in the embodiments of the present application.
[0293] See also Fig.21 , Fig.21 A schematic diagram of the structure of a terminal device provided in an embodiment of the present application. For ease of explanation, only the parts related to the embodiment of the present application are shown. For specific technical details not disclosed, please refer to the method part of the embodiment of the present application. The terminal device can be any terminal device including a smart phone, a tablet computer, a personal digital assistant (English full name: Personal Digital Assistant, English abbreviation: PDA), etc., taking the terminal as a tablet computer as an example:
[0294] Fig.21 FIG. 1 is a block diagram showing a partial structure of a tablet computer related to a terminal provided in an embodiment of the present application. Fig.21 The tablet computer includes: a radio frequency (RF) circuit 2110, a memory 2120, an input unit 2130, a display unit 2140, a sensor 2150, an audio circuit 2160, a wireless fidelity (WiFi) module 2170, a processor 2180, and a power supply 2190. Those skilled in the art will appreciate that Fig.21 The tablet computer structure shown in the figure does not constitute a limitation on the tablet computer, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.
[0295] Combine the following Fig.21 A detailed introduction to the various components of the tablet computer:
[0296] The memory 2120 can be used to store software programs and modules. The processor 2180 executes various functional applications and data processing of the tablet computer by running the software programs and modules stored in the memory 2120. The memory 2120 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the mobile phone (such as audio data, a phone book, etc.), etc. In addition, the memory 2120 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.
[0297] The processor 2180 is the control center of the tablet computer. It uses various interfaces and lines to connect various parts of the entire tablet computer. It executes various functions of the tablet computer and processes data by running or executing software programs and / or modules stored in the memory 2120 and calling data stored in the memory 2120. Optionally, the processor 2180 may include one or more processing units; preferably, the processor 2180 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 2180.
[0298] In this embodiment, the processor 2180 is used to execute the steps of any one of the implementation methods of the human motor function auxiliary assessment method provided in the above-mentioned embodiments of the present application.
[0299] An embodiment of the present application also provides a computer-readable storage medium for storing program code, wherein the program code is used to execute any one of the implementation methods of the human motor function auxiliary assessment method described in the aforementioned embodiments.
[0300] An embodiment of the present application also provides a computer program product including instructions, which, when executed on a computer, enables the computer to execute any one of the implementations of the method for assisting in assessing the motor function of a human body described in the aforementioned embodiments.
[0301] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0302] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.
[0303] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple 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.
[0304] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0305] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (full name in English: Read-Only Memory, English abbreviation: ROM), random access memory (full name in English: Random Access Memory, English abbreviation: RAM), disk or optical disk and other media that can store program codes.
[0306] As described above, the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. A method for assisting assessment of human motor function, characterized in that: include: Obtaining a motion video to be evaluated, wherein the motion video is a video obtained by shooting the object to be evaluated performing a specified action; Performing human key point detection on each frame of the motion video to obtain human joint coordinates, and selecting key point coordinates corresponding to the specified action from the human joint coordinates in each frame of the image; The method of performing human key point detection to obtain human joint coordinates includes: inputting an image to be detected into a pre-trained deep learning model, performing feature extraction on the image to be detected through a first network part in the deep learning model to form a primary feature image and inputting it into a second network, performing multi-level and multi-dimensional feature extraction based on the image to be detected and the primary feature image through a second network part, obtaining a body joint position response map output by the last layer of the second network part, and using the position coordinates of the maximum value in the body joint position response map as the detected human joint coordinates; Determine the motion features of each frame of the image according to the coordinates of the key points in each frame of the image in the motion video; Generate a motion curve according to the motion characteristics of each frame image in the motion video; Extracting waveform amplitude features from the motion curve, wherein the waveform amplitude features include at least one of the maximum value, minimum value, median, standard deviation and amplitude time series variation features of the motion curve amplitude; extracting waveform frequency features from the motion curve, wherein the waveform frequency features include at least one of the maximum value, minimum value, median, standard deviation and frequency time series variation features of the motion curve frequency; extracting waveform abnormality features from the motion curve, wherein the waveform abnormality features include the number of data interruptions of the motion curve; performing weighted processing on the waveform amplitude features, the waveform frequency features and the waveform abnormality features to obtain motion curve features; The motor function evaluation result corresponding to the object to be evaluated is determined based on the motion curve characteristics through a preset evaluation algorithm.
2. The method according to claim 1, characterized in that: The step of determining the motion features of each frame of the image according to the key point coordinates in each frame of the image in the motion video includes: Selecting a target extraction algorithm corresponding to the specified action from a plurality of preset extraction algorithms; When the target extraction algorithm is a distance extraction algorithm, for each frame of the motion video, a coordinate distance is determined according to the coordinates of key points in each frame of the motion video as a motion feature of each frame of the motion video; When the target extraction algorithm is an area extraction algorithm, for each frame image in the motion video, the convex hull area is determined according to the coordinates of the key points in each frame image as the motion feature of each frame image; When the target extraction algorithm is an angle extraction algorithm, for each frame of the motion video, the joint angle is determined according to the coordinates of the key points in each frame of the motion video as the motion feature of each frame of the motion video.
3. The method according to claim 1, characterized in that: The step of generating a motion curve according to the motion feature of each frame of the motion video comprises: Determining a normalization coefficient according to a motion feature of each frame of the motion video; According to the normalization coefficient, normalizing the motion feature of each frame image in the motion video to obtain a normalized motion feature; A motion feature sequence is generated according to the normalized motion features corresponding to each frame image in the motion video, and the motion feature sequence is interpolated and denoised to generate a motion curve.
4. The method according to claim 1, characterized in that: The determining the motor function evaluation result corresponding to the object to be evaluated based on the motion curve characteristics by using a preset evaluation algorithm includes: Using a preset rule-based evaluation algorithm and a machine learning-based evaluation algorithm, evaluation is performed based on the motion curve characteristics to obtain a motor function evaluation result evaluated by each algorithm; From the motor function assessment results evaluated by each algorithm, the motor function assessment result with the largest number of occurrences is selected as the function assessment result corresponding to the object to be assessed.
5. The method according to claim 1, characterized in that The method further comprises: Performing target area detection on the initially acquired image by using a target detection model to obtain a target area, wherein the target area is the location of the detection part corresponding to the specified action in the image; Determine a horizontal position deviation between the target area and the center of the image screen, and control and adjust the shooting angle of the shooting device according to the horizontal position deviation so that the detection part is located in the center of the shooting screen; The proportion of the target area in the image is determined, and the focal length of the shooting device is adjusted according to the proportion control so that the proportion of the detection part in the shooting picture falls within a preset range.
6. The method according to claim 5, characterized in that The method further comprises: Performing human body key point detection on the initially collected initial image to obtain human body joint coordinates, and obtaining the number of human body joints according to the human body joint coordinates in the initial image; Determine the ratio of the number of human joints to the number of joints to be detected corresponding to the specified action; When the ratio is greater than the joint detection rate threshold corresponding to the specified action, it is determined that the quality of the initially acquired image is qualified, and a prompt is given to start shooting the motion video.
7. A method for assisting assessment of human motor function, characterized in that: The method comprises: Obtaining a motion video to be evaluated, wherein the motion video is a video obtained by shooting the object to be evaluated performing a specified action; Performing human key point detection on each frame of the motion video to obtain human joint coordinates, and selecting key point coordinates corresponding to the specified action from the human joint coordinates in each frame of the image; the human key point detection to obtain human joint coordinates includes: inputting the image to be detected into a pre-trained deep learning model, performing feature extraction on the image to be detected through the first network part in the deep learning model to form a primary feature image that is input into the second network, performing multi-level and multi-dimensional feature extraction based on the image to be detected and the primary feature image through the second network part, obtaining a body joint position response map output by the last layer of the second network part, and taking the position coordinates of the maximum value in the body joint position response map as the detected human joint coordinates; Determine the motion features of each frame of the image according to the coordinates of the key points in each frame of the image in the motion video; A motion curve is generated according to the motion features of each frame image in the motion video, and the motion curve is used for auxiliary evaluation processing of human motion function.
8. A human body motor function auxiliary assessment system, characterized in that: The system comprises: A first video shooting device, a first auxiliary evaluation device and a first video analysis device; wherein, The first video shooting device is used to shoot the motion video to be evaluated by the object to be evaluated performing a specified action; The first auxiliary evaluation device is used to send the motion video to be evaluated to the first video analysis device; The first video analysis device is used to perform human key point detection on each frame of the motion video to obtain human joint coordinates, and select the key point coordinates corresponding to the specified action from the human joint coordinates in each frame of the motion video; the human key point detection to obtain human joint coordinates includes: inputting the image to be detected into a pre-trained deep learning model, performing feature extraction on the image to be detected through the first network part in the deep learning model to form a primary feature image input into the second network, performing multi-level and multi-dimensional feature extraction based on the image to be detected and the primary feature image through the second network part, obtaining a body joint position response map output by the last layer of the second network part, and taking the position coordinates of the maximum value in the body joint position response map as the detected human joint coordinates; determining the motion features of each frame of the motion video according to the key point coordinates in each frame of the motion video; and determining the motion features of each frame of the motion video according to the key point coordinates in each frame of the motion video. The motion characteristics of each frame image in the video generate a motion curve; extract waveform amplitude characteristics from the motion curve, the waveform amplitude characteristics include at least one of the maximum value, minimum value, median, standard deviation and amplitude time series change characteristics of the motion curve amplitude; extract waveform frequency characteristics from the motion curve, the waveform frequency characteristics include at least one of the maximum value, minimum value, median, standard deviation and frequency time series change characteristics of the motion curve frequency; extract waveform abnormality characteristics from the motion curve, the waveform abnormality characteristics include the number of data interruptions of the motion curve; perform weighted processing on the waveform amplitude characteristics, the waveform frequency characteristics and the waveform abnormality characteristics to obtain motion curve characteristics; determine the motor function evaluation result corresponding to the object to be evaluated based on the motion curve characteristics through a preset evaluation algorithm; send the motion curve and the motor function evaluation result corresponding to the object to be evaluated to the first auxiliary evaluation device; The first auxiliary evaluation device is further used to display the motion curve and the motor function evaluation result corresponding to the object to be evaluated on an auxiliary evaluation interface.
9. The system according to claim 8, characterized in that The first auxiliary evaluation device is further used to display the auxiliary evaluation interface, which carries a motion video viewing control, a motion characteristic curve viewing control, a historical evaluation record viewing control, a score and note submission control, and an evaluation report viewing control; When the sports video viewing control is triggered, a sports video selection list is displayed, and the selected target sports video is displayed; When the motion characteristic curve viewing control is triggered, the motion characteristic curve selection list is displayed, and the selected target motion characteristic curve is displayed; When the score and remarks submission control is triggered, the currently input score and remarks content is obtained and stored; When the evaluation report viewing control is triggered, the motor function evaluation report is displayed.
10. A human body motor function auxiliary assessment system, characterized in that: The system comprises: A second video shooting device and a second video analysis device; wherein, The second video shooting device is used to shoot the object to be evaluated performing a specified action to obtain a motion video to be evaluated, and send the motion video to be evaluated to the second video analysis device; The second video analysis device is used to perform human key point detection on each frame of the motion video to obtain human joint coordinates, and select key point coordinates corresponding to the specified action from the human joint coordinates in each frame of the motion video; the human key point detection to obtain human joint coordinates includes: inputting the image to be detected into a pre-trained deep learning model, performing feature extraction on the image to be detected through the first network part in the deep learning model to form a primary feature image and input it into the second network, performing multi-level and multi-dimensional feature extraction based on the image to be detected and the primary feature image through the second network part, obtaining a body joint position response map output by the last layer of the second network part, and taking the position coordinates of the maximum value in the body joint position response map as the detected human joint coordinates; determining the motion features of each frame of the motion video according to the key point coordinates in each frame of the motion video; generating a motion curve according to the motion features of each frame of the motion video; extracting curve features according to the motion curve to obtain motion curve features; determining the motion function evaluation result corresponding to the object to be evaluated based on the motion curve features through a preset evaluation algorithm; and sending the motion curve and the motion function evaluation result corresponding to the object to be evaluated to the second video shooting device; The second video shooting device is also used to display the motion curve and the motor function evaluation result corresponding to the object to be evaluated.
11. The system according to claim 10, characterized in that The second video analysis device is further used for: An abnormality analysis is performed according to the motor function evaluation result corresponding to the object to be evaluated and the historical motion evaluation result corresponding to the object to be evaluated. When an abnormality is found, an abnormality prompt information is sent to the second video shooting device.
12. The system according to claim 11, characterized in that The second video analysis device is further used to: enter the motor function assessment result corresponding to the object to be assessed into the local health management system, and upload the data to the remote management system at regular intervals through the local health management system.
13. A computer device, characterized in that: include: Processor and memory; Wherein, the memory is used to store computer programs; The processor is configured to execute the computer program to implement the method according to any one of claims 1 to 7.
14. A computer-readable storage medium, characterized in that: The computer-readable storage medium is used to store a computer program, and the computer program is used to execute the method according to any one of claims 1 to 7.
15. A computer program product comprising instructions, characterized in that When the method is executed on a computer, the computer is enabled to execute the method according to any one of claims 1 to 7.
