Automatic detection method of movement stability based on computer vision functional movement screening

Through computer vision technology, the convolutional neural network is used to analyze the torso shaking in the video to realize automatic detection of functional movement screening movement stability, which solves the problems of heavy workload and unstable results in the existing FMS evaluation system, and improves the evaluation efficiency and accuracy.

CN115990013BActive Publication Date: 2024-09-20ZHEJIANG RES INST OF SPORTS SCI
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202310104209.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-02-13
Publication Date
2024-09-20
Estimated Expiration
2043-02-13

AI Technical Summary

Technical Problem

The existing functional movement screening (FMS) assessment system has problems such as heavy workload, low efficiency, and unstable or inaccurate test results, especially the reduced efficiency and uncertainty of results due to reliance on manual assessment and wearable sensors.

Method used

An automatic detection method for functional movement screening movement stability based on computer vision is used to capture the subject's torso shaking through video, and a convolutional neural network is used to extract and analyze movement stability characteristics to achieve hurdle steps and linear lunges. Stability testing reduces the workload of evaluators and improves the stability and accuracy of test results.

Benefits of technology

This method can quickly and accurately detect motion stability, reduce the workload of evaluators, improve evaluation efficiency, improve the stability and accuracy of test results, reduce reliance on the experience of the examiner, and avoid the potential impact of wearing sensors. .

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115990013B
    Figure CN115990013B
Patent Text Reader

Abstract

The present invention discloses an automatic detection method for motion stability of functional motion screening based on computer vision. Based on a video of a subject completing an action, a convolutional neural network is constructed from the steps of generating detection samples, extracting the motion stability features of the subject, training a motion stability model and judging the motion stability. A threshold is set according to the sample to judge the stability of the subject when completing an FMS-related action. Through the extraction and analysis of trunk dynamic features, the trunk shaking detection of FMS hurdle steps and straight lunge squats is assisted. The subject does not need to wear a sensor to effectively monitor and judge the stability of the subject's trunk motion shaking, which can reduce the workload of evaluation personnel, improve evaluation efficiency, and improve the stability and accuracy of test results.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to an intelligent analysis of computer video images, and in particular to an automatic detection method for movement stability of functional movement screening based on computer vision, which is used to realize trunk shaking detection during the completion of hurdle steps and straight lunge squats in functional movement screening (FMS), and supports the evaluation of the completion of FMS movements. Background Art

[0002] Functional movement screening (FMS) assessment usually adopts the traditional manual assessment method, that is, the tester issues instructions and asks the subject to complete 7 items (actions) in sequence according to the test standards. The tester carefully observes the process of the subject performing the 7 items (actions) and scores the subject item by item according to the scoring criteria.

[0003] At present, there are digital FMS systems in China, which use several wearable sensors to screen functional movements and evaluate other limb movement functions. However, the use of wearable sensors increases the workload of the test on the one hand, and on the other hand, the wearing position of the sensor, the fit of the sensor to the body, and whether the wearing of the sensor will have a physical or psychological impact on the subject's movements are all worthy of further exploration. At the same time, the existing FMS evaluation system still has the following defects: 1. Since the FMS test involves many test items, there is a large investment in manpower and material resources required for manual evaluation, which is time-consuming and inefficient. 2. Manual evaluation relies more on the experience and business proficiency of the tester, and it is difficult to respond quickly and accurately to the dynamic process of some actions that need to be completed in the FMS test. 3. In the existing artificial intelligence FMS evaluation system, the testee needs to wear a certain number of test instruments (such as sensors) when participating in the test. On the one hand, this increases the workload of the tester and reduces the evaluation efficiency; on the other hand, whether the testee's wearing of these instruments will affect the tester's movements during the test, and thus affect the final test results, is still worthy of further exploration. Summary of the invention

[0004] In order to solve the problems of the existing FMS evaluation system, such as heavy workload for evaluators, low evaluation efficiency, unstable or inaccurate test results, the present invention provides an automatic detection method for motion stability based on computer vision functional motion screening, which can reduce the workload of evaluators, improve evaluation efficiency, and improve the stability and accuracy of test results.

[0005] The specific technical solution adopted by the present invention to solve the above technical problems is: a method for automatically detecting the stability of functional action screening based on computer vision, comprising the following monitoring steps:

[0006] A1. The test sample generation step is to select the front of the subject as the video capture position and determine the stability of the movements involved in FMS by detecting the shaking of the torso in the video;

[0007] A2. Extraction step of the motion stability feature of the object under test, extracting the image stream of the above step A1 to form a test sample, extracting, analyzing and evaluating the motion stability feature of the motion shaking;

