Fall prediction method and system based on video gait data and deep learning
Through methods based on video gait data and deep learning, gait parameters and variability are extracted and input into a deep convolutional neural network for fall prediction, which solves the deficiencies in adaptability and feature selection of the existing system and achieves more accurate Fall risk assessment and personalized prevention strategies improve the accuracy and reliability of fall prediction.
Patent Information
- Application Number
- CN202410731152.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-06
- Publication Date
- 2024-08-30
AI Technical Summary
Existing fall prediction systems have poor versatility in adapting to people of different ages and physical conditions, and insufficient feature selection. Moreover, traditional methods are difficult to accurately measure step width and step length, and do not fully utilize gait variability, resulting in limited prediction performance. .
Using a method based on video gait data and deep learning, by acquiring video data, extracting human skeleton point data, calculating gait parameters and coefficient of variation, and inputting them into a deep convolutional neural network to predict fall status, a more accurate fall risk can be achieved Evaluate.
It improves the accuracy and system performance of fall prediction, can provide personalized prevention strategies for the elderly, and enhances the reliability and safety monitoring of fall prediction.
Smart Images

Figure CN118570702A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of fall prediction, and in particular to a fall prediction method and system based on video gait data and deep learning. Background Art
[0002] Falls are one of the most serious health problems for the elderly, causing serious physical injuries and significant socioeconomic burdens. In view of this, the prediction and prevention of falls have become a key research topic in the field of public health. Although a variety of fall prediction systems have appeared on the market, these systems still have several limitations in practical applications, such as insufficient adaptability to specific populations and inaccurate feature selection.
[0003] Poor versatility: These systems are often difficult to adapt to people of different ages and physical conditions. There are significant differences in gait and physiological characteristics between the elderly and the young, but existing fall prediction systems often perform poorly in distinguishing these key differences.
[0004] Inadequate feature selection: Many systems rely on traditional feature selection methods, which may fail to fully identify and utilize features that have a significant impact in fall detection. As a result, prediction performance may be limited and the actual utility of different features cannot be fully evaluated.
[0005] Traditional methods have significant limitations, and traditional timed mobility tests are not accurate enough. There are certain limitations to using laboratory equipment (gold standard) to collect gait data, such as inconvenience, relatively high prices, and some indicators and other monitoring data need to be improved. Traditional IMU devices are usually unable to measure step width and step length, which are important clinical indicators for predicting falls.
[0006] Gait variability is underutilized. Gait variability is a key biomarker for assessing fall risk. However, the application of this important feature is often overlooked in current fall prediction systems. Since gait variability can reflect the stability and coordination of an individual's gait, failure to fully utilize this information may lead to inaccurate assessment of an individual's fall risk, thus affecting the effective implementation of preventive measures. Summary of the invention
[0007] In order to address the deficiencies of the prior art, the present invention provides a fall prediction method and system based on video gait data and deep learning; the video analysis method used can effectively measure step length and step width, thereby achieving more accurate prediction. It is particularly important to develop a system that can integrate gait variability data for accurate fall risk assessment, which can not only improve the accuracy of fall prediction, but also help to develop more personalized prevention strategies for high-risk individuals.
[0008] On the one hand, a fall prediction method based on video gait data and deep learning is provided;
[0009] Fall prediction method based on video gait data and deep learning, including:
[0010] Obtaining video data to be processed; determining the position of a human body bounding box from the video data to be processed; and then extracting human body bone point data according to the position of the human body bounding box;
[0011] Based on the human skeleton point data, gait parameters and gait parameter variation coefficients are calculated; the gait parameters include: step length, step speed, swing time, double-foot support time, step time, stride and step width; the gait parameter variation coefficient includes: step length variability, step speed variability, swing time variability, double-foot support time variability;
[0012] The gait parameters and the coefficient of variation of the gait parameters are input into the trained first deep convolutional neural network model to obtain a fall state prediction result; the trained first deep convolutional neural network is obtained by training the first deep convolutional neural network based on the gait parameters and the coefficient of variation of the gait parameters of the known fall state or not.
[0013] On the other hand, a fall prediction system based on video gait data and deep learning is provided;
[0014] Fall prediction system based on video gait data and deep learning, including:
[0015] The acquisition module is configured to: acquire the video data to be processed; determine the position of the human body bounding box from the video data to be processed; and extract the human body skeleton point data according to the position of the human body bounding box;
[0016] A calculation module is configured to calculate gait parameters and gait parameter variation coefficients based on human skeleton point data; the gait parameters include: step length, step speed, swing time, double-foot support time, step time, stride and step width; the gait parameter variation coefficient includes: step length variability, step speed variability, swing time variability, double-foot support time variability;
[0017] The prediction module is configured to: input the gait parameters and the coefficient of variation of the gait parameters into the trained first deep convolutional neural network model to obtain a fall state prediction result; the trained first deep convolutional neural network is obtained by training the first deep convolutional neural network based on the gait parameters and the coefficient of variation of the gait parameters of the known fall state or not.
[0018] On the other hand, there is also provided an electronic device, comprising:
[0019] a memory for non-transitory storage of computer-readable instructions; and
[0020] a processor for executing the computer readable instructions,
[0021] When the computer-readable instructions are executed by the processor, the method described in the first aspect is executed.
[0022] On the other hand, a storage medium is provided, which non-temporarily stores computer-readable instructions, wherein when the non-temporary computer-readable instructions are executed by a computer, the instructions of the method described in the first aspect are executed.
[0023] On the other hand, a computer program product is provided, comprising a computer program, wherein the computer program is used to implement the method described in the first aspect when running on one or more processors.
[0024] The above technical solution has the following advantages or beneficial effects:
[0025] The present invention proposes a deep learning method for predicting the fall risk of the elderly based on gait data of video analysis. The method uses a convolutional neural network (CNN) for target recognition, obtains the skeletal point parameters of the object to be tested, and then calculates the gait parameters and gait variability based on biomechanics. Then, a model is established with the help of a deep convolutional neural network (DCNN) for fall prediction. Through video analysis, not only can the parameters in the traditional method be obtained, but also the step length and step width that cannot be obtained by the traditional method can be extracted, which effectively solves the problem of lack of connection between the left and right foot monitoring data, and then provides a more accurate fall risk prediction. This system adopts a deep learning model based on the DCNN algorithm, and uses the most advanced deep learning technology to extract gait features from the video, which further improves the accuracy of fall prediction and the overall performance of the system. This innovative method not only improves the reliability of fall prediction, but also provides strong technical support for the safety monitoring of the elderly. The accuracy of fall prediction and the overall performance of the system are further improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] The accompanying drawings in the specification, which constitute a part of the present invention, are used to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute improper limitations on the present invention.
[0027] Figure 1 is a flow chart of the method of embodiment 1;
[0028] Figure 2 Schematic diagram of the internal structure of the deep convolutional neural network of Example 1. DETAILED DESCRIPTION
[0029] It should be noted that the following detailed descriptions are exemplary and are intended to provide further explanation of the present invention. Unless otherwise specified, all technical and scientific terms used herein have the same meanings as those commonly understood by those skilled in the art to which the present invention belongs.
[0030] Embodiment 1
[0031] This embodiment provides a fall prediction method based on video gait data and deep learning;
[0032] like Figure 1 As shown in FIG. 1 , a fall prediction method based on video gait data and deep learning includes:
[0033] S101: Obtaining video data to be processed; determining the position of a human body bounding box from the video data to be processed; and then extracting human body skeleton point data according to the position of the human body bounding box;
[0034] S102: Calculate gait parameters and gait parameter variation coefficients based on human skeleton point data; the gait parameters include: step length, step speed, swing time, double-foot support time, step time, stride and step width; the gait parameter variation coefficient includes: step length variability, step speed variability, swing time variability, double-foot support time variability;
[0035] S103: Inputting the gait parameters and the coefficient of variation of the gait parameters into the trained first deep convolutional neural network model to obtain a fall state prediction result; the trained first deep convolutional neural network is obtained by training the first deep convolutional neural network based on the gait parameters and the coefficient of variation of the gait parameters of the known fall state or not.
[0036] Furthermore, the step S101: obtaining the video data to be processed is performed by collecting the video data using a camera. The video data collection uses a high-resolution camera to capture walking videos from the side or multiple angles so as to clearly observe each stage of the gait.
[0037] Furthermore, the step S101: determining the position of a human body boundary box from the video data to be processed specifically includes:
[0038] The video data to be processed is input into a trained second deep convolutional neural network to obtain a human body bounding box position; the trained second deep convolutional neural network is trained based on a human body image with a known human body bounding box position.
[0039] Furthermore, the step S101: extracting human skeleton point data according to the position of the human body bounding box includes:
[0040] Use heat map to extract the coordinates of human skeleton points; or,
[0041] Based on the regression algorithm, the coordinate position of human skeleton points is predicted.
[0042] Furthermore, the method of using a heat map to extract the coordinate positions of human skeleton points includes:
[0043] Input the input image to the trained third deep convolutional neural network and output a heat map. Each pixel value in each heat map represents the probability that the corresponding pixel point in the original image is a bone joint point.
[0044] Among them, the trained third deep convolutional neural network is trained based on human body images with known real skeletal joint positions.
[0045] Furthermore, based on the regression algorithm, the coordinate positions of the human skeleton points are predicted, including:
[0046] Input the input image into the trained fourth deep convolutional neural network to obtain the predicted value of the coordinate position of the human skeleton point;
[0047] Among them, the trained third deep convolutional neural network is trained based on human body images with known real skeletal joint positions.
[0048] Exemplarily, the skeleton point extraction process and (DCNN parameter description) described in the video-based analysis refer to an open source posture estimation toolbox based on PyTorch, which takes a video of a test target moving as input, and uses a deep convolutional neural network (DCNN) to simultaneously predict multiple bounding boxes and give corresponding probabilities. The image is divided into an SxS grid, and each grid unit predicts B bounding boxes and the confidence of these boxes. The confidence can reflect the accuracy of the bounding box and whether the box actually contains a specific object. Each bounding box includes the center position, size, and a confidence score of the bounding box, which indicates the possibility of containing an object in the bounding box and the accuracy of the bounding box. At the same time, in order to reduce the situation where the same object is repeatedly detected by multiple boxes, the non-maximum suppression (NMS) method is also used, that is, the deduplication operation is achieved by retaining the bounding box with the highest confidence and removing other boxes with high overlap and low confidence.
[0049] After determining the position of the human body, the heat map-based method is used to extract the bone point data of the key parts of the human body, and they predict the position probability distribution of each key point. (Or based on the direct regression method, the coordinates of the key points of the corresponding bone points are directly predicted)
[0050] Based on the heat map method, a deep convolutional neural network (DCNN) is usually used. During the training phase, the network learns how to map the input image to a set of heat maps. The size of each heat map is usually smaller than the size of the original input image. Each pixel value of each heat map represents the probability that a certain position in the corresponding original image is the key point. The actual position of each key point in the training data is used to generate the training heat map. We use a Gaussian distribution around the actual position of the key point so that its exact position can be marked.
[0051] Based on the direct regression method, in the direct regression method, a neural network (usually a deep convolutional neural network, DNN) is trained to predict the coordinates of key points directly from the input image. It consists of multiple hidden layers and a final fully connected layer, which directly outputs the key point coordinates. The key point coordinate output is a vector containing the x and y coordinates of all key points. For example, if the model is used to detect 3 key points of the foot, the output may be a vector containing 6 values (two coordinates for each key point). During the training process, the network is optimized by minimizing the difference between the predicted coordinates and the true coordinates. Commonly used loss functions include mean squared error (MSE).
[0052] Further, S102: based on the human skeleton point data, gait parameters and gait parameter variation coefficients are calculated; the gait parameters include: step length, step speed, swing time, double-foot support time, step time, stride and step width;
[0053] The step length refers to the horizontal distance from when one foot leaves the ground to when the same foot touches the ground again.
[0054] The step speed refers to the speed value obtained by dividing the step length by the step time;
[0055] The swing time refers to the time it takes for a foot to leave the ground and swing forward during the gait cycle; from the time a foot leaves the ground to the time the same foot touches the ground again;
[0056] The double-foot support time refers to the time when both feet are in contact with the ground at the same time during the gait cycle, starting from when one foot just touches the ground to when the other foot leaves the ground;
[0057] The step time refers to the time from when one foot leaves the ground to when the same foot touches the ground again;
[0058] The stride length refers to: the horizontal distance from one foot leaving the ground to the other foot touching the ground;
[0059] The step width refers to the horizontal distance between two feet during walking.
[0060] For example, the video analysis stride method is used to identify the set gait events; the mid-stance (MS) is set. Gait event definition and identification:
[0061] Mid-stance (MS): When the key points of the foot (such as the vertical distance from the heel to the toe) are stable at the lowest point and the two legs are roughly symmetrical, it is considered to be mid-stance. This can be further confirmed by analyzing the relative position and stability of the two legs.
[0062] Threshold and continuity analysis: When using video analysis, we do not rely on physical pressure values. We set thresholds to determine whether the movement changes of key points are significant enough. For example, the sudden change of the speed or acceleration of the key points can be used as a criterion for identifying each gait stage. Calculate the speed: The position of each key point is differentiated between frames, and then divided by the time interval, calculated according to the video frame rate to obtain the velocity vector. Calculate the acceleration: Perform a similar differentiation process on the velocity vector to obtain the acceleration. Perform continuity analysis on the movement trajectory of the key points to ensure that the identified gait events are kinematically continuous and reasonable.
[0063] After the gait event is detected, the gait parameters are calculated according to the definition of the gait parameters and the data obtained by the video analysis. Among them, after the MS is detected, the specific parameters can be calculated.
[0064] Step time refers to the time from when a foot leaves the ground to when the same foot touches the ground again. This period of time includes a complete gait cycle. Assume that the speed threshold is set to V = 0.3m / s.
[0065] Time point t1: The right foot velocity exceeds V for the first time, marked as the right foot "starting swing" event.
[0066] Time point t2: the speed of the right foot drops below V again, which is marked as the right foot "end swing" event.
[0067] Time point t3: The speed of the right foot exceeds V again, which is marked as the next “starting swing” event of the right foot.
[0068] Step Time can be calculated by the following formula: Step Time = t3-t1
[0069] Swing Time refers to the time it takes for a foot to leave the ground and swing forward during the gait cycle. It starts from the moment the foot leaves the ground until the same foot touches the ground again. Assume that the speed threshold is set to V.
[0070] Time point t1: the speed of the right foot exceeds V, which is marked as the right foot "starting swing" event.
[0071] Time point t2: the speed of the right foot drops below V, which is marked as the right foot "end swing" event.
[0072] The swing time can be calculated by the following formula:
[0073] Swing Time==t2-t1
[0074] Double Support Time refers to the time in the gait cycle when both feet are in contact with the ground. This phase occurs in the short period of time between one foot just touching the ground and the other foot about to leave the ground.
[0075] Assume that the speed threshold is set to V = 0.3 m / s.
[0076] Time point t1: the speed of the right foot exceeds V, which is marked as the right foot "starting swing" event.
[0077] Time point t2: the speed of the right foot drops below V, which is marked as the right foot "end swing" event.
[0078] Time point t4: the left foot speed exceeds V, marked as the left foot "starting swing" event.
[0079] Time point t5: the left foot velocity drops below V, marked as the left foot "end swing" event.
[0080] Double Support Time refers to the time interval between the two feet contacting the ground at the same time in a gait cycle. The specific calculation is as follows:
[0081] Find the time interval between the right foot "end swing" event t2 and the left foot "start swing" event t4.
[0082] Find the time interval between the left foot "end swing" event t5 and the right foot "start swing" event t1.
[0083] The double support time is equal to the sum of these two time intervals:
[0084] Double Support Time=(t4-t2)+(t4-t1)
[0085] Step length refers to the horizontal distance from when one foot leaves the ground to when the same foot touches the ground again. A step length usually consists of two strides (one for the left foot and one for the right foot).
[0086] When the speed of the right foot exceeds 0.3 m / s, it is marked as the right foot "starting swing" event, and the position P1 at that moment is recorded.
[0087] When the speed of the right foot drops below 0.5 m / s again, it is marked as the right foot "end swing" event, and the position P2 at that moment is recorded.
[0088] Calculate the step length, which is the horizontal distance between the "starting swing" position P1 (x1, y1) and the next "starting swing" position P2 (x2, y2).
[0089] The formula for calculating step length is: Step Length = |P2-P1|
[0090] Step Length=sqrt[(x2-x1)2+(y2-y1)2]
[0091] Stride velocity refers to the stride length divided by the stride time, which indicates the walking speed, usually measured in meters per second (m / s). It can be roughly estimated by dividing the stride length by the swing time.
[0092] Stride length refers to the horizontal distance from one foot leaving the ground to the other foot touching the ground. Stride length is half of the step length and is usually used to describe the distance of a single step.
[0093] When the speed of the right foot exceeds 0.3 m / s, it is marked as a right foot "starting swing" event, and the position P1Start (x1, y1) at that moment is recorded.
[0094] When the speed of the left foot exceeds 0.3 m / s, it is marked as the left foot "end swing" event, and the position P2End (x2, y2) at that moment is recorded.
[0095] Calculate the stride:
[0096] The stride length is the horizontal distance between the "starting swing" position of the right foot, P1Start, and the "ending swing" position of the left foot, P2End.
[0097] The formula for calculating the stride length is: Stride Length = |P1Start-P2End| = sqrt[(x2-x1)2+(y2-y1)2]
[0098] Step Width Step width refers to the horizontal distance (lateral distance) between the two feet during walking. The step width is obtained by using the bone point data obtained from the video and the bone points of the two ankles are used to make a difference. When the speed does not exceed the threshold, the coordinates of the left and right ankle bone points are obtained as (x1, y1) and (x2, y2). The formula Step Width = sqrt[(x2-x1)2+(y2-y1)2] is used to calculate the step width data.
[0099] All gait parameters of more than 23 gait cycles were collected, their mean and standard deviation were calculated, and the gait variability of each gait parameter was obtained by dividing the mean by the standard deviation.
[0100] Further, S102: the coefficient of variation (CV) of the gait parameters includes: step length variability, step speed variability, swing time variability, and double-foot support time variability, wherein:
[0101] The step length variability refers to:
[0102]
[0103] Among them, CV sl represents the coefficient of variation of stride length, SD sl represents the standard deviation of the step length, Represents the mean of the stride lengths.
[0104] Formula (1) provides a relative measure of stride length variability by calculating the ratio of the standard deviation to the mean stride length. Higher values indicate greater variability in stride length, while lower values indicate less variability. In gait analysis and fall risk assessment, the coefficient of variation of stride length is often used to assess gait instability and risk level.
[0105] The variability of walking speed refers to:
[0106]
[0107] Among them, CV sv represents the standard deviation of walking speed, Represents the mean walking speed.
[0108] The swing time variability refers to:
[0109]
[0110] Among them, SD sw Refers to the variance in the temporal duration of the swing phase of the gait cycle, measured in seconds. Represents the mean duration of the swing phase of the gait cycle, measured in seconds.
[0111] The variability of the double-foot support time refers to:
[0112]
[0113] Among them, CV ds represents the coefficient of variation of the duration of the double support phase, SD ds represents the standard deviation of the double-foot support time, It represents the mean of the support time of both feet. The coefficient of variation and mean calculation formulas for other indicators are similar and will not be repeated here.
[0114] Exemplarily, gait parameters are calculated, the stride is segmented based on the threshold method of acceleration and velocity, and the required gait parameters and gait variability are calculated using biomechanical characteristics, including step length, stride velocity, swing time, double support time, step time, stride length, step width and their corresponding coefficient of variation CV (Coefficient of Variation) and average AVG (Average).
[0115] In order to accurately assess and prevent the risk of falls, it is essential to systematically collect gait data, including parameters such as stride length and cadence, and conduct a comprehensive analysis of gait parameters. In addition, calculating gait variability can effectively reflect the stability of an individual's gait, thereby more accurately capturing the individual's biological characteristics. By comprehensively utilizing gait parameters and gait variability information, the sensitivity and predictive ability of potential fall risks can be enhanced, thereby providing a scientific basis for preventing falls.
[0116] Further, the S103: inputting the gait parameters and the coefficient of variation of the gait parameters into the trained first deep convolutional neural network model to obtain a fall state prediction result; the trained first deep convolutional neural network is obtained by training the first deep convolutional neural network based on the gait parameters and the coefficient of variation of the gait parameters of the known fall state; wherein the training process of the trained first deep convolutional neural network includes:
[0117] Constructing a training set, wherein the training set is gait data of a known falling state or a non-falling state; the gait data includes: gait parameters and gait variation coefficient;
[0118] The training set is input into the first deep convolutional neural network, and the first deep convolutional neural network is trained. When the total loss function value of the first deep convolutional neural network no longer decreases, the training is stopped to obtain the trained first deep convolutional neural network.
[0119] Furthermore, the construction of the training set includes: preprocessing the existing video data; then, extracting the human body area bounding box from the preprocessed video data, and then extracting human bone point data from the image of the known human body area bounding box; the preprocessing includes: video cropping, normalization, denoising, and contrast enhancement.
[0120] It should be understood that in terms of video data preprocessing, firstly, the acquired video data is preprocessed by taking advantage of the targeted advantages of private datasets over public datasets, including video cropping, normalization, denoising, contrast enhancement, etc., so as to improve the accuracy of key point detection for further analysis and application. Subsequently, the extraction of skeleton point data mainly includes detecting the human body area and outputting the parameters of the identified bounding box, and its specific output form is [x, y, width, height], thereby realizing the conversion of the original video data into processable skeleton point data.
[0121] Construct a dataset, collect gait data with known fall or non-fall states by annotating private data aggregation, and establish a specific dataset that meets the target requirements.
[0122] The DCNN deep convolutional neural network model is trained based on the extracted gait parameters including step length, stride velocity, swing time, double support time, step time, stride length, step width and their corresponding coefficient of variation CV (Coefficient of Variation) and average AVG (Average). This coherent processing strategy ensures the efficiency and accuracy of the prediction model, providing solid scientific support for preventing falls in the elderly.
[0123] Furthermore, if Figure 2 As shown, the internal structures of the first deep convolutional neural network, the second deep convolutional neural network, the third deep convolutional neural network and the fourth deep convolutional neural network are consistent. The first deep convolutional neural network includes an input layer, a first hidden layer, a second hidden layer, a third hidden layer, a fourth hidden layer and an output layer connected in sequence; wherein, there are four hidden layers in total, 300 neurons in the first hidden layer participate in the operation of the ReLU activation function, 100 neurons in the second hidden layer participate in the operation of the ReLU activation function, 50 neurons in the third hidden layer participate in the operation of the ReLU activation function, and 20 neurons in the fourth hidden layer participate in the operation of the ReLU activation function.
[0124] Various gait parameters are input into the deep learning model for training, so as to evaluate the prediction performance index of each combination and finally obtain the trained deep learning model. Here, the selected DCNN deep learning model is particularly suitable for processing gait data because it can effectively adapt to the variation between different individuals. The DCNN deep convolutional neural network model adjusts the weight (w) and bias (b) of each data point, which particularly enhances the model's ability to identify difficult-to-predict individuals, thereby significantly improving the model's generalization ability on diverse data and overall fall prediction performance. This approach enables the model to not only learn the broad characteristics of the data, but also accurately adjust to cope with various complex situations, ensuring the accuracy and reliability of the prediction.
[0125] A data set is constructed to obtain training samples, wherein the training samples include gait data of known falling or non-falling states; wherein the gait data is collected by analyzing walking videos, wherein the walking videos are obtained by shooting a test subject walking along a prescribed route through a camera.
[0126] All data are input into the deep learning model to train the model. When the number of training iterations exceeds the set number, or the total loss function value is less than the set threshold, the training is stopped to obtain the trained deep learning model.
[0127] Gait features are obtained through video analysis, and the key gait parameters required for fall prediction, such as step length, step frequency, posture changes, etc., are obtained by analyzing and sorting the gait features. These parameters can provide important information about the individual's action status.
[0128] The variability of gait parameters, i.e. the fluctuations and changes in an individual's walking process, is calculated. This feature can reflect the individual's movement stability and thus help assess the risk of falling.
[0129] The system of the present invention collects individual gait parameters and calculates gait variability. Gait parameters include information such as stride length and cadence, while gait variability reflects the stability of individual gait. By comprehensively utilizing this information, the system can capture the biological characteristics of individuals more comprehensively and improve the sensitivity to the risk of falls. This method of comprehensively utilizing gait parameters and gait variability makes the system more advantageous in fall prediction.
[0130] In order to effectively learn and adapt to the differences between different individuals, the present invention adopts a deep learning neural network based on DCNN. DCNN can adaptively adjust the model weights and biases, and strengthen the learning ability for difficult-to-predict individuals. By introducing this deep learning model, the system of the present invention can better adapt to diversity and improve the overall fall prediction performance.
[0131] Through the above steps, the present invention provides a real-time, effective and adaptable fall prediction method, which is applicable to multiple fields such as sports biomechanics and rehabilitation medicine. The method introduces a deep learning model, which significantly improves the intelligence and accuracy of fall prediction, and provides a new technical means for research and practical application in these fields.
[0132] Scope of application: This method is applicable to individuals of different ages and physiological states, significantly improving the versatility of the system. It has broad application prospects, especially in the fields of elderly health management and medical auxiliary equipment.
[0133] Real-time fall prediction: The system has real-time monitoring capabilities that can instantly predict an individual’s risk of falling and provide timely alerts or suggestions to help take preventive measures and effectively reduce the occurrence of falls.
[0134] The fall prediction method and system of the present invention effectively overcome the shortcomings of the prior art through these technical solutions and significantly improve the accuracy and applicability of the prediction. The real-time fall prediction function can timely monitor and predict the individual's fall risk, provide alarms or suggestions in time, and help take preventive measures to reduce the risk of falls.
[0135] Therefore, the present invention brings an innovative solution to the field of fall prediction, which has important application prospects and economic value. Through further implementation and improvement, it is expected to further improve the accuracy and applicability of prediction and meet the needs of individual health management.
[0136] The present invention discloses a fall prediction method based on deep learning. The method first extracts and calculates the gait data in the training samples contained in the data set, and then inputs it into the deep learning model for training to obtain the required training model. In practical applications, the system obtains the gait data of the individual to be predicted and inputs it into the trained deep learning model to predict whether the individual is in a state of falling or not falling. This method improves the accuracy and efficiency of fall prediction through precise deep learning training, providing important safety protection for the elderly and other high-risk groups.
[0137] Embodiment 2
[0138] This embodiment provides a fall prediction system based on video gait data and deep learning;
[0139] Fall prediction system based on video gait data and deep learning, including:
[0140] The acquisition module is configured to: acquire the video data to be processed; determine the position of the human body bounding box from the video data to be processed; and extract the human body skeleton point data according to the position of the human body bounding box;
[0141] A calculation module is configured to calculate gait parameters and gait parameter variation coefficients based on human skeleton point data; the gait parameters include: step length, step speed, swing time, double-foot support time, step time, stride and step width; the gait parameter variation coefficient includes: step length variability, step speed variability, swing time variability, double-foot support time variability;
[0142] The prediction module is configured to: input the gait parameters and the coefficient of variation of the gait parameters into the trained first deep convolutional neural network model to obtain a fall state prediction result; the trained first deep convolutional neural network is obtained by training the first deep convolutional neural network based on the gait parameters and the coefficient of variation of the gait parameters of the known fall state or not.
[0143] It should be noted that the acquisition module, calculation module and prediction module described above correspond to steps S101 to S103 in Embodiment 1, and the examples and application scenarios implemented by the modules and the corresponding steps are the same, but are not limited to the contents disclosed in Embodiment 1. It should be noted that the modules described above as part of the system can be executed in a computer system such as a set of computer executable instructions.
[0144] The description of each embodiment in the above embodiments has different emphases. For parts not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0145] The proposed system can be implemented in other ways. For example, the system embodiment described above is only illustrative, and the division of the modules is only a logical function division. In actual implementation, there may be other division methods, such as multiple modules can be combined or integrated into another system, or some features can be ignored or not executed.
[0146] Embodiment 3
[0147] This embodiment also provides an electronic device, including: one or more processors, one or more memories, and one or more computer programs; wherein the processor is connected to the memory, and the one or more computer programs are stored in the memory. When the electronic device is running, the processor executes the one or more computer programs stored in the memory so that the electronic device executes the method described in the above embodiment one.
[0148] It should be understood that in this embodiment, the processor may be a central processing unit CPU, and the processor may also be other general-purpose processors, digital signal processors DSP, application-specific integrated circuits ASIC, off-the-shelf programmable gate arrays FPGA or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.
[0149] The memory may include a read-only memory and a random access memory, and provide instructions and data to the processor. A portion of the memory may also include a non-volatile random access memory. For example, the memory may also store information about the device type.
[0150] In the implementation process, each step of the above method can be completed by an integrated logic circuit of hardware in a processor or an instruction in the form of software.
[0151] The method in the first embodiment can be directly embodied as a hardware processor, or a combination of hardware and software modules in the processor. The software module can be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware. To avoid repetition, it will not be described in detail here.
[0152] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with this embodiment can be implemented in electronic hardware or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0153] Embodiment 4
[0154] This embodiment further provides a computer-readable storage medium for storing computer instructions. When the computer instructions are executed by a processor, the method described in the first embodiment is completed.
[0155] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A fall prediction method based on video gait data and deep learning, characterized by: include: Obtain video data to be processed; Determine the position of the human body bounding box from the video data to be processed; Then, according to the position of the human body bounding box, the human body bone point data is extracted; Based on the human skeleton point data, the gait parameters and the coefficient of variation of the gait parameters are calculated; The gait parameters include: step length, pace, swing time, double-foot support time, step time, stride and step width; the gait parameter variation coefficient includes: step length variability, pace variability, swing time variability, double-foot support time variability; The gait parameters and the coefficient of variation of the gait parameters are input into the trained first deep convolutional neural network model to obtain a fall state prediction result; the trained first deep convolutional neural network is obtained by training the first deep convolutional neural network based on the gait parameters and the coefficient of variation of the gait parameters of the known fall state or not.
2. The fall prediction method based on video gait data and deep learning as claimed in claim 1, characterized in that: Determine the position of the human body bounding box from the video data to be processed, including: The video data to be processed is input into a trained second deep convolutional neural network to obtain a human body bounding box position; the trained second deep convolutional neural network is trained based on a human body image with a known human body bounding box position.
3. The fall prediction method based on video gait data and deep learning as claimed in claim 1, characterized in that: Extracting human skeleton point data according to the position of the human body bounding box, including: extracting the coordinate position of the human skeleton point by using a heat map; or predicting the coordinate position of the human skeleton point based on a regression algorithm; The method of using a heat map to extract the coordinate positions of human bone points includes: inputting an input image into a trained third deep convolutional neural network, outputting a heat map, and each pixel value of each heat map represents the probability that the corresponding pixel point in the original image is a bone joint point; wherein the trained third deep convolutional neural network is trained based on human images with known real bone joint point positions; Based on the regression algorithm, the coordinate positions of human skeleton points are predicted, including: inputting the input image into the trained fourth deep convolutional neural network to obtain the predicted values of the coordinate positions of the human skeleton points; wherein the trained third deep convolutional neural network is trained based on human body images with known real skeleton joint point positions.
4. The fall prediction method based on video gait data and deep learning as claimed in claim 1, characterized in that: Based on the human skeleton point data, gait parameters and gait parameter variation coefficients are calculated; the gait parameters include: step length, step speed, swing time, double-foot support time, step time, stride and step width; the step length refers to: the horizontal distance from when one foot leaves the ground to when the same foot touches the ground again; the step speed refers to: the speed value obtained by dividing the step length by the step time; The swing time refers to the time it takes for a foot to leave the ground and swing forward during the gait cycle; from the time a foot leaves the ground to the time the same foot touches the ground again; The double-foot support time refers to the time when both feet are in contact with the ground at the same time during the gait cycle, starting from when one foot just touches the ground to when the other foot leaves the ground; The step time refers to the time from when one foot leaves the ground to when the same foot touches the ground again; the stride length refers to the horizontal distance from when one foot leaves the ground to when the other foot touches the ground; the step width refers to the horizontal lateral distance between the two feet during walking.
5. The fall prediction method based on video gait data and deep learning as claimed in claim 1, characterized in that: The gait parameter variation coefficient includes: step length variability, step speed variability, swing time variability, and double-foot support time variability, where: The step length variability refers to: Among them, CV sl represents the coefficient of variation of stride length, SD sl represents the standard deviation of the step length, represents the mean of the stride length; The variability of walking speed refers to: Among them, CV sv represents the standard deviation of walking speed, Represents the mean walking speed.
6. The fall prediction method based on video gait data and deep learning as claimed in claim 1, characterized in that: The swing time variability refers to: Among them, SD sw Refers to the variance in the temporal duration of the swing phase of the gait cycle, measured in seconds; represents the mean duration of the swing phase of the gait cycle, measured in seconds; The variability of the double-foot support time refers to: Among them, CV ds represents the coefficient of variation of the duration of the double support phase, SD ds represents the standard deviation of the double-foot support time, Represents the mean time of support on both feet.
7. The fall prediction method based on video gait data and deep learning as claimed in claim 1, characterized in that: The first deep convolutional neural network after training. The training process includes: Constructing a training set, wherein the training set is gait data of a known falling state or a non-falling state; the gait data includes: gait parameters and gait variation coefficients; inputting the training set into a first deep convolutional neural network, training the first deep convolutional neural network, and stopping the training when the total loss function value of the first deep convolutional neural network no longer decreases, thereby obtaining the trained first deep convolutional neural network; The first deep convolutional neural network includes an input layer, a first hidden layer, a second hidden layer, a third hidden layer, a fourth hidden layer and an output layer connected in sequence; wherein, there are four hidden layers in total, the first hidden layer has 300 neurons participating in the operation of the ReLU activation function, the second hidden layer has 100 neurons participating in the operation of the ReLU activation function, the third hidden layer has 50 neurons participating in the operation of the ReLU activation function, and the fourth hidden layer has 20 neurons participating in the operation of the ReLU activation function.
8. A fall prediction system based on video gait data and deep learning, characterized by: include: An acquisition module is configured to: acquire video data to be processed; Determine the position of the human body bounding box from the video data to be processed; Then, according to the position of the human body bounding box, the human body bone point data is extracted; A calculation module is configured to: calculate gait parameters and gait parameter variation coefficients based on human skeleton point data; The gait parameters include: step length, pace, swing time, double-foot support time, step time, stride and step width; the gait parameter variation coefficient includes: step length variability, pace variability, swing time variability, double-foot support time variability; The prediction module is configured to: input the gait parameters and the coefficient of variation of the gait parameters into the trained first deep convolutional neural network model to obtain a fall state prediction result; the trained first deep convolutional neural network is obtained by training the first deep convolutional neural network based on the gait parameters and the coefficient of variation of the gait parameters of the known fall state or not.
9. An electronic device, comprising: a memory for non-transitory storage of computer readable instructions; as well as a processor for executing the computer readable instructions, When the computer-readable instructions are executed by the processor, the method described in any one of claims 1 to 7 is executed.
10. A storage medium, characterized in that: The computer-readable instructions are non-transitory stored, wherein when the non-transitory computer-readable instructions are executed by a computer, the instructions of the method according to any one of claims 1 to 7 are executed.
Citation Information
Patent Citations
Multi-angle tumble high-risk identification method and system based on skeleton key points
CN113496216A
Fall risk assessment method and system
CN115147768A
Method for positioning human joint using depth image of convolutional neural network
WO2017133009A1
Cited By
Fall detection method and system based on video semantics
CN119649461A
Interactive intelligent science popularization method and system for old people at home
CN120371974A
Method and system for estimating base of support based on body keypoints
TWI940423B