[0008] A3. The training step of the action stability model is to extract the action image samples of the subject completing the FMS from the front, divide the image samples into s rectangular frames, construct 2 bounding boxes in each rectangular frame, construct and train a convolutional neural network that can be set by the user to lock the position of the subject's torso in the image samples;

[0009] A4. The step of judging the stability of the action is to identify the full-score posture samples in the video stream as the reference samples of the action images involved in completing the FMS in the front-facing video, extract and record the samples, and train and construct the convolutional neural network that completes the above step A3. The threshold is set based on the samples to judge the stability of the subject when completing the actions involved in the FMS.

[0010] The present invention is aimed at two tests involving dynamic movement stability in FMS, namely, hurdle step and straight lunge squat, and proposes an automatic detection method for FMS movement stability based on computational vision. By quickly extracting the trunk shaking in the video stream, the stability of hurdle step and straight lunge squat can be detected. This can reduce the workload of the evaluation personnel, improve the evaluation efficiency, and improve the stability and accuracy of the test results.

[0011] Preferably, the step of generating the test sample comprises the following steps:

[0012] B1. Select the front of the subject as the video capture position to facilitate the acquisition of the lateral movement of the torso;

[0013] B2. FMS movements involving movement stability include hurdle step and straight lunge squat. The shaking during the movement can be characterized by the lateral movement of the trunk. The stability of the hurdle step and straight lunge squat can be determined by detecting the shaking of the trunk in the video.

[0014] B3. Select the frame rate F and extract the image stream in the video with F as the time interval. The nth image is represented by A(n). The sequence A(1), A(2), …, A(N) forms the detection sample for further stability feature extraction and analysis.

[0015] Preferably, the step of extracting the motion stability characteristics of the measured object includes the following extraction steps:

[0016] C1. For image A(n), n=1,2,…,N, divide it into s rectangular frames, using A i (n) represents the i-th rectangular box of image A(n);

[0017] C2. The evaluation of motion stability in FMS mainly evaluates the shaking of the torso during the completion of the action. B represents the bounding box corresponding to the actual body part of the measured object, and the body part involved is the torso;

[0018] C3. For rectangular box A i (n), generate L bounding boxes, and use Indicates A i The j-th bounding box of (n) needs to be found through continuous iteration, learning, and correction to find the one closest to B. Thus, the position of the subject's torso in the picture is obtained;

[0019] C4. Using multiple groups To describe the features of the bounding box,

[0020] The parameters are defined as follows:

[0021] Represents a bounding box The coordinates of the center in the graph A(n);

[0022] Represents the bounding box The height and width of

[0023] Where P r (A i (n)) represents the rectangular box A i (n) The probability that there are body parts involved in evaluating the stability of FMS movements, express The area of ​​intersection with B (the intersection is as follows Figure 1 blue dashed box), express The area of ​​the combined part with B (such as Figure 2 blue dashed box);

[0024] C5. Use (x, y) to represent the coordinates of the rectangular box B in Figure A(n); use h, w to represent the height and width of the rectangular box B;

[0025] C6. Construct loss function

[0026]

[0027] When the center of the body part that the FMS focuses on is Inside, Q ij =1; otherwise, Qij =0; λ1, λ2 are manually set parameters used to adjust the weight of the loss function.

[0028] Preferably, the step of determining the motion stability includes the following steps:

[0029] D1. Extract image samples of the subject completing the hurdle step and straight lunge squat from the front. The image samples must include the subject's torso vertically with the ground to complete the action, the subject's torso tilted 5 degrees to the left to complete the action, the subject's torso tilted 10 degrees to the left to complete the action, the subject's torso tilted 15 degrees to the left to complete the action, the subject's torso tilted 20 degrees to the left to complete the action, the subject's torso tilted 25 degrees to the left to complete the action, the subject's torso tilted 30 degrees to the left to complete the action, the subject's torso tilted 35 degrees to the left to complete the action, the subject's torso tilted 40 degrees to the left to complete the action, and the subject's torso tilted 20 degrees to the left to complete the action. The subject's torso tilts 45 degrees to the left to complete the action, the subject's torso tilts 5 degrees to the right to complete the action, the subject's torso tilts 10 degrees to the right to complete the action, the subject's torso tilts 15 degrees to the right to complete the action, the subject's torso tilts 20 degrees to the right to complete the action, the subject's torso tilts 25 degrees to the right to complete the action, the subject's torso tilts 30 degrees to the right to complete the action, the subject's torso tilts 35 degrees to the right to complete the action, the subject's torso tilts 40 degrees to the right to complete the action, the subject's torso tilts 45 degrees to the right to complete the action, and all images are converted into grayscale images, using H0,H1,...,H 18 Represents the above 19 grayscale images;

[0030] D2. Using the maxpooling method, we use m*m as the sampling kernel to compare H0, H1, ..., H 18 Downsample, using η0,η1,...,η 18 Represents the downsampled image, where the length and width of the downsampled image are represented by α and β respectively;

[0031] D3. With h0,h1,...,h 18 Construct a filter function with a depth of 19 and record it as f;

[0032] D4. Construct a convolutional neural network that meets the following conditions;

[0033] D4.1. Construct a convolution kernel of size α×β×19 with filter function f;

[0034] D4.2. The pooling layer uses maxpooling (maximum pooling, i.e. taking the point with the largest value in the local acceptance domain)

[0035] D4.3. The activation function of the fully connected layer is xtanh(ln(1+e x ));

[0036] D4.4. The output layer is b1, c1, b2, c2..., b sL ,csL , c i =1 means the recognized object is the torso, c i =0 means the recognized object is not the torso;

[0037] D4.5. The number of convolutional layers and pooling layers can be set by the user;

[0038] D5. Use the loss function G to train the convolutional neural network.

[0039] Preferably, the step of determining the motion stability includes the following steps:

[0040] E1. The time series of the lateral changes of the coordinates of the torso center point identified in the video stream is: n=1, 2, ...;

[0041] E2. Select a subject who completes the hurdle step and straight lunge squat with a perfect posture, and shoot a video from the front as a reference sample. Extract the time series of the lateral change of the coordinates of the subject's trunk center point in the sample, and record it as n=1, 2, ...;

[0042] E3. Regarding this time series Perform the following calculations:

[0043] E4. Record the current subject's completion of the hurdle step and straight lunge squat action, and shoot a video from the front as a sample. Use the convolutional neural network trained in step 3.5 to extract the time series x(n) of the lateral change of the subject's trunk center coordinate in the sample, where n = 1, 2, ...;

[0044] E5. Regarding this time series Perform the following calculations:

[0045] E6. When (τ is an artificially set threshold), indicating that the subject was shaking when completing the action.

[0046] Preferably, the movements involved in the FMS include hurdle step and straight lunge squat movement. The hurdle step movement is similar to the straight lunge squat movement. The hurdle step movement stability detection includes the following specific detection steps:

[0047] F1. Detection of the object in the video stream;

[0048] F1.1. Select the front of the subject as the video capture position;

[0049] F1.2. Select a frame rate of 10 Hz and extract the image stream in the video at a time interval of 0.1 seconds, represented by A(1), A(2), …, A(N);

[0050] F2. Extraction of motion stability features of the object under test;

[0051] F2.1. For image A(n), n=1,2,…,N, split it into 10*10 rectangular frames, using A i (n) represents the i-th rectangular box of image A(n);

[0052] F2.2. Use B to represent the torso of the actual object being measured;

[0053] F2.3. For rectangular frame A i (n), generate two bounding boxes, using Indicates A i The j-th bounding box of (n);

[0054] F2.4. Using multi-group b ij ={x ij ,y ij ,h ij ,w ij ,C ij} to describe the features of the bounding box, and the parameters are defined as follows:

[0055] Represents a bounding box The coordinates of the center in the graph A(n);

[0056] h ij ,w ij Represents the bounding box The height and width of

[0057] Where P r (A i (n)) represents the rectangular box A i (n) The probability that there are body parts involved in evaluating the stability of FMS movements, express The area of ​​intersection with B (the intersection is as follows Figure 1 blue dashed box), express The area of ​​the combined part with B (such as Figure 2 blue dashed box);

[0058] F2.5. Construct loss function:

[0059]

[0060] When the subject's torso is in Inside, Q ij =1; otherwise, Q ij =0; λ1, λ2 are manually set parameters used to adjust the weight of the loss function. In the hurdle step motion stability detection, λ1=5, λ2=1 are set. This setting mainly means that we pay more attention to the center position of the torso;

[0061] F3. Movement stability model training;

[0062] F3.1. Extract image samples of the subject completing the hurdle step and straight lunge squat from the front. The image samples must include the subject's torso vertically aligned with the ground to complete the action, the subject's torso tilted 5 degrees to the left to complete the action, the subject's torso tilted 10 degrees to the left to complete the action, the subject's torso tilted 15 degrees to the left to complete the action, the subject's torso tilted 20 degrees to the left to complete the action, the subject's torso tilted 25 degrees to the left to complete the action, the subject's torso tilted 30 degrees to the left to complete the action, the subject's torso tilted 35 degrees to the left to complete the action, the subject's torso tilted 40 degrees to the left to complete the action, and the subject's torso tilted 40 degrees to the left to complete the action. 5 degrees to complete the action, the subject's torso tilts 5 degrees to the right to complete the action, the subject's torso tilts 10 degrees to the right to complete the action, the subject's torso tilts 15 degrees to the right to complete the action, the subject's torso tilts 20 degrees to the right to complete the action, the subject's torso tilts 25 degrees to the right to complete the action, the subject's torso tilts 30 degrees to the right to complete the action, the subject's torso tilts 35 degrees to the right to complete the action, the subject's torso tilts 40 degrees to the right to complete the action, the subject's torso tilts 45 degrees to the right to complete the action, and all images are converted into grayscale images, and the above 19 grayscale images are represented by H0, H1, ..., H18;

[0063] F3.2. Using the maxpooling method, we use 5*5 as the sampling kernel to compare H0, H1, ..., H 18 Downsample, using η0,η1,...,η 18 Represents the downsampled image, where the length and width of the downsampled image are represented by α and β respectively;

[0064] F3.3. With h0,h1,...,h 18 Construct a filter function with a depth of 19 and record it as f;

[0065] F3.4. Construct a convolutional neural network that meets the following conditions:

[0066] F3.4.1. Construct a convolution kernel of size α×β×19 with filter function f;

[0067] F3.4.2. The pooling layer uses maxpooling;

[0068] F3.4.3. The activation function of the fully connected layer is xtanh(ln(1+e x ));

[0069] F3.4.4. The output layer is b1,c1,b2,c2,...,b 200 ,c 200 , c i =1 means the recognized object is the torso, c i =0 means the recognized object is not the torso, i=1,2,…,200;

[0070] F3.5. Use the loss function G to train the convolutional neural network;

[0071] F4. Action stability judgment;

[0072] F4.1. The time series of the lateral changes of the coordinates of the torso center point identified in the video stream is: n=0,1,2,…;

[0073] F4.2. Select a subject who completes the hurdle step and straight lunge squat with a perfect posture, and shoot a video from the front as a reference sample. Extract the time series of the lateral change of the coordinates of the subject's trunk center point in the sample, and record it as n=1,2,…;

[0074] F4.3. Regarding this time series Perform the following calculations:

[0075] F4.4. Record the current subject completing the hurdle step and straight lunge squat action, and shoot a video from the front as a sample. Use the convolutional neural network trained in step 3.5 to extract the time series x(n) of the lateral change of the coordinates of the subject's trunk center point in the sample, where n = 1, 2, ...;

[0076] F4.5. Regarding this time series Perform the following calculations: Because the shaking frequency of the subjects completing the hurdle step is not too high, only k = 0, 1, 2, 3, 4, 5, 6, 7 are considered here;

[0077] F4.6. It means that the subject is shaking when completing the action.

[0078] The beneficial effects of the present invention are as follows: the present invention proposes a method for automatically detecting the stability of functional movement screening based on computer vision, which assists in detecting the trunk shaking of FMS hurdle step and straight lunge squat action by extracting and analyzing the dynamic features of the trunk based on the video of the subject completing the action. Compared with the existing methods, it can reduce the workload of the assessment personnel, improve the assessment efficiency, and improve the stability and accuracy of the test results; the innovative points of the present invention are as follows:

[0079] (1) Traditional detection methods rely too much on the experience of the detector to complete the dynamic process of the action. The method of the present invention only requires the orientation of video acquisition and does not rely on the experience of the detector;

[0080] (2) Since the dynamic completion of the hurdle step and the straight lunge squat can be characterized by the shaking of the trunk, the detection method of the present invention only considers the trunk and non-trunk in the detection target extraction, which can effectively reduce the amount of calculation;

[0081] (3) The present invention makes targeted designs for the loss function and convolution kernel of the neural network, so that the torso part of the subject who completes the FMS action can be quickly identified;

[0082] (4) The present invention evaluates trunk sway through the lateral movement spectrum of the trunk during the standard completion of the hurdle step and the straight lunge squat and the lateral movement spectrum of the trunk during the actual completion of the movement by the subject, thereby effectively improving the detection accuracy. BRIEF DESCRIPTION OF THE DRAWINGS

[0083] The present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0084] Figure 1 The present invention is based on computer vision functional action screening action stability automatic detection method Schematic diagram of the part intersecting with B.

[0085] Figure 2 The present invention is based on computer vision functional action screening action stability automatic detection method Schematic diagram of the part parallel to phase B.

[0086] Figure 3 It is a schematic diagram of video stream segmentation in the method for automatic detection of motion stability based on computer vision functional motion screening of the present invention.

[0087] Figure 4 It is a schematic diagram of the structure of a convolutional neural network in the method for automatically detecting movement stability based on computer vision functional movement screening of the present invention. DETAILED DESCRIPTION

[0088] Embodiment 1:

[0089] Figure 1 In the embodiment shown, a method for automatically detecting the stability of functional action screening based on computer vision is characterized by comprising the following monitoring steps:

[0090] A1. The test sample generation step is to select the front of the subject as the video capture position and determine the stability of the movements involved in FMS by detecting the shaking of the torso in the video;

[0091] A2. Extraction step of the motion stability feature of the object under test, extracting the image stream of the above step A1 to form a test sample, extracting, analyzing and evaluating the motion stability feature of the motion shaking;

[0092] A3. The training step of the action stability model is to extract the action image samples of the subject completing the FMS from the front, divide the image samples into s rectangular frames, construct 2 bounding boxes in each rectangular frame, construct and train a convolutional neural network that can be set by the user to lock the position of the subject's torso in the image samples;

[0093] A4. The step of judging the stability of the action is to identify the full-score posture samples in the video stream as the reference samples of the action images involved in completing the FMS in the front-facing video, extract and record the samples, and train and construct the convolutional neural network that completes the above step A3. The threshold is set based on the samples to judge the stability of the subject when completing the actions involved in the FMS.

[0094] Preferably, the step of generating the test sample comprises the following steps:

[0095] B1. Select the front of the subject as the video capture position;

[0096] B2. FMS movements involving movement stability include hurdle step and straight lunge squat. The shaking during the movement can be characterized by the lateral movement of the trunk. The stability of the hurdle step and straight lunge squat can be determined by detecting the shaking of the trunk in the video.

[0097] B3. Select the frame rate F and extract the image stream in the video with F as the time interval. The nth image is represented by A(n). The sequence A(1), A(2), …, A(N) forms the detection sample for further stability feature extraction and analysis.

[0098] Preferably, the step of extracting the stability feature of the motion of the object under test comprises the following extraction steps: C1. For an image A(n), n=1, 2, ..., N, divide it into s rectangular frames, and use A i (n) represents the i-th rectangular box of image A(n);

[0099] C2. The evaluation of motion stability in FMS mainly evaluates the shaking of the torso during the completion of the action. B represents the bounding box corresponding to the actual body part of the measured object, and the body part involved is the torso;

[0100] C3. For rectangular box A i (n), generate L bounding boxes, and use Indicates A i The j-th bounding box of (n) needs to be found through continuous iteration, learning, and correction to find the one closest to B. C4. Using multiple groups To describe the features of the bounding box,

[0101] The parameters are defined as follows:

[0102] Represents a bounding box The coordinates of the center in the graph A(n);

[0103] Represents the bounding box The height and width of

[0104] Where P r (A i (n)) represents the rectangular box A i (n) The probability that there are body parts involved in evaluating the stability of FMS movements, express The area of ​​intersection with B (the intersection is as follows Figure 1 blue dashed box), express The area of ​​the combined part with B (such as Figure 2 blue dashed box);

[0105] C5. Use (x, y) to represent the coordinates of the rectangular box B in Figure A(n); use h, w to represent the height and width of the rectangular box B;

[0106] C6. Construct loss function

[0107]

[0108] When the center of the body part that the FMS focuses on is Inside, Q ij =1; otherwise, Q ij =0; λ1, λ2 are manually set parameters used to adjust the weight of the loss function.

[0109] Preferably, the step of determining the motion stability includes the following steps:

[0110] D1. Extract image samples of the subject completing the hurdle step and straight lunge squat from the front. The image samples must include the subject's torso vertically with the ground to complete the action, the subject's torso tilted 5 degrees to the left to complete the action, the subject's torso tilted 10 degrees to the left to complete the action, the subject's torso tilted 15 degrees to the left to complete the action, the subject's torso tilted 20 degrees to the left to complete the action, the subject's torso tilted 25 degrees to the left to complete the action, the subject's torso tilted 30 degrees to the left to complete the action, the subject's torso tilted 35 degrees to the left to complete the action, the subject's torso tilted 40 degrees to the left to complete the action, and the subject's torso tilted 20 degrees to the left to complete the action. The subject's torso tilts 45 degrees to the left to complete the action, the subject's torso tilts 5 degrees to the right to complete the action, the subject's torso tilts 10 degrees to the right to complete the action, the subject's torso tilts 15 degrees to the right to complete the action, the subject's torso tilts 20 degrees to the right to complete the action, the subject's torso tilts 25 degrees to the right to complete the action, the subject's torso tilts 30 degrees to the right to complete the action, the subject's torso tilts 35 degrees to the right to complete the action, the subject's torso tilts 40 degrees to the right to complete the action, the subject's torso tilts 45 degrees to the right to complete the action, and all images are converted into grayscale images, using H0,H1,...,H 18 Represents the above 19 grayscale images;

[0111] D2. Using the maxpooling method, we use m*m as the sampling kernel to compare H0, H1, ..., H 18 Downsample, using η0,η1,...,η 18 Represents the downsampled image, where the length and width of the downsampled image are represented by α and β respectively;

[0112] D3. With η0,η1,...,η 18 Construct a filter function with a depth of 19 and record it as f;

[0113] D4. Construct a convolutional neural network that meets the following conditions;

[0114] D4.1. Construct a convolution kernel of size α×β×19 with filter function f;

[0115] D4.2. The pooling layer uses maxpooling;

[0116] D4.3. The activation function of the fully connected layer is xtanh(ln(1+e x ));

[0117] D4.4. The output layer is b1, c1, b2, c2..., b sL ,c sL , c i =1 means the recognized object is the torso, c i =0 means the recognized object is not the torso;

[0118] D4.5. The number of convolutional layers and pooling layers can be set by the user;

[0119] D5. Use the loss function G to train the convolutional neural network.

[0120] Preferably, the step of determining the motion stability includes the following steps:

[0121] E1. The time series of the lateral changes of the coordinates of the torso center point identified in the video stream is: n=0,1,2,…;

[0122] E2. Select a subject who completes the hurdle step and straight lunge squat with a perfect posture, and shoot a video from the front as a reference sample. Extract the time series of the lateral change of the coordinates of the subject's trunk center point in the sample, and record it as n=1,2,…;

[0123] E3. Regarding this time series Perform the following calculations: E4. Record the current subject's completion of the hurdle step and straight lunge squat action, and shoot a video from the front as a sample. Use the convolutional neural network trained in step 3.5 to extract the time series x(n) of the lateral change of the subject's trunk center coordinate in the sample, where n = 1, 2, ...;

[0124] E5. Regarding this time series Perform the following calculations:

[0125] E6. When (τ is an artificially set threshold), indicating that the subject was shaking when completing the action.

[0126] Embodiment 2:

[0127] The movements involved in FMS include hurdle step and straight lunge squat. The hurdle step movement is similar to the straight lunge squat. The stability test of the hurdle step movement includes the following specific test steps:

[0128] F1. Detection of the object in the video stream;

[0129] F1.1. Select the front of the subject as the video capture position;

[0130] F1.2. Select a frame rate of 10 Hz and extract the image stream in the video at a time interval of 0.1 seconds, represented by A(1), A(2), …, A(N);

[0131] F2. Extraction of motion stability features of the object under test;

[0132] F2.1. For image A(n), n=1,2,…,N, split it into 10*10 rectangular frames, using A i(n) represents the i-th rectangular box of image A(n);

[0133] F2.2. Use B to represent the torso of the actual object being measured;

[0134] F2.3. For rectangular frame A i (n), generate two bounding boxes, using Indicates A i The j-th bounding box of (n);

[0135] F2.4. Using multi-group b ij ={x ij ,y ij ,h ij ,w ij ,C ij} to describe the features of the bounding box, and the parameters are defined as follows:

[0136] Represents a bounding box The coordinates of the center in the graph A(n);

[0137] h ij ,w ij Represents the bounding box The height and width of

[0138] Where P r (A i (n)) represents the rectangular box A i (n) The probability that there are body parts involved in evaluating the stability of FMS movements, express The area of ​​intersection with B (the intersection is as follows Figure 1 blue dashed box), express The area of ​​the combined part with B (such as Figure 2 blue dashed box);

[0139] F2.5. Construct loss function:

[0140]

[0141] When the subject's torso is in Inside, Q ij =1; otherwise, Q ij =0; λ1, λ2 are manually set parameters used to adjust the weight of the loss function. In the hurdle step motion stability detection, λ1=5, λ2=1 are set. This setting mainly means that we pay more attention to the center position of the torso;

[0142] F3. Movement stability model training;

[0143] F3.1. Extract image samples of the subject completing the hurdle step and straight lunge squat from the front. The image samples must include the subject's torso vertically aligned with the ground to complete the action, the subject's torso tilted 5 degrees to the left to complete the action, the subject's torso tilted 10 degrees to the left to complete the action, the subject's torso tilted 15 degrees to the left to complete the action, the subject's torso tilted 20 degrees to the left to complete the action, the subject's torso tilted 25 degrees to the left to complete the action, the subject's torso tilted 30 degrees to the left to complete the action, the subject's torso tilted 35 degrees to the left to complete the action, the subject's torso tilted 40 degrees to the left to complete the action, and the subject's torso tilted 40 degrees to the left to complete the action. The subject's torso tilts 45 degrees to the left to complete the action, the subject's torso tilts 5 degrees to the right to complete the action, the subject's torso tilts 10 degrees to the right to complete the action, the subject's torso tilts 15 degrees to the right to complete the action, the subject's torso tilts 20 degrees to the right to complete the action, the subject's torso tilts 25 degrees to the right to complete the action, the subject's torso tilts 30 degrees to the right to complete the action, the subject's torso tilts 35 degrees to the right to complete the action, the subject's torso tilts 40 degrees to the right to complete the action, the subject's torso tilts 45 degrees to the right to complete the action, and all images are converted into grayscale images, using H0,H1,...,H 18 Represents the above 19 grayscale images;

[0144] F3.2. Using the maxpooling method, we use 5*5 as the sampling kernel to compare H0, H1, ..., H 18 Downsample, using η0,η1,...,η 18 Represents the downsampled image, where the length and width of the downsampled image are represented by α and β respectively;

[0145] F3.3. With η0,η1,...,η 18 Construct a filter function with a depth of 19 and record it as f;

[0146] F3.4. Construct a convolutional neural network that meets the following conditions:

[0147] F3.4.1. Construct a convolution kernel of size α×β×19 with filter function f;

[0148] F3.4.2. The pooling layer uses maxpooling;

[0149] F3.4.3. The activation function of the fully connected layer is xtanh(ln(1+e x ));

[0150] F3.4.4. The output layer is b1,c1,b2,c2,...,b 200 ,c 200 , c i =1 means the recognized object is the torso, c i =0 means the recognized object is not the torso, i=1,2,…,200;

[0151] F3.5. Use the loss function G to train the convolutional neural network;

[0152] F4. Action stability judgment;

[0153] F4.1. The time series of the lateral changes of the coordinates of the torso center point identified in the video stream is: n=1, 2, ...;

[0154] F4.2. Select a subject who completes the hurdle step and straight lunge squat with a perfect posture, and shoot a video from the front as a reference sample. Extract the time series of the lateral change of the coordinates of the subject's trunk center point in the sample, and record it as n=1, 2, ...;

[0155] F4.3. Regarding this time series Perform the following calculations:

[0156] F4.4. Record the current subject completing the hurdle step and straight lunge squat action, and shoot a video from the front as a sample. Use the convolutional neural network trained in step 3.5 to extract the time series x(n) of the lateral change of the coordinates of the subject's trunk center point in the sample, where n = 1, 2, ...;

[0157] F4.5. Regarding this time series Perform the following calculations: Because the shaking frequency of the subjects completing the hurdle step is not too high, only k = 0, 1, 2, 3, 4, 5, 6, 7 are considered here;

[0158] F4.6. It means that the subject is shaking when completing the action.

Claims

1. A method for automatically detecting movement stability based on computer vision functional movement screening, characterized in that The monitoring steps include: A1. The test sample generation step is to select the front of the subject as the video capture position and determine the stability of the movements involved in FMS by detecting the shaking of the torso in the video; A2. Extraction step of the motion stability feature of the object under test, extracting the image stream of the above step A1 to form a test sample, extracting, analyzing and evaluating the motion stability feature of the motion shaking; A3. The training step of the action stability model is to extract the action image samples of the subject completing the FMS from the front, divide the image samples into s rectangular frames, construct 2 bounding boxes in each rectangular frame, construct and train a convolutional neural network set by the user to lock the position of the subject's torso in the image samples; A4. Action stability judgment step: identify the full-score posture samples in the video stream as reference samples of the action images involved in the front-facing video to complete FMS, extract and record the samples, and train the convolutional neural network constructed to complete the above step A3. According to the samples, set the threshold to judge the stability of the subject when completing the actions involved in FMS; The steps of generating the test sample include the following: B1. Select the front of the subject as the video capture position; B2. FMS movements involving movement stability include hurdle step and straight lunge squat. The shaking during the movement is characterized by the lateral movement of the trunk. The stability of the hurdle step and straight lunge squat is determined by detecting the shaking of the trunk in the video. B3. Select a frame rate F and extract the image stream in the video at a time interval of F. The nth image is represented by A(n). The sequence A(1), A(2), …, A(N) forms a detection sample for subsequent further stability feature extraction and analysis. The step of extracting the motion stability feature of the measured object includes the following extraction steps: C1. For image A(n), n=1,2,…,N, divide it into s rectangular frames, using A i (n) represents the i-th rectangular box of image A(n); C2. The evaluation of motion stability in FMS mainly evaluates the shaking of the torso during the completion of the action. B represents the bounding box corresponding to the actual body part of the measured object, and the body part involved is the torso; C3. For rectangular box A i (n), generate L bounding boxes, and use Indicates A i The j-th bounding box of (n) needs to be found through continuous iteration, learning, and correction to find the one closest to B. C4. Using multiple groups To describe the features of the bounding box, The parameters are defined as follows: Represents a bounding box The coordinates of the center in image A(n); Represents the bounding box The height and width of Where P r (A i (n)) represents the rectangular box A i (n) The probability that there are body parts involved in evaluating the stability of FMS movements, express The area of ​​intersection with B, express The area of ​​B together with B; C5. Use (x, y) to represent the coordinates of the rectangular box B in the image A(n); use h, w to represent the height and width of the rectangular box B; C6. Construct loss function When the center of the body part that the FMS focuses on is Inside, Q ij =1; otherwise, Q ij =0; λ1, λ2 are manually set parameters used to adjust the weight of the loss function; The step of determining the motion stability includes the following steps: D1. Extract image samples of the subject completing the hurdle step and straight lunge squat from the front. The image samples must include the subject's torso vertically with the ground to complete the action, the subject's torso tilted 5 degrees to the left to complete the action, the subject's torso tilted 10 degrees to the left to complete the action, the subject's torso tilted 15 degrees to the left to complete the action, the subject's torso tilted 20 degrees to the left to complete the action, the subject's torso tilted 25 degrees to the left to complete the action, the subject's torso tilted 30 degrees to the left to complete the action, the subject's torso tilted 35 degrees to the left to complete the action, the subject's torso tilted 40 degrees to the left to complete the action, and the subject's torso tilted 20 degrees to the left to complete the action. The subject's torso tilts 45 degrees to the left to complete the action, the subject's torso tilts 5 degrees to the right to complete the action, the subject's torso tilts 10 degrees to the right to complete the action, the subject's torso tilts 15 degrees to the right to complete the action, the subject's torso tilts 20 degrees to the right to complete the action, the subject's torso tilts 25 degrees to the right to complete the action, the subject's torso tilts 30 degrees to the right to complete the action, the subject's torso tilts 35 degrees to the right to complete the action, the subject's torso tilts 40 degrees to the right to complete the action, the subject's torso tilts 45 degrees to the right to complete the action, and all images are converted into grayscale images, using H0,H1,...,H 18 Represents the above 19 grayscale images; D2. Using the maxpooling method, we use m*m as the sampling kernel to compare H0, H1, ..., H 18 Downsample, using η0,η1,...,η 18 Represents the downsampled image, where the length and width of the downsampled image are represented by α and β respectively; D3. With h0,h1,...,h 18 Construct a filter function with a depth of 19 and record it as f; D4. Construct a convolutional neural network that meets the following conditions; D4.

1. Construct a convolution kernel of size α×β×19 with filter function f; D4.

2. The pooling layer uses maxpooling; D4.

3. The activation function of the fully connected layer is xtanh(ln(1+e x )); D4.

4. The output layer is b1, c1, b2, c2..., b sL ,c sL , c i =1 means the recognized object is the torso, c i =0 means the recognized object is not the torso; D4.

5. The number of convolutional layers and pooling layers is set by the user; D5. Use the loss function G to train the convolutional neural network; The step of determining the motion stability includes the following steps: E1. Select a subject who completes the hurdle step and straight lunge squat with a perfect posture, and shoot a video from the front as a reference sample. Extract the time series of the lateral change of the coordinates of the subject's trunk center point in the sample, and record it as E2. Regarding this time series Perform the following calculations: E3. Record the current subject's completion of the hurdle step and straight lunge squat action, and shoot a video from the front as a sample. Use the convolutional neural network trained in step 3.5 to extract the time series x(n) of the lateral change of the subject's trunk center coordinate in the sample, where n = 0, 1, 2, ...; E4. Perform the following calculations on the time series x(n): E5. When τ is an artificially set threshold, indicating that the subject has shaking when completing the action.

Citation Information

Patent Citations

  • Body stability evaluation method based on images and device using the same

    CN103099622A

  • time sequence behavior detection method based on 3D human body key points

    CN109919122A

  • Functional action detection method and system based on artificial intelligence

    CN112370045A

  • Stability testing method based on machine vision detection

    CN113419914A