WO2021217906A1 - Posture detection method, apparatus and device based on gait features, and storage medium - Google Patents

Posture detection method, apparatus and device based on gait features, and storage medium Download PDF

Info

Publication number
WO2021217906A1
WO2021217906A1 PCT/CN2020/103198 CN2020103198W WO2021217906A1 WO 2021217906 A1 WO2021217906 A1 WO 2021217906A1 CN 2020103198 W CN2020103198 W CN 2020103198W WO 2021217906 A1 WO2021217906 A1 WO 2021217906A1
Authority
WO
WIPO (PCT)
Prior art keywords
human body
key point
target object
body information
body part
Prior art date
Application number
PCT/CN2020/103198
Other languages
French (fr)
Chinese (zh)
Inventor
田金戈
徐国强
Original Assignee
深圳壹账通智能科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳壹账通智能科技有限公司 filed Critical 深圳壹账通智能科技有限公司
Publication of WO2021217906A1 publication Critical patent/WO2021217906A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/20Movements or behaviour, e.g. gesture recognition
    • G06V40/23Recognition of whole body movements, e.g. for sport training
    • G06V40/25Recognition of walking or running movements, e.g. gait recognition
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/22Matching criteria, e.g. proximity measures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/04Architecture, e.g. interconnection topology
    • G06N3/045Combinations of networks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/08Learning methods

Definitions

  • This application relates to the field of deep learning technology, in particular to a posture detection method, device, equipment and storage medium based on gait features.
  • the inventor realizes that when the target object suffers from the initial cervical spine, lumbar spine and other diseases, the gait posture of the target object will be changed due to the disease.
  • the detection cost is high and the need The detection result will be obtained after a certain waiting period, which leads to low detection efficiency of detecting the posture of the target object.
  • the main purpose of this application is to solve the problems of high cost and low detection efficiency when detecting the posture of the target object.
  • the first aspect of the present application provides a posture detection method based on gait features, including: acquiring gait data of a target object, and determining the key points of the target object in the gait data Perform detection to obtain multiple key point features.
  • the human body key points are multiple coordinate points of the human body skeleton; the deep learning network is used to perform feature classification and positioning regression on the multiple key point features to obtain human body information.
  • the information includes the position of the human body part and the affinity vector of the human body part.
  • the human body part affinity vector is used to connect two different key point features; based on the multiple key point features, the difference between the human body information and the preset standard human body information is calculated.
  • the preset standard human body information includes a preset standard affinity vector, and the matching parameter is used to indicate the degree of matching between the body information of the target object and the preset standard body information; according to the matching parameter and The standard threshold value determines the posture condition of the target object, and the standard threshold value is the critical value of the abnormal posture condition.
  • the second aspect of the present application provides a posture detection device based on gait features, including a memory, a processor, and computer-readable instructions stored on the memory and running on the processor, and the processor executes
  • the computer-readable instruction implements the following steps: acquiring the gait data of the target object, and detecting the key points of the human body of the target object in the gait data to obtain a plurality of key point features, the key to the human body
  • the points are multiple coordinate points of the human skeleton;
  • the deep learning network is used to perform feature classification and positioning regression on the multiple key point features to obtain human body information.
  • the human body information includes the position of the human body part and the affinity vector of the human body part.
  • the human body part affinity vector is used to connect two different key point features; based on the multiple key point features, the matching parameters between the human body information and preset standard human body information are calculated, and the preset standard human body information includes preset A standard affinity vector is set, and the matching parameter is used to indicate the degree of matching between the human body information of the target object and the preset standard human body information; the body condition of the target object is determined according to the matching parameter and the standard threshold, the The standard threshold is the critical value of abnormal posture.
  • the third aspect of the present application provides a computer-readable storage medium in which computer instructions are stored, and when the computer instructions are run on a computer, the computer executes the following steps: step of obtaining a target object
  • the human body key points of the target object are detected in the gait data, and multiple key point features are obtained.
  • the human body key points are multiple coordinate points of the human skeleton; Performing feature classification and positioning regression on the multiple key point features to obtain human body information, where the human body information includes a human body part position and a human body part affinity vector, and the human body part affinity vector is used to connect two different key point features;
  • the matching parameters between the human body information and preset standard human body information are calculated based on the multiple key point features, the preset standard human body information includes a preset standard affinity vector, and the matching parameter is used to indicate the target object's
  • the degree of matching between the human body information and the preset standard human body information is determined according to the matching parameter and a standard threshold, and the standard threshold is a critical value for an abnormal posture condition.
  • the fourth aspect of the present application provides a posture detection device based on gait features, including: a detection module for acquiring gait data of a target object, and determining the key points of the target object’s body in the gait data Perform detection to obtain multiple key point features, the human body key points are multiple coordinate points of the human skeleton; the classification and regression module is used to perform feature classification and positioning regression on the multiple key point features based on the deep learning network, Obtain human body information.
  • the human body information includes the position of the human body part and the affinity vector of the human body part.
  • the human body part affinity vector is used to connect two different key point features; the calculation module is used to based on the multiple key point features Calculate the matching parameters between the body information and preset standard body information, the preset standard body information includes a preset standard affinity vector, and the matching parameters are used to indicate the body information of the target object and the preset standard body information The degree of matching between; a determining module, configured to determine the posture condition of the target object according to the matching parameter and a standard threshold, where the standard threshold is a critical value for an abnormal posture condition.
  • the gait data of the target object is acquired, and the human body key points of the target object are detected in the gait data to obtain multiple key point features, and the human body key points are the human body Multiple coordinate points of the skeleton; using a deep learning network to perform feature classification and positioning regression on the multiple key point features to obtain human body information.
  • the human body information includes the position of the human body part and the affinity vector of the human body part. The sum vector is used to connect two different key point features; based on the multiple key point features, the matching parameters between the human body information and the preset standard human body information are calculated, and the preset standard human body information includes the preset standard relative information.
  • the sum vector, the matching parameter is used to indicate the degree of matching between the human body information of the target object and the preset standard human body information; the body condition of the target object is determined according to the matching parameter and a standard threshold, and the standard threshold is The critical value of abnormal posture.
  • the gait data of the target object is processed and analyzed by the convolutional neural network and the deep learning network, and the matching parameters between the human body information obtained after the processing and the preset standard human body information are calculated through the matching parameters Determine the posture of the target object.
  • the gait data of the target object is processed through the convolutional neural network and the deep learning network, which reduces the detection cost and improves the detection efficiency of detecting the body condition of the target object.
  • FIG. 1 is a schematic diagram of an embodiment of a posture detection method based on gait features in an embodiment of the application
  • FIG. 2 is a schematic diagram of another embodiment of a posture detection method based on gait features in an embodiment of the application;
  • FIG. 3 is a schematic diagram of an embodiment of a posture detection device based on gait features in an embodiment of the application
  • FIG. 4 is a schematic diagram of another embodiment of a posture detection device based on gait features in an embodiment of the application;
  • Fig. 5 is a schematic diagram of an embodiment of a posture detection device based on gait features in an embodiment of the application.
  • the embodiments of the present application provide a posture detection method, device, device and storage medium based on gait characteristics, which are used to reconstruct a new complex relationship network based on the community characteristics in the traditional complex relationship network as an intermediate variable.
  • the community weighted graph is used to associate the originally unrelated community groups with similarity, and the label propagation algorithm is used to identify the risk of the community weighted graph to obtain the spread risk value of the unrelated communities, and realize the risk spread between unrelated communities Analyzing the situation has enhanced the ability to identify and control the risks of community groups.
  • An embodiment of the posture detection method based on gait features in the embodiment of the present application includes:
  • the method for detecting posture based on gait features includes:
  • the execution subject of this application may be a posture detection device based on gait characteristics, or may also be a terminal or a server, which is not specifically limited here.
  • the embodiment of the present application takes the server as the execution subject as an example for description.
  • the server obtains the gait data of the target object, and after processing the gait data, it detects the key points of the target object's human body in the processed gait data, and then obtains multiple key point features, where the human body key points are the target Multiple coordinate points in the human skeleton of the object, these coordinate points are indispensable representative points in the human skeleton.
  • the gait data of the target object acquired by the server refers to the gait video data of the target object's continuous walking.
  • the body information of the target object in the video data is analyzed to determine the body state of the target object.
  • the server uses convolutional neural network (convolutional neural network, CNN) to detect the human body key points of the target object in the gait data, and obtains multiple key feature points.
  • CNN is a type of feedforward neural network that includes convolutional calculations and has a deep structure.
  • the network is one of the representative algorithms of deep learning.
  • CNN has the ability to characterize learning, and can classify the input information according to its hierarchical structure. According to this ability of CNN, it can realize the processing of gait data, and then obtain the gait feature map, so that the server can perform the gait feature
  • the key points of the human body are detected in the figure.
  • the human body information includes the position of the human body part and the affinity vector of the human body part.
  • the affinity vector of the human body part is used to connect two different key points feature;
  • the server uses a deep learning network to perform feature classification and positioning regression on multiple key point features, determine the key point feature category, and obtain the human body information of the target object.
  • the human body information includes the position of the human body and the affinity vector of the human body.
  • the position of the human body is Multiple, human body part affinity vectors are used to connect two different key point features.
  • the server uses a bottom-up human body key point detection algorithm, which mainly includes two parts, key point classification and key point positioning regression.
  • the key point detection requires the server to calculate the difference between all key point features and preset human position features. Confidence degree, to identify the category of key point features and determine the position of the corresponding body part represented by the key point feature, and then the server calculates the affinity between different key point features, and connects different key point features according to the degree of affinity Together to determine the human body part affinity vector.
  • the human body part affinity vector is the basis of the human skeleton. Multiple human body part affinity vectors can be connected together to form a human skeleton.
  • the human skeleton here depicts the general motion of the human body.
  • the server obtains the detected human body information from the human body part position and the human body part affinity vector.
  • the server After the server has determined the classification of all the key point features, it needs to perform positioning regression on the key point features, that is, connect the different key point features with high affinity to obtain the human body part affinity vector.
  • the affinity here refers to the degree of association between two different key point features. When the degree of association between two different key point features is greater than the second threshold, it indicates the correlation between the two different key point features The greater the degree, the two different key point features are connected to form a human body part affinity vector, and multiple human body part affinity vectors are connected to form a human body skeleton.
  • a key point feature can be connected to a different number of other key point features. For example, the hand key point feature is only connected to the elbow key point feature, and the shoulder key point feature is connected to the elbow key point feature and the torso key point feature respectively.
  • the preset standard human body information includes a preset standard affinity vector, and the matching parameters are used to indicate the body information of the target object and the preset standard The degree of matching between human body information;
  • the server calculates the matching parameters between the human body information and the preset standard human body information according to the relationship between multiple key point features.
  • the preset standard human body information includes the preset standard affinity vector, which is a large amount of data It is input into the model and calculated, and the matching parameter is used to indicate the degree of matching between the human body information of the target object and the preset standard human body information.
  • the server After the server calculates the human body part affinity vectors of multiple key point features, it connects the multiple human body part affinity vectors to obtain a human body posture skeleton.
  • the human body posture skeleton is compared with the standard posture skeleton. Analysis, the server can get the posture of the target object.
  • the posture skeleton of the human body is compared with the standard posture skeleton. In essence, it is a comparison between the affinity vector of multiple human body parts at the same position and the preset standard affinity vector.
  • the affinity vector of the human body part constitutes the posture skeleton of the human body.
  • the preset standard affinity vector is the basis of the standard posture skeleton.
  • the standard affinity vector is preset here, which is obtained through continuous calculation and training of a large number of human posture samples. Human postures of different heights and weights have different The standard posture skeleton and preset standard affinity vector.
  • the server is to calculate the confidence between the human body part affinity vector and the preset standard affinity vector, and after obtaining the matching parameters, compare the matching parameters with the standard thresholds of different posture conditions to determine the posture status of the target object.
  • the standard thresholds of posture conditions here are used to illustrate the critical values of different posture conditions, and the standard thresholds are calculated through a large amount of data.
  • the standard threshold for cervical spine abnormality is 0.8, which means that when the matching parameter is greater than the standard threshold 0.8, the posture of the target object is cervical spine abnormality.
  • Each standard threshold represents the critical value of different posture conditions.
  • the standard threshold and the matching parameter correspond to each other, that is to say, the body part affinity vector for calculating the matching parameter must be the posture represented by the standard threshold. The situation is relevant.
  • the standard threshold of cervical spine abnormality is 0.8
  • the key point features of the human body part affinity vector that form the matching parameters should be related to the neck, which can be the head key point feature, the shoulder key point feature, and the trunk key point feature.
  • the posture of the target object obtained by the server can be various, such as: the standard threshold for minor cervical spine abnormality is 0.65, that is to say, when the matching parameter is greater than the standard threshold 0.65, the posture of the target object is mild cervical spine.
  • Abnormal such as: the standard threshold of severe cervical spine abnormality is 0.89, that is to say, when the matching parameter is greater than the standard threshold 0.89, the posture of the target object is severe cervical spine abnormality.
  • Different human body part affinity vectors can be obtained through different key point features. The server can then compare the different human body part affinity vectors with the preset standard affinity vector to get the target object compared with the standard health condition. Abnormal posture.
  • the artificial convolutional neural network and the deep learning network are used to process and analyze the gait data of the target object, and to calculate the matching parameters between the human body information obtained after the processing and the preset standard human body information, Determine the posture of the target object through matching parameters.
  • this application can also be applied in the field of smart medical care to promote the construction of smart cities.
  • This application uses convolutional neural networks and deep learning networks to process the gait data of the target object, reducing the cost of detection and improving the physical condition of the detected target object The detection efficiency.
  • FIG. 2 another embodiment of the posture detection method based on gait features in the embodiment of the present application includes:
  • the server uses a deep learning network and a convolutional neural network to calculate preset standard human body information, where the preset standard human body information includes a preset standard affinity vector.
  • the preset standard human body information here includes body information under standard health conditions and human body information suffering from different degrees of cervical and lumbar spine diseases.
  • the preset standard human body information is the server collecting a large amount of human body information data, and a large number of The human body information data is obtained by deep learning training, and the feature extraction layer of different abstract features of the gait data is extracted through the deep learning network, and the feature classification and positioning regression of the key points of the human body are performed, and the relevant loss function is used to perform the training results. Evaluation, and finally update the network parameters through backpropagation, repeat this process until the network converges, and get the preset standard human body information.
  • the method for the server to calculate the preset standard human body information is the same as that of calculating the human body information. Both use the convolutional neural network to process the gait data, and then use the deep learning network to classify the key points of the human body. Positioning regression, so as to obtain human body information, the data results obtained in this way are more accurate and representative. The specific calculation steps are described in the following steps, and will not be repeated here.
  • the server obtains the gait data of the target object, and after processing the gait data, it detects the key points of the target object's human body in the processed gait data, and then obtains multiple key point features, where the human body key points are the target Multiple coordinate points in the human skeleton of the object, these coordinate points are indispensable representative points in the human skeleton.
  • the server normalizes the gait data of the target object to obtain the basic processing data; in the basic processing data, the server uses the convolutional neural network to detect the human body key points of the target object, and obtains multiple key point features.
  • the human body key points are Multiple coordinate points of the human skeleton.
  • the server uses a convolutional neural network to calculate the convolution of the basic processing data to obtain the first processed data; second, the server performs down-sampling processing on the first processed data, and extracts multiple sampling vectors in the first processed data to obtain The second processing data; then the server performs non-linear mapping of the second processing data to obtain the gait feature map; finally the server detects the human body key points of the target object in the gait feature map, and obtains multiple key point features, the human body key points are Multiple coordinate points of the human skeleton.
  • the gait data of the target object acquired by the server refers to the gait video data of the target object's continuous walking.
  • the body information of the target object in the video data is analyzed to determine the body state of the target object. It is understandable that before the server detects the key points of the target object's human body through the gait data, the server needs to normalize the gait data of the target object.
  • the server normalizes the video data, which is beneficial to the next step.
  • One step. The server obtains the pixel value on the gait data, and the server normalizes the pixel value to obtain the basic processing data.
  • the normalization does not change the contrast of the image, and at the same time, it ensures that the pixel values of all pictures after normalization are in the range of [0, 1].
  • the formula used is as follows:
  • a' is the pixel value of the basic processing data
  • a is the original pixel value of the gait data. It is understandable that by normalizing the gait data of the target object, mapping the data to the range of 0 to 1, and then inputting the obtained basic processing data into the network model, the server calculation is more convenient and faster.
  • the server uses the convolutional neural network CNN to detect the human body key points of the target object in the gait data, and obtains multiple key feature points.
  • CNN is a type of feedforward that includes convolution calculations and has a deep structure.
  • Neural network is one of the representative algorithms of deep learning.
  • CNN has the ability to characterize learning, and can classify the input information according to its hierarchical structure. According to this ability of CNN, it can realize the processing of gait data, and then obtain the gait feature map, so that the server can perform the gait feature
  • the key points of the human body are detected in the figure.
  • CNN contains a feature extractor composed of a convolutional layer and a sub-sampling layer. The feature extractor is used to manipulate different parameters to repeatedly process the basic processing data to extract features at different levels.
  • the server calculates the convolution of the basic processing data.
  • a convolutional layer of CNN it usually contains several feature planes. Each feature plane is composed of some rectangularly arranged neurons. The neurons in the feature plane share weights, and the shared weights here are the convolution kernels.
  • the convolution kernel is generally initialized in the form of a random decimal matrix.
  • the convolution kernel will learn to obtain reasonable weights, that is, the server calculates the convolution of the basic processing data, and then obtains the first processing data; the server is getting After the first processed data, down-sampling is performed on the first processed data. Down-sampling is also called pooling. It can be regarded as a special convolution process.
  • the purpose is to reduce the size of the feature map and perform down-sampling.
  • multiple sampling vectors are extracted to obtain the second processed data; then the server uses the excitation function to perform non-linear mapping on the second processed data, thereby obtaining the gait feature map, which can display different shapes in the gait feature map Feature points:
  • the server screens out the key points of the target object in the gait feature map, and obtains multiple key point features.
  • the key points of the human body here are the coordinate points that specifically represent the combination of the human skeleton. You can pass multiple key feature points. Obtain the human body information of the target object, and better determine the body condition of the target object.
  • the human body information includes the position of the human body part and the affinity vector of the human body part.
  • the affinity vector of the human body part is used to connect two different key points feature;
  • the server uses a deep learning network to perform feature classification and positioning regression on multiple key point features, determine the key point feature category, and obtain the human body information of the target object.
  • the human body information includes the position of the human body and the affinity vector of the human body.
  • the position of the human body is Multiple, human body part affinity vectors are used to connect two different key point features. specific:
  • the server first uses a deep learning network to calculate the confidence between multiple key point features and preset human body position features, thereby obtaining multiple key point feature categories.
  • the preset human body position features are used to indicate the positions of different human body parts, and Each preset human body position feature corresponds to a human body part position; secondly, the server compares the confidence level with the first threshold, and when the confidence level is greater than the first threshold, determines the human body part position corresponding to the key point feature for calculating the confidence level, the key point
  • the position of the human body part corresponding to the feature is the position of the human body part corresponding to the preset human body position feature; then the server calculates the affinity between the two different key point features, and performs positioning regression on the two different key point features; the server then compares the relative The degree of sum is compared with the second threshold.
  • the degree of affinity is greater than the second threshold
  • two different key point features are connected.
  • the corresponding two different key point features are two different key point features for calculating the affinity.
  • Generate the human body part affinity vector where the human body part affinity vector is used to connect two different key point features; finally the server connects multiple human body part affinity vectors to obtain human body information, which includes the position of the human body part and the human body part Affinity vector.
  • the preset human body position features here refer to the key points of the standard human skeleton, and there are many preset human body position features, such as: standard head (5), shoulders (2), There are 18 torso (1), elbows (2), hands (2), hips (2), knees (2), and feet (2).
  • the server presets the position of the human body through calculation.
  • the confidence level between the feature and the identified key point feature is used to determine the classification of the key point feature.
  • the confidence level between the key point feature and the preset human position feature is greater than the first threshold, it indicates that the key point feature and the The preset human body position feature fits, and the server sets the classification of the key point feature as a classification corresponding to the preset human body position feature.
  • the value of the first threshold here can be set differently according to actual conditions, which is not limited in this application.
  • the server sets the first threshold to 0.6, the server calculates the confidence level between the key point feature and the preset elbow feature to be 0.3, and then calculates the confidence level between the key point feature and the preset knee feature to be 0.8 , And the confidence level between the key point feature and other preset human body position features does not exceed 0.8, indicating that the key point feature fits with the preset knee feature, and the server determines that the key point feature is the preset knee feature.
  • the server After the server has determined the classification of all the key point features, it needs to perform positioning regression on the key point features, that is, connect the different key point features with high affinity to obtain the human body part affinity vector.
  • the affinity here refers to the degree of association between two different key point features. When the degree of association between two different key point features is greater than the second threshold, it indicates the correlation between the two different key point features The greater the degree, the two different key point features are connected to form a human body part affinity vector, and multiple human body part affinity vectors are connected to form a human body skeleton.
  • a key point feature can be connected to a different number of other key point features. For example, the hand key point feature is only connected to the elbow key point feature, and the shoulder key point feature is connected to the elbow key point feature and the torso key point feature respectively.
  • the server sets the second threshold value to 0.55
  • the server calculates the affinity between the torso key point feature and the shoulder key point feature as 0.88
  • the affinity between the torso key point feature and the foot key point feature is 0.15
  • the affinity between the torso key point feature and the head key point feature is 0.75.
  • the server will connect the two key point features of the calculated affinity together , That is, the torso key point feature is connected with the shoulder key point feature and the head key point feature respectively to obtain the human body part affinity vector.
  • the preset standard human body information includes a preset standard affinity vector, and the matching parameters are used to indicate the body information of the target object and the preset standard The degree of matching between human body information;
  • the server calculates the matching parameters between the human body information and the preset standard human body information according to the relationship between multiple key point features.
  • the preset standard human body information includes the preset standard affinity vector, which is a large amount of data It is input into the model and calculated, and the matching parameter is used to indicate the degree of matching between the human body information of the target object and the preset standard human body information.
  • the server first obtains multiple human body part affinity vectors of the target object; then the server obtains preset standard human body information that matches the target object, and the preset standard human body information includes multiple different preset standard affinity vectors; and finally The server uses the similarity algorithm to calculate the confidence between the human body part affinity vector and the corresponding preset standard affinity vector to obtain the matching parameters.
  • the two key point features in the human body part affinity vector are in the preset standard affinity vector
  • the categories of the preset body position features are the same, and the matching parameters are used to indicate the degree of matching between the body information of the target object and the preset standard body information.
  • the server After the server calculates the human body part affinity vectors of multiple key point features, it connects the multiple human body part affinity vectors to obtain a human body posture skeleton.
  • the human body posture skeleton is compared with the standard posture skeleton.
  • the server can get the posture of the target object.
  • the posture skeleton of the human body is compared with the standard posture skeleton. In essence, it is a comparison between the affinity vector of multiple human body parts at the same position and the preset standard affinity vector.
  • the affinity vector of the human body part constitutes the posture skeleton of the human body.
  • the preset standard affinity vector is the basis of the standard posture skeleton.
  • the standard affinity vector is preset here, which is obtained through continuous calculation and training of a large number of human posture samples.
  • the two key point features in the human body part affinity vector are compared with the preset standard affinity vector.
  • the categories of the preset human body position features are the same, that is, the two key feature points constituting the human body part affinity vector are the same as the two preset human body position characteristics constituting the preset standard affinity vector.
  • the server obtains the human body part affinity vector between the head key point feature and the torso key point feature , Hereinafter referred to as the first affinity vector, and secondly, the server will filter out the preset standard human body information that matches the target object.
  • the preset standard human body information that matches the target object here refers to the standard health
  • the preset standard affinity vector between the standard head key point feature and the standard torso key point feature is obtained from the preset standard human body information, which is hereinafter referred to as the second affinity vector
  • the server will calculate the confidence level between the first affinity vector and the second affinity vector, that is, calculate the degree of matching between the first affinity vector and the second affinity vector, and obtain a matching parameter.
  • the server is to calculate the confidence between the human body part affinity vector and the preset standard affinity vector, and after obtaining the matching parameters, compare the matching parameters with the standard thresholds of different posture conditions to determine the posture status of the target object. Specifically: the server determines whether the configuration parameter is greater than the standard threshold, and the standard threshold is the critical value of the abnormal posture; if the configuration parameter is greater than the standard threshold, the server determines that the posture of the target object is abnormal.
  • the standard threshold of posture conditions is used to illustrate the critical value of different posture conditions, and the standard threshold is calculated through a large amount of data.
  • the standard threshold for cervical spine abnormality is 0.8, which means that when the matching parameter is greater than the standard threshold 0.8, the posture of the target object is cervical spine abnormality.
  • Each standard threshold represents the critical value of different posture conditions.
  • the standard threshold and the matching parameter correspond to each other, that is to say, the body part affinity vector for calculating the matching parameter must be the posture represented by the standard threshold. The situation is relevant.
  • the standard threshold of cervical spine abnormality is 0.8
  • the key point features of the human body part affinity vector that form the matching parameters should be related to the neck, which can be the head key point feature, the shoulder key point feature, and the trunk key point feature.
  • the posture of the target object obtained by the server can be various, such as: the standard threshold for minor cervical spine abnormality is 0.65, that is to say, when the matching parameter is greater than the standard threshold 0.65, the posture of the target object is mild cervical spine.
  • Abnormal such as: the standard threshold of severe cervical spine abnormality is 0.89, that is to say, when the matching parameter is greater than the standard threshold 0.89, the posture of the target object is severe cervical spine abnormality.
  • Different human body part affinity vectors can be obtained through different key point features. The server can then compare the different human body part affinity vectors with the preset standard affinity vector to get the target object compared with the standard health condition. Abnormal posture.
  • the gait data of the target object is processed and analyzed by the convolutional neural network and the deep learning network, and the matching parameters between the human body information obtained after the processing and the preset standard human body information are calculated through the matching parameters Determine the posture of the target object.
  • the gait data of the target object is processed through the convolutional neural network and the deep learning network, which reduces the detection cost and improves the detection efficiency of detecting the body condition of the target object.
  • An embodiment of the posture detection device includes:
  • the detection module 301 is used to obtain the gait data of the target object, and detect the key points of the human body of the target object in the gait data to obtain multiple key point features, and the human body key points are multiple coordinate points of the human skeleton;
  • the classification and regression module 302 is used for feature classification and positioning regression of multiple key point features based on the deep learning network to obtain human body information.
  • the human body information includes the position of the body part and the affinity vector of the body part.
  • the affinity vector of the body part is used for connection Two different key point features;
  • the first calculation module 303 is configured to calculate matching parameters between the human body information and preset standard human body information based on multiple key point features.
  • the preset standard human body information includes a preset standard affinity vector, and the matching parameters are used to indicate the target object's The degree of matching between the body information and the preset standard body information;
  • the determining module 304 is configured to determine the posture condition of the target object according to the matching parameters and the standard threshold value, and the standard threshold value is the critical value of the abnormal posture condition.
  • the gait data of the target object is processed and analyzed by the convolutional neural network and the deep learning network, and the matching parameters between the human body information obtained after the processing and the preset standard human body information are calculated through the matching parameters Determine the posture of the target object.
  • the gait data of the target object is processed through the convolutional neural network and the deep learning network, which reduces the detection cost and improves the detection efficiency of detecting the body condition of the target object.
  • FIG. 4 another embodiment of a body posture detection device based on gait features in the embodiment of the present application includes:
  • the detection module 301 is used to obtain the gait data of the target object, and detect the key points of the human body of the target object in the gait data to obtain multiple key point features, and the human body key points are multiple coordinate points of the human skeleton;
  • the classification and regression module 302 is used for feature classification and positioning regression of multiple key point features based on the deep learning network to obtain human body information.
  • the human body information includes the position of the body part and the affinity vector of the body part.
  • the affinity vector of the body part is used for connection Two different key point features;
  • the first calculation module 303 is configured to calculate matching parameters between the human body information and preset standard human body information based on multiple key point features.
  • the preset standard human body information includes a preset standard affinity vector, and the matching parameters are used to indicate the target object's The degree of matching between the body information and the preset standard body information;
  • the determining module 304 is configured to determine the posture condition of the target object according to the matching parameters and the standard threshold value, and the standard threshold value is the critical value of the abnormal posture condition.
  • classification and regression module 302 can also be specifically used for:
  • the deep learning network is used to calculate the confidence between multiple key point features and preset human body position features, and the multiple key point features are classified.
  • the preset human body position features are used to indicate the position of different body parts, and each preset The human body position feature corresponds to the position of a human body part;
  • the position of the human body part corresponding to the key point feature is the position of the human body part corresponding to the preset human position feature
  • the human body information includes the position of the human body part and the human body part affinity vector.
  • the first calculation module 303 may also be specifically used for:
  • the preset standard human body information includes a preset standard affinity vector
  • the similarity algorithm is used to calculate the confidence between the human body part affinity vector and the corresponding preset standard affinity vector, and the matching parameters are obtained.
  • the two key point features in the human body part affinity vector are compared with those in the preset standard affinity vector.
  • the categories of the preset body position features are the same, and the matching parameters are used to indicate the degree of matching between the body information of the target object and the preset standard body information.
  • the determining module 304 may also be specifically used for:
  • the standard threshold is the critical value of abnormal posture
  • the configuration parameter is greater than the standard threshold, it is determined that the posture of the target object is abnormal.
  • the detection module 301 includes:
  • the processing unit 3011 is used to obtain the gait data of the target object, and to normalize the gait data to obtain basic processing data;
  • the detection unit 3012 is used for detecting the key points of the human body of the target object by using the convolutional neural network in the basic processing data to obtain multiple key point features, and the key points of the human body are multiple coordinate points of the human skeleton.
  • the detection unit 3012 may also be specifically configured to:
  • the human body key points of the target object are detected in the gait feature map, and multiple key point features are obtained.
  • the human body key points are multiple coordinate points of the human skeleton.
  • the posture detection device based on gait features further includes:
  • the second calculation module 305 is used to calculate preset standard human body information, and the preset standard human body information includes a preset standard affinity vector.
  • the gait data of the target object is processed and analyzed by the convolutional neural network and the deep learning network, and the matching parameters between the human body information obtained after the processing and the preset standard human body information are calculated through the matching parameters Determine the posture of the target object.
  • the gait data of the target object is processed through the convolutional neural network and the deep learning network, which reduces the detection cost and improves the detection efficiency of detecting the body condition of the target object.
  • FIGS 3 and 4 above describe in detail the posture detection device based on gait features in the embodiment of the present application from the perspective of modular functional entities.
  • the following describes the posture detection device based on gait features in the embodiment of the present application from the perspective of hardware processing. Give a detailed description.
  • FIG. 5 is a schematic structural diagram of a posture detection device based on gait features provided by an embodiment of the present application.
  • the posture detection device 500 based on gait features may have relatively large differences due to different configurations or performances, and may include one or One or more central processing units (CPU) 510 (for example, one or more processors) and memory 520, one or more storage media 530 for storing application programs 533 or data 532 (for example, one or one storage device with a large amount of storage ).
  • the memory 520 and the storage medium 530 may be short-term storage or persistent storage.
  • the program stored in the storage medium 530 may include one or more modules (not shown in the figure), and each module may include a series of instruction operations on the body posture detection device 500 based on gait characteristics. Further, the processor 510 may be configured to communicate with the storage medium 530, and execute a series of instruction operations in the storage medium 530 on the posture detection device 500 based on the gait characteristics.
  • the gait feature-based posture detection device 500 may also include one or more power sources 540, one or more wired or wireless network interfaces 550, one or more input and output interfaces 560, and/or, one or more operating systems 531 , Such as Windows Serve, Mac OS X, Unix, Linux, FreeBSD and so on.
  • operating systems 531 Such as Windows Serve, Mac OS X, Unix, Linux, FreeBSD and so on.
  • FIG. 5 does not constitute a limitation on the posture detection device based on gait features, and may include more or less components than shown in the figure, or Combining certain components, or different component arrangements.
  • the computer-readable storage medium may be a non-volatile computer-readable storage medium.
  • the computer-readable storage medium may also be a volatile computer-readable storage medium. Instructions are stored in the read storage medium, and when the instructions are run on the computer, the computer executes the steps of the posture detection method based on gait characteristics.
  • the computer-readable storage medium may mainly include a storage program area and a storage data area, where the storage program area may store an operating system, an application program required by at least one function, etc.; the storage data area may store Data created by the use of nodes, etc.
  • the present application also provides a posture detection device based on gait features, including: a memory and at least one processor, the memory stores instructions, and the memory and the at least one processor are interconnected by wires; the at least one processor A processor calls the instructions in the memory, so that the intelligent path planning device executes the steps in the above-mentioned posture detection method based on gait characteristics.
  • the present application also provides a computer-readable storage medium.
  • the computer-readable storage medium may be a non-volatile computer-readable storage medium or a volatile computer-readable storage medium.
  • the computer-readable storage medium stores computer instructions, and when the computer instructions are executed on the computer, the computer executes the following steps:
  • the deep learning network is used to perform feature classification and positioning regression on the multiple key point features to obtain human body information.
  • the human body information includes the position of the human body part and the affinity vector of the human body part, and the human body part affinity vector is used to connect two Different key point characteristics;
  • the matching parameters between the human body information and preset standard human body information are calculated based on the multiple key point features, the preset standard human body information includes a preset standard affinity vector, and the matching parameter is used to indicate the target object’s The degree of matching between the body information and the preset standard body information;
  • the posture condition of the target object is determined according to the matching parameter and a standard threshold value, where the standard threshold value is a critical value for an abnormal posture condition.
  • the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable storage medium.
  • the technical solution of the present application essentially or the part that contributes to the existing technology or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium , Including several instructions to make a computer device (which can be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods in the various embodiments of the present application.
  • the aforementioned storage media include: U disk, mobile hard disk, read-only memory (read-only memory, ROM), random access memory (random access memory, RAM), magnetic disks or optical disks and other media that can store program codes. .
  • the blockchain referred to in this application is a new application mode of computer technology such as distributed data storage, point-to-point transmission, consensus mechanism, and encryption algorithm.
  • Blockchain essentially a decentralized database, is a series of data blocks associated with cryptographic methods. Each data block contains a batch of network transaction information for verification. The validity of the information (anti-counterfeiting) and the generation of the next block.
  • the blockchain can include the underlying platform of the blockchain, the platform product service layer, and the application service layer.

Abstract

A posture detection method, apparatus and device based on gait features, and a storage medium, which relate to the technical field of artificial intelligence. The method comprises: acquiring gait data of a target object, and detecting, in the gait data, human body key points of the target object, so as to obtain a plurality of key point features (101); performing feature classification and positioning regression on the plurality of key point features by using a deep learning network, so as to obtain human body information (102); on the basis of the plurality of key point features, calculating a matching parameter between the human body information and preset standard human body information, wherein the preset standard human body information comprises a preset standard affinity vector (103); and determining a posture condition of the target object according to the matching parameter and a standard threshold value, wherein the standard threshold value is a critical value of an anomalous posture condition (104). Relevant data and information in the method can be stored in a blockchain node. By means of the method, the problems of high cost and low detection efficiency during object posture detection are solved.

Description

基于步态特征的体态检测方法、装置、设备及存储介质Body posture detection method, device, equipment and storage medium based on gait feature
本申请要求于2020年4月28日提交中国专利局、申请号为202010350100.2、发明名称为“基于步态特征的体态检测方法、装置、设备及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在申请中。This application claims the priority of the Chinese patent application filed with the Chinese Patent Office on April 28, 2020, the application number is 202010350100.2. The invention title is "Methods, devices, equipment and storage media for posture detection based on gait characteristics", all of which The content is incorporated in the application by reference.
技术领域Technical field
本申请涉及深度学习技术领域,尤其涉及基于步态特征的体态检测方法、装置、设备及存储介。This application relates to the field of deep learning technology, in particular to a posture detection method, device, equipment and storage medium based on gait features.
背景技术Background technique
现代城市人群因为工作生活等原因经常受到颈椎、腰椎疾病的困扰,例如颈椎生理曲度消失,椎间盘突出等。这些疾病与长时间固定姿势的工作学习密切相关,而且在疾病形成和发展过程中不易被察觉。疾病发展初期需要经验丰富的医疗人员才能辨别和发现,当疾病发展到一定程度后,需要到医疗机构通过CT、核磁共振、血管造影等医疗设备进行检查确诊。People in modern cities often suffer from cervical and lumbar diseases due to work and life and other reasons, such as the loss of cervical spine physiology and disc herniation. These diseases are closely related to long-term fixed posture work and study, and they are not easy to be noticed during the formation and development of the disease. In the early stages of disease development, experienced medical personnel are required to identify and discover. When the disease has progressed to a certain level, it is necessary to go to a medical institution to check and confirm the diagnosis with medical equipment such as CT, MRI, and angiography.
发明人意识到,当目标对象罹患初期的颈椎、腰椎等疾病时,会因疾病导致目标对象的步态姿势发生改变,而这种体态改变借助医疗工具进行检查确诊时,检测成本高,且需要一定时间的等待期才会得到检测结果,导致检测目标对象体态状况的检测效率低下。The inventor realizes that when the target object suffers from the initial cervical spine, lumbar spine and other diseases, the gait posture of the target object will be changed due to the disease. When such a posture change is diagnosed with the help of medical tools, the detection cost is high and the need The detection result will be obtained after a certain waiting period, which leads to low detection efficiency of detecting the posture of the target object.
发明内容Summary of the invention
本申请的主要目的在于解决检测目标对象的体态时成本高以及检测效率低的问题。The main purpose of this application is to solve the problems of high cost and low detection efficiency when detecting the posture of the target object.
为实现上述目的,本申请第一方面提供了一种基于步态特征的体态检测方法,包括:获取目标对象的步态数据,并在所述步态数据中对所述目标对象的人体关键点进行检测,得到多个关键点特征,所述人体关键点为人体骨架的多个坐标点;采用深度学习网络对所述多个关键点特征进行特征分类以及定位回归,得到人体信息,所述人体信息包括人体部位位置以及人体部位亲和向量,所述人体部位亲和向量用于连接两个不同的关键点特征;基于所述多个关键点特征计算所述人体信息与预置标准人体信息之间的匹配参数,所述预置标准人体信息包括预置标准亲和向量,所述匹配参数用于指示目标对象的人体信息与预置标准人体信息之间的匹配度;根据所述匹配参数与标准阈值,确定所述目标对象的体态状况,所述标准阈值为异常体态状况的临界值。In order to achieve the above objective, the first aspect of the present application provides a posture detection method based on gait features, including: acquiring gait data of a target object, and determining the key points of the target object in the gait data Perform detection to obtain multiple key point features. The human body key points are multiple coordinate points of the human body skeleton; the deep learning network is used to perform feature classification and positioning regression on the multiple key point features to obtain human body information. The information includes the position of the human body part and the affinity vector of the human body part. The human body part affinity vector is used to connect two different key point features; based on the multiple key point features, the difference between the human body information and the preset standard human body information is calculated. The preset standard human body information includes a preset standard affinity vector, and the matching parameter is used to indicate the degree of matching between the body information of the target object and the preset standard body information; according to the matching parameter and The standard threshold value determines the posture condition of the target object, and the standard threshold value is the critical value of the abnormal posture condition.
本申请第二方面提供了一种基于步态特征的体态检测设备,包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机可读指令,所述处理器执行所述计算机可读指令时实现如下步骤:获取目标对象的步态数据,并在所述步态数据中对所述目标对象的人体关键点进行检测,得到多个关键点特征,所述人体关键点为人体骨架的多个坐标点;采用深度学习网络对所述多个关键点特征进行特征分类以及定位回归,得到人体信息,所述人体信息包括人体部位位置以及人体部位亲和向量,所述人体部位亲和向量用于连接两个不同的关键点特征;基于所述多个关键点特征计算所述人体信息与预置标准人体信息之间的匹配参数,所述预置标准人体信息包括预置标准亲和向量,所述匹配参数用于指示目标对象的人体信息与预置标准人体信息之间的匹配度;根据所述匹配参数与标准阈值,确定所述目标对象的体态状况,所述标准阈值为异常体态状况的临界值。The second aspect of the present application provides a posture detection device based on gait features, including a memory, a processor, and computer-readable instructions stored on the memory and running on the processor, and the processor executes The computer-readable instruction implements the following steps: acquiring the gait data of the target object, and detecting the key points of the human body of the target object in the gait data to obtain a plurality of key point features, the key to the human body The points are multiple coordinate points of the human skeleton; the deep learning network is used to perform feature classification and positioning regression on the multiple key point features to obtain human body information. The human body information includes the position of the human body part and the affinity vector of the human body part. The human body part affinity vector is used to connect two different key point features; based on the multiple key point features, the matching parameters between the human body information and preset standard human body information are calculated, and the preset standard human body information includes preset A standard affinity vector is set, and the matching parameter is used to indicate the degree of matching between the human body information of the target object and the preset standard human body information; the body condition of the target object is determined according to the matching parameter and the standard threshold, the The standard threshold is the critical value of abnormal posture.
本申请第三方面提供了一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机指令,当所述计算机指令在计算机上运行时,使得计算机执行如下步骤:获取目标对象的步态数据,并在所述步态数据中对所述目标对象的人体关键点进行检测,得到多个关键点特征,所述人体关键点为人体骨架的多个坐标点;采用深度学习网络对所述多个关键点特征进行特征分类以及定位回归,得到人体信息,所述人体信息包括人体部位位置以及人体部位亲和向量,所述人体部位亲和向量用于连接两个不同的关键点特征;基于所述 多个关键点特征计算所述人体信息与预置标准人体信息之间的匹配参数,所述预置标准人体信息包括预置标准亲和向量,所述匹配参数用于指示目标对象的人体信息与预置标准人体信息之间的匹配度;根据所述匹配参数与标准阈值,确定所述目标对象的体态状况,所述标准阈值为异常体态状况的临界值。The third aspect of the present application provides a computer-readable storage medium in which computer instructions are stored, and when the computer instructions are run on a computer, the computer executes the following steps: step of obtaining a target object The human body key points of the target object are detected in the gait data, and multiple key point features are obtained. The human body key points are multiple coordinate points of the human skeleton; Performing feature classification and positioning regression on the multiple key point features to obtain human body information, where the human body information includes a human body part position and a human body part affinity vector, and the human body part affinity vector is used to connect two different key point features; The matching parameters between the human body information and preset standard human body information are calculated based on the multiple key point features, the preset standard human body information includes a preset standard affinity vector, and the matching parameter is used to indicate the target object's The degree of matching between the human body information and the preset standard human body information; the posture condition of the target object is determined according to the matching parameter and a standard threshold, and the standard threshold is a critical value for an abnormal posture condition.
本申请第四方面提供了一种基于步态特征的体态检测装置,包括:检测模块,用于获取目标对象的步态数据,并在所述步态数据中对所述目标对象的人体关键点进行检测,得到多个关键点特征,所述人体关键点为人体骨架的多个坐标点;分类及回归模块,用于基于深度学习网络对所述多个关键点特征进行特征分类以及定位回归,得到人体信息,所述人体信息包括人体部位位置以及人体部位亲和向量,所述人体部位亲和向量用于连接两个不同的关键点特征;计算模块,用于基于所述多个关键点特征计算所述人体信息与预置标准人体信息之间的匹配参数,所述预置标准人体信息包括预置标准亲和向量,所述匹配参数用于指示目标对象的人体信息与预置标准人体信息之间的匹配度;确定模块,用于根据所述匹配参数与标准阈值,确定所述目标对象的体态状况,所述标准阈值为异常体态状况的临界值。The fourth aspect of the present application provides a posture detection device based on gait features, including: a detection module for acquiring gait data of a target object, and determining the key points of the target object’s body in the gait data Perform detection to obtain multiple key point features, the human body key points are multiple coordinate points of the human skeleton; the classification and regression module is used to perform feature classification and positioning regression on the multiple key point features based on the deep learning network, Obtain human body information. The human body information includes the position of the human body part and the affinity vector of the human body part. The human body part affinity vector is used to connect two different key point features; the calculation module is used to based on the multiple key point features Calculate the matching parameters between the body information and preset standard body information, the preset standard body information includes a preset standard affinity vector, and the matching parameters are used to indicate the body information of the target object and the preset standard body information The degree of matching between; a determining module, configured to determine the posture condition of the target object according to the matching parameter and a standard threshold, where the standard threshold is a critical value for an abnormal posture condition.
本申请提供的技术方案中,获取目标对象的步态数据,并在所述步态数据中对所述目标对象的人体关键点进行检测,得到多个关键点特征,所述人体关键点为人体骨架的多个坐标点;采用深度学习网络对所述多个关键点特征进行特征分类以及定位回归,得到人体信息,所述人体信息包括人体部位位置以及人体部位亲和向量,所述人体部位亲和向量用于连接两个不同的关键点特征;基于所述多个关键点特征计算所述人体信息与预置标准人体信息之间的匹配参数,所述预置标准人体信息包括预置标准亲和向量,所述匹配参数用于指示目标对象的人体信息与预置标准人体信息之间的匹配度;根据所述匹配参数与标准阈值,确定所述目标对象的体态状况,所述标准阈值为异常体态状况的临界值。本申请实施例中,用卷积神经网络和深度学习网络对目标对象的步态数据进行处理与分析,计算经过处理后得到的人体信息与预置标准人体信息之间的匹配参数,通过匹配参数确定目标对象的体态状况。通过卷积神经网络和深度学习网络处理目标对象的步态数据,降低检测成本并提高了检测目标对象体态状况的检测效率。In the technical solution provided in this application, the gait data of the target object is acquired, and the human body key points of the target object are detected in the gait data to obtain multiple key point features, and the human body key points are the human body Multiple coordinate points of the skeleton; using a deep learning network to perform feature classification and positioning regression on the multiple key point features to obtain human body information. The human body information includes the position of the human body part and the affinity vector of the human body part. The sum vector is used to connect two different key point features; based on the multiple key point features, the matching parameters between the human body information and the preset standard human body information are calculated, and the preset standard human body information includes the preset standard relative information. The sum vector, the matching parameter is used to indicate the degree of matching between the human body information of the target object and the preset standard human body information; the body condition of the target object is determined according to the matching parameter and a standard threshold, and the standard threshold is The critical value of abnormal posture. In the embodiment of this application, the gait data of the target object is processed and analyzed by the convolutional neural network and the deep learning network, and the matching parameters between the human body information obtained after the processing and the preset standard human body information are calculated through the matching parameters Determine the posture of the target object. The gait data of the target object is processed through the convolutional neural network and the deep learning network, which reduces the detection cost and improves the detection efficiency of detecting the body condition of the target object.
附图说明Description of the drawings
图1为本申请实施例中基于步态特征的体态检测方法的一个实施例示意图;FIG. 1 is a schematic diagram of an embodiment of a posture detection method based on gait features in an embodiment of the application;
图2为本申请实施例中基于步态特征的体态检测方法的另一个实施例示意图;FIG. 2 is a schematic diagram of another embodiment of a posture detection method based on gait features in an embodiment of the application;
图3为本申请实施例中基于步态特征的体态检测装置的一个实施例示意图;FIG. 3 is a schematic diagram of an embodiment of a posture detection device based on gait features in an embodiment of the application;
图4为本申请实施例中基于步态特征的体态检测装置的另一个实施例示意图;FIG. 4 is a schematic diagram of another embodiment of a posture detection device based on gait features in an embodiment of the application;
图5为本申请实施例中基于步态特征的体态检测设备的一个实施例示意图。Fig. 5 is a schematic diagram of an embodiment of a posture detection device based on gait features in an embodiment of the application.
具体实施方式Detailed ways
本申请实施例提供了一种基于步态特征的体态检测方法、装置、设备及存储介质,用于通过将传统复杂关系网络中社区特征作为中间变量,在复杂关系网络的基础上重新构建新的社区加权图,以将原本没有关联的社区群体进行相似度关联,并采用标签传播算法对社区加权图进行风险识别,获得无关联社区的传播风险值,实现了对无关联社区之间的风险传播情况进行分析,增强了对社区群组风险的识别和把控能力。The embodiments of the present application provide a posture detection method, device, device and storage medium based on gait characteristics, which are used to reconstruct a new complex relationship network based on the community characteristics in the traditional complex relationship network as an intermediate variable. The community weighted graph is used to associate the originally unrelated community groups with similarity, and the label propagation algorithm is used to identify the risk of the community weighted graph to obtain the spread risk value of the unrelated communities, and realize the risk spread between unrelated communities Analyzing the situation has enhanced the ability to identify and control the risks of community groups.
为了使本技术领域的人员更好地理解本申请方案,下面将结合本申请实施例中的附图,对本申请实施例进行描述。In order to enable those skilled in the art to better understand the solution of the present application, the embodiments of the present application will be described below in conjunction with the accompanying drawings in the embodiments of the present application.
本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”、“第三”、“第四”等(如果存在)是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的实施例能够以除了在这里图示 或描述的内容以外的顺序实施。此外,术语“包括”或“具有”及其任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。The terms "first", "second", "third", "fourth", etc. (if any) in the description and claims of this application and the above-mentioned drawings are used to distinguish similar objects, without having to use To describe a specific order or sequence. It should be understood that the data used in this way can be interchanged under appropriate circumstances, so that the embodiments described herein can be implemented in a sequence other than those illustrated or described herein. In addition, the terms "including" or "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or device that includes a series of steps or units is not necessarily limited to those clearly listed. Steps or units, but may include other steps or units that are not clearly listed or are inherent to these processes, methods, products, or equipment.
为便于理解,下面对本申请实施例的具体流程进行描述,请参阅图1,本申请实施例中基于步态特征的体态检测方法的一个实施例包括:For ease of understanding, the following describes the specific process of the embodiment of the present application. Please refer to FIG. 1. An embodiment of the posture detection method based on gait features in the embodiment of the present application includes:
在一实施例中,该基于步态特征的体态检测方法包括:In one embodiment, the method for detecting posture based on gait features includes:
101、获取目标对象的步态数据,并在步态数据中对目标对象的人体关键点进行检测,得到多个关键点特征,人体关键点为人体骨架的多个坐标点;101. Obtain the gait data of the target object, and detect the key points of the human body of the target object in the gait data to obtain multiple key point features, and the human body key points are multiple coordinate points of the human skeleton;
可以理解的是,本申请的执行主体可以为基于步态特征的体态检测装置,还可以是终端或者服务器,具体此处不做限定。本申请实施例以服务器为执行主体为例进行说明。It is understandable that the execution subject of this application may be a posture detection device based on gait characteristics, or may also be a terminal or a server, which is not specifically limited here. The embodiment of the present application takes the server as the execution subject as an example for description.
服务器获取目标对象的步态数据,对步态数据进行处理后,在处理后的步态数据中对目标对象的人体关键点进行检测,进而得到多个关键点特征,这里的人体关键点为目标对象的人体骨架中的多个坐标点,这些坐标点为人体骨架中的必不可少的代表点。The server obtains the gait data of the target object, and after processing the gait data, it detects the key points of the target object's human body in the processed gait data, and then obtains multiple key point features, where the human body key points are the target Multiple coordinate points in the human skeleton of the object, these coordinate points are indispensable representative points in the human skeleton.
需要说明的是,服务器获取的目标对象的步态数据,指的是目标对象连续走路的步态视频数据,通过对视频数据中目标对象的人体信息进行分析,确定目标对象的体态状况。服务器通过卷积神经网络(convolutional neural network,CNN)在步态数据中检目标对象的人体关键点,并得到多个关键特征点,CNN是一类包含卷积计算且具有深度结构的前馈神经网络,是深度学习的代表算法之一。CNN具有表征学习能力,能够按其阶层结构对输入信息进行平移不变分类,根据CNN的这项能力,可以实现对步态数据的处理,进而得到步态特征图,使得服务器能够在步态特征图中检测到人体关键点。It should be noted that the gait data of the target object acquired by the server refers to the gait video data of the target object's continuous walking. The body information of the target object in the video data is analyzed to determine the body state of the target object. The server uses convolutional neural network (convolutional neural network, CNN) to detect the human body key points of the target object in the gait data, and obtains multiple key feature points. CNN is a type of feedforward neural network that includes convolutional calculations and has a deep structure. The network is one of the representative algorithms of deep learning. CNN has the ability to characterize learning, and can classify the input information according to its hierarchical structure. According to this ability of CNN, it can realize the processing of gait data, and then obtain the gait feature map, so that the server can perform the gait feature The key points of the human body are detected in the figure.
102、采用深度学习网络对多个关键点特征进行特征分类以及定位回归,得到人体信息,人体信息包括人体部位位置以及人体部位亲和向量,人体部位亲和向量用于连接两个不同的关键点特征;102. Use a deep learning network to perform feature classification and positioning regression on multiple key point features to obtain human body information. The human body information includes the position of the human body part and the affinity vector of the human body part. The affinity vector of the human body part is used to connect two different key points feature;
服务器采用深度学习网络对多个关键点特征进行特征分类以及定位回归,确定关键点特征的类别,得到目标对象的人体信息,其中人体信息包括人体部位位置以及人体部位亲和向量,人体部位位置为多个,人体部位亲和向量用于连接两个不同的关键点特征。The server uses a deep learning network to perform feature classification and positioning regression on multiple key point features, determine the key point feature category, and obtain the human body information of the target object. The human body information includes the position of the human body and the affinity vector of the human body. The position of the human body is Multiple, human body part affinity vectors are used to connect two different key point features.
服务器采用的是自下而上的人体关键点检测算法,主要包含两个部分,关键点分类和关键点定位回归,其中关键点检测需要服务器计算所有关键点特征与预置人体位置特征之间的置信度,以判别关键点特征的类别并确定关键点特征代表的相应人体部位位置,然后服务器再计算不同关键点特征之间的亲和度,根据亲和度的大小将不同的关键点特征连接在一起,以确定人体部位亲和向量,人体部位亲和向量是构成人体骨架的基础,多个人体部位亲和向量连接在一起可以构成一个人体骨架,这里的人体骨架描绘的是人体运动的大致形态,服务器由人体部位位置与人体部位亲和向量得到检测到的人体信息。The server uses a bottom-up human body key point detection algorithm, which mainly includes two parts, key point classification and key point positioning regression. The key point detection requires the server to calculate the difference between all key point features and preset human position features. Confidence degree, to identify the category of key point features and determine the position of the corresponding body part represented by the key point feature, and then the server calculates the affinity between different key point features, and connects different key point features according to the degree of affinity Together to determine the human body part affinity vector. The human body part affinity vector is the basis of the human skeleton. Multiple human body part affinity vectors can be connected together to form a human skeleton. The human skeleton here depicts the general motion of the human body. In form, the server obtains the detected human body information from the human body part position and the human body part affinity vector.
待服务器确定好所有关键点特征的分类之后,需要对关键点特征进行定位回归,即将不同的关键点特征之间亲和度高的相连在一起,得到人体部位亲和向量。这里的亲和度指的是两个不同关键点特征之间的关联程度,当两个不同关键点特征之间的关联程度大于第二阈值时,说明这两个不同关键点特征之间的关联程度越大,将两个不同关键点特征连接起来构成人体部位亲和向量,多个人体部位亲和向量连接起来构成一个人体骨架。一个关键点特征可以连接不同数量的其他关键点特征,如:手部关键点特征仅与肘部关键点特征相连,肩膀关键点特征分别与肘部关键点特征以及躯干关键点特征相连。After the server has determined the classification of all the key point features, it needs to perform positioning regression on the key point features, that is, connect the different key point features with high affinity to obtain the human body part affinity vector. The affinity here refers to the degree of association between two different key point features. When the degree of association between two different key point features is greater than the second threshold, it indicates the correlation between the two different key point features The greater the degree, the two different key point features are connected to form a human body part affinity vector, and multiple human body part affinity vectors are connected to form a human body skeleton. A key point feature can be connected to a different number of other key point features. For example, the hand key point feature is only connected to the elbow key point feature, and the shoulder key point feature is connected to the elbow key point feature and the torso key point feature respectively.
103、基于多个关键点特征计算人体信息与预置标准人体信息之间的匹配参数,预置标准人体信息包括预置标准亲和向量,匹配参数用于指示目标对象的人体信息与预置标准人 体信息之间的匹配度;103. Calculate the matching parameters between the human body information and the preset standard human body information based on multiple key point features. The preset standard human body information includes a preset standard affinity vector, and the matching parameters are used to indicate the body information of the target object and the preset standard The degree of matching between human body information;
服务器根据多个关键点特征之间的关系计算人体信息与预置标准人体信息之间的匹配参数,预置标准人体信息包括预置标准亲和向量,预置标准亲和向量是将大量的数据输入至模型中计算得到的,匹配参数用于指示目标对象的人体信息与预置标准人体信息之间的匹配度。The server calculates the matching parameters between the human body information and the preset standard human body information according to the relationship between multiple key point features. The preset standard human body information includes the preset standard affinity vector, which is a large amount of data It is input into the model and calculated, and the matching parameter is used to indicate the degree of matching between the human body information of the target object and the preset standard human body information.
服务器待计算多个关键点特征的人体部位亲和向量后,再将多个人体部位亲和向量进行连接,得到的是一个人体的姿态骨架,将人体的姿态骨架与标准的姿态骨架进行对比与分析,服务器可以得到目标对象的体态状况。人体的姿态骨架与标准的姿态骨架进行对比,本质上是多个相同位置上的人体部位亲和向量与预置标准亲和向量之间的比对,人体部位亲和向量是构成人体的姿态骨架的基础,预置标准亲和向量是构成标准的姿态骨架的基础,在这里预置标准亲和向量,是大量的人体姿态样本经过不断地计算以及训练得到的,不同身高体重的人体姿态具有不同的标准的姿态骨架以及预置标准亲和向量。After the server calculates the human body part affinity vectors of multiple key point features, it connects the multiple human body part affinity vectors to obtain a human body posture skeleton. The human body posture skeleton is compared with the standard posture skeleton. Analysis, the server can get the posture of the target object. The posture skeleton of the human body is compared with the standard posture skeleton. In essence, it is a comparison between the affinity vector of multiple human body parts at the same position and the preset standard affinity vector. The affinity vector of the human body part constitutes the posture skeleton of the human body. The preset standard affinity vector is the basis of the standard posture skeleton. The standard affinity vector is preset here, which is obtained through continuous calculation and training of a large number of human posture samples. Human postures of different heights and weights have different The standard posture skeleton and preset standard affinity vector.
104、根据匹配参数与标准阈值,确定目标对象的体态状况,标准阈值为异常体态状况的临界值。104. Determine the posture of the target object according to the matching parameters and the standard threshold, and the standard threshold is the critical value of the abnormal posture.
服务器待计算到人体部位亲和向量与预置标准亲和向量之间的置信度,得到匹配参数后,将匹配参数与不同体态状况的标准阈值进行比较,进而确定目标对象的体态状况。The server is to calculate the confidence between the human body part affinity vector and the preset standard affinity vector, and after obtaining the matching parameters, compare the matching parameters with the standard thresholds of different posture conditions to determine the posture status of the target object.
这里体态状况的标准阈值,用于说明不同体态状况的临界值,且标准阈值是通过大量的数据进行计算得到的。如:颈椎异常的标准阈值为0.8,也就是说明,当匹配参数大于标准阈值0.8时,目标对象的体态状况为颈椎异常。此外,标准阈值至少为一个,每个标准阈值代表不同体态状况的临界值,标准阈值与匹配参数是相互对应的,也就是说明计算匹配参数的人体部位亲和向量要与标准阈值所代表的体态状况相关。例如:颈椎异常的标准阈值为0.8,构成计算匹配参数的人体部位亲和向量的关键点特征要与颈部有关,可以为头部关键点特征、肩部关键点特征以及躯干关键点特征。运用不同的人体部位亲和向量进行多次匹配参数的计算,得到目标对象更准确的体态状况。The standard thresholds of posture conditions here are used to illustrate the critical values of different posture conditions, and the standard thresholds are calculated through a large amount of data. For example, the standard threshold for cervical spine abnormality is 0.8, which means that when the matching parameter is greater than the standard threshold 0.8, the posture of the target object is cervical spine abnormality. In addition, there should be at least one standard threshold. Each standard threshold represents the critical value of different posture conditions. The standard threshold and the matching parameter correspond to each other, that is to say, the body part affinity vector for calculating the matching parameter must be the posture represented by the standard threshold. The situation is relevant. For example, the standard threshold of cervical spine abnormality is 0.8, and the key point features of the human body part affinity vector that form the matching parameters should be related to the neck, which can be the head key point feature, the shoulder key point feature, and the trunk key point feature. Use different human body parts affinity vectors to calculate multiple matching parameters to obtain a more accurate body condition of the target object.
可以理解的是,这里服务器得到目标对象的体态状况可以为很多种,如:颈椎轻微异常的标准阈值为0.65,也就是说明,当匹配参数大于标准阈值0.65时,目标对象的体态状况为颈椎轻微异常;如:颈椎严重异常的标准阈值为0.89,也就是说明,当匹配参数大于标准阈值0.89时,目标对象的体态状况为颈椎严重异常。可以通过不同的关键点特征得到不同的人体部位亲和向量,服务器再通过比对不同的人体部位亲和向量与预置标准亲和向量,就可以得到目标对象与标准健康状况下相比有哪些异常的体态状况。It is understandable that the posture of the target object obtained by the server here can be various, such as: the standard threshold for minor cervical spine abnormality is 0.65, that is to say, when the matching parameter is greater than the standard threshold 0.65, the posture of the target object is mild cervical spine. Abnormal; such as: the standard threshold of severe cervical spine abnormality is 0.89, that is to say, when the matching parameter is greater than the standard threshold 0.89, the posture of the target object is severe cervical spine abnormality. Different human body part affinity vectors can be obtained through different key point features. The server can then compare the different human body part affinity vectors with the preset standard affinity vector to get the target object compared with the standard health condition. Abnormal posture.
本申请实施例中,采用人工智能的卷积神经网络和深度学习网络对目标对象的步态数据进行处理与分析,计算经过处理后得到的人体信息与预置标准人体信息之间的匹配参数,通过匹配参数确定目标对象的体态状况。同时,本申请还可应用于智慧医疗领域中,从而推动智慧城市的建设,本申请通过卷积神经网络和深度学习网络处理目标对象的步态数据,降低检测成本并提高了检测目标对象体态状况的检测效率。In the embodiment of the application, the artificial convolutional neural network and the deep learning network are used to process and analyze the gait data of the target object, and to calculate the matching parameters between the human body information obtained after the processing and the preset standard human body information, Determine the posture of the target object through matching parameters. At the same time, this application can also be applied in the field of smart medical care to promote the construction of smart cities. This application uses convolutional neural networks and deep learning networks to process the gait data of the target object, reducing the cost of detection and improving the physical condition of the detected target object The detection efficiency.
请参阅图2,本申请实施例中基于步态特征的体态检测方法的另一个实施例包括:Please refer to FIG. 2, another embodiment of the posture detection method based on gait features in the embodiment of the present application includes:
201、计算预置标准人体信息,预置标准人体信息包括预置标准亲和向量;201. Calculate preset standard human body information, which includes preset standard affinity vectors;
服务器采用深度学习网络以及卷积神经网络计算预置标准人体信息,其中,预置标准人体信息包括预置标准亲和向量。The server uses a deep learning network and a convolutional neural network to calculate preset standard human body information, where the preset standard human body information includes a preset standard affinity vector.
可以理解的是,这里的预置标准人体信息包括标准健康状况下的人体信息以及罹患不同程度颈椎腰椎疾病的人体信息,预置标准人体信息是服务器通过收集大量的人体信息数据,并将大量的人体信息数据进行深度学习训练得到的,通过深度学习网络提取步态数据不同抽象程度特征的特征提取层,并对人体关键点特征进行特征分类以及定位回归,利用 相关损失函数对得到的训练结果进行评估,最后再通过反向传播更新网络参数,重复这一过程直到网络收敛,得到预置标准人体信息。It is understandable that the preset standard human body information here includes body information under standard health conditions and human body information suffering from different degrees of cervical and lumbar spine diseases. The preset standard human body information is the server collecting a large amount of human body information data, and a large number of The human body information data is obtained by deep learning training, and the feature extraction layer of different abstract features of the gait data is extracted through the deep learning network, and the feature classification and positioning regression of the key points of the human body are performed, and the relevant loss function is used to perform the training results. Evaluation, and finally update the network parameters through backpropagation, repeat this process until the network converges, and get the preset standard human body information.
需要说明的是,服务器计算预置标准人体信息的方法与计算人体信息的方法相同,均是利用卷积神经网络对步态数据进行处理,然后再利用深度学习网络对人体关键点进行特征分类以及定位回归,从而得到人体信息,这样得到的数据结果更准确也更具有代表性,具体的计算步骤在下述步骤中均有描述,在此并不进行赘述。It should be noted that the method for the server to calculate the preset standard human body information is the same as that of calculating the human body information. Both use the convolutional neural network to process the gait data, and then use the deep learning network to classify the key points of the human body. Positioning regression, so as to obtain human body information, the data results obtained in this way are more accurate and representative. The specific calculation steps are described in the following steps, and will not be repeated here.
202、获取目标对象的步态数据,并在步态数据中对目标对象的人体关键点进行检测,得到多个关键点特征,人体关键点为人体骨架的多个坐标点;202. Obtain the gait data of the target object, and detect the key points of the human body of the target object in the gait data to obtain multiple key point features, where the key points of the human body are multiple coordinate points of the human skeleton;
服务器获取目标对象的步态数据,对步态数据进行处理后,在处理后的步态数据中对目标对象的人体关键点进行检测,进而得到多个关键点特征,这里的人体关键点为目标对象的人体骨架中的多个坐标点,这些坐标点为人体骨架中的必不可少的代表点。具体的:The server obtains the gait data of the target object, and after processing the gait data, it detects the key points of the target object's human body in the processed gait data, and then obtains multiple key point features, where the human body key points are the target Multiple coordinate points in the human skeleton of the object, these coordinate points are indispensable representative points in the human skeleton. specific:
服务器对目标对象的步态数据进行归一化处理,得到基础处理数据;在基础处理数据中,服务器采用卷积神经网络检测目标对象的人体关键点,得到多个关键点特征,人体关键点为人体骨架的多个坐标点。具体的:首先服务器采用卷积神经网络计算基础处理数据的卷积,得到第一处理数据;其次服务器对第一处理数据进行下采样处理,并提取第一处理数据中的多个采样向量,得到第二处理数据;然后服务器将第二处理数据进行非线性映射,得到步态特征图;最后服务器在步态特征图中检测目标对象的人体关键点,得到多个关键点特征,人体关键点为人体骨架的多个坐标点。The server normalizes the gait data of the target object to obtain the basic processing data; in the basic processing data, the server uses the convolutional neural network to detect the human body key points of the target object, and obtains multiple key point features. The human body key points are Multiple coordinate points of the human skeleton. Specifically: First, the server uses a convolutional neural network to calculate the convolution of the basic processing data to obtain the first processed data; second, the server performs down-sampling processing on the first processed data, and extracts multiple sampling vectors in the first processed data to obtain The second processing data; then the server performs non-linear mapping of the second processing data to obtain the gait feature map; finally the server detects the human body key points of the target object in the gait feature map, and obtains multiple key point features, the human body key points are Multiple coordinate points of the human skeleton.
服务器获取的目标对象的步态数据,指的是目标对象连续走路的步态视频数据,通过对视频数据中目标对象的人体信息进行分析,确定目标对象的体态状况。可以理解的是,服务器通过步态数据对目标对象的人体关键点进行检测之前,服务器需要将目标对象的步态数据进行归一化处理,服务器对视频数据进行归一化的处理,有利于下一步的进行。服务器获取步态数据上的像素值,服务器将像素值进行归一化,获取到基础处理数据。归一化并没有改变图像的对比度,同时保证了归一化后的所有图片像素值在[0,1]范围内。所用公式如下:The gait data of the target object acquired by the server refers to the gait video data of the target object's continuous walking. The body information of the target object in the video data is analyzed to determine the body state of the target object. It is understandable that before the server detects the key points of the target object's human body through the gait data, the server needs to normalize the gait data of the target object. The server normalizes the video data, which is beneficial to the next step. One step. The server obtains the pixel value on the gait data, and the server normalizes the pixel value to obtain the basic processing data. The normalization does not change the contrast of the image, and at the same time, it ensures that the pixel values of all pictures after normalization are in the range of [0, 1]. The formula used is as follows:
Figure PCTCN2020103198-appb-000001
Figure PCTCN2020103198-appb-000001
在式中:a'为基础处理数据的像素值,a为步态数据的原始像素值。可以理解的是,对目标对象的步态数据进行归一化处理,把数据映射到0~1范围之内处理,再将得到的基础处理数据输入到网络模型中,服务器计算更加便捷快速。In the formula: a'is the pixel value of the basic processing data, and a is the original pixel value of the gait data. It is understandable that by normalizing the gait data of the target object, mapping the data to the range of 0 to 1, and then inputting the obtained basic processing data into the network model, the server calculation is more convenient and faster.
在得到基础处理数据之后,服务器通过卷积神经网络CNN在步态数据中检目标对象的人体关键点,并得到多个关键特征点,CNN是一类包含卷积计算且具有深度结构的前馈神经网络,是深度学习的代表算法之一。CNN具有表征学习能力,能够按其阶层结构对输入信息进行平移不变分类,根据CNN的这项能力,可以实现对步态数据的处理,进而得到步态特征图,使得服务器能够在步态特征图中检测到人体关键点。CNN包含了一个由卷积层和子采样层构成的特征抽取器,利用特征抽取器操作不同参数来反复处理基础处理数据提取出不同层级的特征。After obtaining the basic processing data, the server uses the convolutional neural network CNN to detect the human body key points of the target object in the gait data, and obtains multiple key feature points. CNN is a type of feedforward that includes convolution calculations and has a deep structure. Neural network is one of the representative algorithms of deep learning. CNN has the ability to characterize learning, and can classify the input information according to its hierarchical structure. According to this ability of CNN, it can realize the processing of gait data, and then obtain the gait feature map, so that the server can perform the gait feature The key points of the human body are detected in the figure. CNN contains a feature extractor composed of a convolutional layer and a sub-sampling layer. The feature extractor is used to manipulate different parameters to repeatedly process the basic processing data to extract features at different levels.
在卷积神经网络的卷积层中,服务器计算基础处理数据的卷积,在CNN的一个卷积层中,通常包含若干个特征平面,每个特征平面由一些矩形排列的神经元组成,同一特征平面的神经元共享权值,这里共享的权值就是卷积核。卷积核一般以随机小数矩阵的形式初始化,在网络的训练过程中卷积核将学习得到合理的权值,也就是服务器计算基础处理数据的卷积,进而得到第一处理数据;服务器在得到第一处理数据后,对第一处理数据进行下采样处理,下采样也被称为池化,可以看作一种特殊的卷积过程,目的是减小特征图的 大小,在进行下采样处理过后,提取多个采样向量,得到第二处理数据;然后服务器采用的是激励函数对第二处理数据进行非线性映射,从而得到步态特征图,在步态特征图中可以显示出不同形态的特征点;最后服务器在步态特征图中筛选出目标对象的人体关键点,得到多个关键点特征,这里的人体关键点是特定代表人体骨架组合的坐标点,通过多个关键特征点即可得到目标对象的人体信息,更好的确定目标对象的体态状况。In the convolutional layer of the convolutional neural network, the server calculates the convolution of the basic processing data. In a convolutional layer of CNN, it usually contains several feature planes. Each feature plane is composed of some rectangularly arranged neurons. The neurons in the feature plane share weights, and the shared weights here are the convolution kernels. The convolution kernel is generally initialized in the form of a random decimal matrix. During the training of the network, the convolution kernel will learn to obtain reasonable weights, that is, the server calculates the convolution of the basic processing data, and then obtains the first processing data; the server is getting After the first processed data, down-sampling is performed on the first processed data. Down-sampling is also called pooling. It can be regarded as a special convolution process. The purpose is to reduce the size of the feature map and perform down-sampling. After that, multiple sampling vectors are extracted to obtain the second processed data; then the server uses the excitation function to perform non-linear mapping on the second processed data, thereby obtaining the gait feature map, which can display different shapes in the gait feature map Feature points: Finally, the server screens out the key points of the target object in the gait feature map, and obtains multiple key point features. The key points of the human body here are the coordinate points that specifically represent the combination of the human skeleton. You can pass multiple key feature points. Obtain the human body information of the target object, and better determine the body condition of the target object.
203、采用深度学习网络对多个关键点特征进行特征分类以及定位回归,得到人体信息,人体信息包括人体部位位置以及人体部位亲和向量,人体部位亲和向量用于连接两个不同的关键点特征;203. Use the deep learning network to perform feature classification and positioning regression on multiple key point features to obtain human body information. The human body information includes the position of the human body part and the affinity vector of the human body part. The affinity vector of the human body part is used to connect two different key points feature;
服务器采用深度学习网络对多个关键点特征进行特征分类以及定位回归,确定关键点特征的类别,得到目标对象的人体信息,其中人体信息包括人体部位位置以及人体部位亲和向量,人体部位位置为多个,人体部位亲和向量用于连接两个不同的关键点特征。具体的:The server uses a deep learning network to perform feature classification and positioning regression on multiple key point features, determine the key point feature category, and obtain the human body information of the target object. The human body information includes the position of the human body and the affinity vector of the human body. The position of the human body is Multiple, human body part affinity vectors are used to connect two different key point features. specific:
服务器首先采用深度学习网络计算多个关键点特征与预置人体位置特征之间的置信度,从而获取到多个关键点特征的类别,预置人体位置特征用于指示不同的人体部位位置,且每个预置人体位置特征对应一个人体部位位置;其次服务器将置信度与第一阈值进行比较,当置信度大于第一阈值时,确定计算置信度的关键点特征对应的人体部位位置,关键点特征对应的人体部位位置为预置人体位置特征对应的人体部位位置;然后服务器在计算两个不同关键点特征之间的亲和度,对两个不同关键点特征进行定位回归;服务器再将亲和度与第二阈值进行比较,当亲和度大于第二阈值时,连接两个不同关键点特征,这里对应的两个不同关键点特征为计算该亲和度的两个不同关键点特征,生成人体部位亲和向量,其中,人体部位亲和向量用于连接两个不同的关键点特征;最后服务器将多个人体部位亲和向量连接,得到人体信息,人体信息包括人体部位位置以及人体部位亲和向量。The server first uses a deep learning network to calculate the confidence between multiple key point features and preset human body position features, thereby obtaining multiple key point feature categories. The preset human body position features are used to indicate the positions of different human body parts, and Each preset human body position feature corresponds to a human body part position; secondly, the server compares the confidence level with the first threshold, and when the confidence level is greater than the first threshold, determines the human body part position corresponding to the key point feature for calculating the confidence level, the key point The position of the human body part corresponding to the feature is the position of the human body part corresponding to the preset human body position feature; then the server calculates the affinity between the two different key point features, and performs positioning regression on the two different key point features; the server then compares the relative The degree of sum is compared with the second threshold. When the degree of affinity is greater than the second threshold, two different key point features are connected. The corresponding two different key point features are two different key point features for calculating the affinity. Generate the human body part affinity vector, where the human body part affinity vector is used to connect two different key point features; finally the server connects multiple human body part affinity vectors to obtain human body information, which includes the position of the human body part and the human body part Affinity vector.
需要说明的是,这里的预置人体位置特征指的是标准人体骨骼关键点,且预置人体位置特征有很多个,如:人体骨骼的标准头部(5个)、肩膀(2个)、躯干(1个)、手肘(2个)、手部(2个)、髋部(2个)、膝盖(2个)、脚部(2个)共18个,服务器通过计算预置人体位置特征与识别到的关键点特征之间的置信度,以确定关键点特征的分类,当关键点特征与预置人体位置特征之间的置信度大于第一阈值时,说明该关键点特征与该预置人体位置特征契合,服务器设定该关键点特征的分类为相对应预置人体位置特征的分类。此外,这里第一阈值的数值可以根据实际情况进行不同的设定,在本申请中并不对其进行限定。It should be noted that the preset human body position features here refer to the key points of the standard human skeleton, and there are many preset human body position features, such as: standard head (5), shoulders (2), There are 18 torso (1), elbows (2), hands (2), hips (2), knees (2), and feet (2). The server presets the position of the human body through calculation. The confidence level between the feature and the identified key point feature is used to determine the classification of the key point feature. When the confidence level between the key point feature and the preset human position feature is greater than the first threshold, it indicates that the key point feature and the The preset human body position feature fits, and the server sets the classification of the key point feature as a classification corresponding to the preset human body position feature. In addition, the value of the first threshold here can be set differently according to actual conditions, which is not limited in this application.
举例来说,服务器设定第一阈值为0.6,服务器计算关键点特征与预置手肘特征之间的置信度为0.3,再计算该关键点特征与预置膝盖特征之间的置信度为0.8,而该关键点特征与其他预置人体位置特征之间的置信度均未超过0.8,说明该关键点特征与预置膝盖特征契合,服务器确定该关键点特征为预置膝盖特征。For example, the server sets the first threshold to 0.6, the server calculates the confidence level between the key point feature and the preset elbow feature to be 0.3, and then calculates the confidence level between the key point feature and the preset knee feature to be 0.8 , And the confidence level between the key point feature and other preset human body position features does not exceed 0.8, indicating that the key point feature fits with the preset knee feature, and the server determines that the key point feature is the preset knee feature.
待服务器确定好所有关键点特征的分类之后,需要对关键点特征进行定位回归,即将不同的关键点特征之间亲和度高的相连在一起,得到人体部位亲和向量。这里的亲和度指的是两个不同关键点特征之间的关联程度,当两个不同关键点特征之间的关联程度大于第二阈值时,说明这两个不同关键点特征之间的关联程度越大,将两个不同关键点特征连接起来构成人体部位亲和向量,多个人体部位亲和向量连接起来构成一个人体骨架。一个关键点特征可以连接不同数量的其他关键点特征,如:手部关键点特征仅与肘部关键点特征相连,肩膀关键点特征分别与肘部关键点特征以及躯干关键点特征相连。After the server has determined the classification of all the key point features, it needs to perform positioning regression on the key point features, that is, connect the different key point features with high affinity to obtain the human body part affinity vector. The affinity here refers to the degree of association between two different key point features. When the degree of association between two different key point features is greater than the second threshold, it indicates the correlation between the two different key point features The greater the degree, the two different key point features are connected to form a human body part affinity vector, and multiple human body part affinity vectors are connected to form a human body skeleton. A key point feature can be connected to a different number of other key point features. For example, the hand key point feature is only connected to the elbow key point feature, and the shoulder key point feature is connected to the elbow key point feature and the torso key point feature respectively.
举例说明,服务器设定第二阈值为0.55,服务器计算躯干关键点特征与肩膀关键点特征之间的亲和度为0.88,躯干关键点特征与脚部关键点特征之间的亲和度为0.15,躯干关 键点特征与头部关键点特征之间的亲和度为0.75,当计算过后的亲和度大于第二预置0.55时,服务器将计算亲和度的两个关键点特征连接在一起,也就是将躯干关键点特征分别与肩膀关键点特征以及头部关键点特征相连,得到人体部位亲和向量。For example, the server sets the second threshold value to 0.55, the server calculates the affinity between the torso key point feature and the shoulder key point feature as 0.88, and the affinity between the torso key point feature and the foot key point feature is 0.15 , The affinity between the torso key point feature and the head key point feature is 0.75. When the calculated affinity is greater than the second preset 0.55, the server will connect the two key point features of the calculated affinity together , That is, the torso key point feature is connected with the shoulder key point feature and the head key point feature respectively to obtain the human body part affinity vector.
204、基于多个关键点特征计算人体信息与预置标准人体信息之间的匹配参数,预置标准人体信息包括预置标准亲和向量,匹配参数用于指示目标对象的人体信息与预置标准人体信息之间的匹配度;204. Calculate the matching parameters between the human body information and the preset standard human body information based on multiple key point features. The preset standard human body information includes a preset standard affinity vector, and the matching parameters are used to indicate the body information of the target object and the preset standard The degree of matching between human body information;
服务器根据多个关键点特征之间的关系计算人体信息与预置标准人体信息之间的匹配参数,预置标准人体信息包括预置标准亲和向量,预置标准亲和向量是将大量的数据输入至模型中计算得到的,匹配参数用于指示目标对象的人体信息与预置标准人体信息之间的匹配度。The server calculates the matching parameters between the human body information and the preset standard human body information according to the relationship between multiple key point features. The preset standard human body information includes the preset standard affinity vector, which is a large amount of data It is input into the model and calculated, and the matching parameter is used to indicate the degree of matching between the human body information of the target object and the preset standard human body information.
具体的:服务器首先获取目标对象的多个人体部位亲和向量;然后服务器获取与目标对象相匹配的预置标准人体信息,预置标准人体信息包括多个不同的预置标准亲和向量;最后服务器利用相似度算法计算人体部位亲和向量与对应的预置标准亲和向量之间的置信度,得到匹配参数,人体部位亲和向量中的两个关键点特征与预置标准亲和向量中的预置人体位置特征的类别相同,匹配参数用于指示目标对象的人体信息与预置标准人体信息之间的匹配度。Specifically: the server first obtains multiple human body part affinity vectors of the target object; then the server obtains preset standard human body information that matches the target object, and the preset standard human body information includes multiple different preset standard affinity vectors; and finally The server uses the similarity algorithm to calculate the confidence between the human body part affinity vector and the corresponding preset standard affinity vector to obtain the matching parameters. The two key point features in the human body part affinity vector are in the preset standard affinity vector The categories of the preset body position features are the same, and the matching parameters are used to indicate the degree of matching between the body information of the target object and the preset standard body information.
服务器待计算多个关键点特征的人体部位亲和向量后,再将多个人体部位亲和向量进行连接,得到的是一个人体的姿态骨架,将人体的姿态骨架与标准的姿态骨架进行对比与分析,服务器可以得到目标对象的体态状况。人体的姿态骨架与标准的姿态骨架进行对比,本质上是多个相同位置上的人体部位亲和向量与预置标准亲和向量之间的比对,人体部位亲和向量是构成人体的姿态骨架的基础,预置标准亲和向量是构成标准的姿态骨架的基础,在这里预置标准亲和向量,是大量的人体姿态样本经过不断地计算以及训练得到的,不同身高体重的人体姿态具有不同的标准的姿态骨架以及预置标准亲和向量,因此在进行匹配参数与标准阈值比较时,计算匹配参数的预置标准人体信息必为与目标对象想匹配的数据。After the server calculates the human body part affinity vectors of multiple key point features, it connects the multiple human body part affinity vectors to obtain a human body posture skeleton. The human body posture skeleton is compared with the standard posture skeleton. Analysis, the server can get the posture of the target object. The posture skeleton of the human body is compared with the standard posture skeleton. In essence, it is a comparison between the affinity vector of multiple human body parts at the same position and the preset standard affinity vector. The affinity vector of the human body part constitutes the posture skeleton of the human body. The preset standard affinity vector is the basis of the standard posture skeleton. The standard affinity vector is preset here, which is obtained through continuous calculation and training of a large number of human posture samples. Human postures of different heights and weights have different The standard posture skeleton and the preset standard affinity vector, so when the matching parameter is compared with the standard threshold, the preset standard human body information for calculating the matching parameter must be the data that the target object wants to match.
需要说明的是,在利用相似度算法计算人体部位亲和向量与预置标准亲和向量之间的置信度时,人体部位亲和向量中的两个关键点特征与预置标准亲和向量中的预置人体位置特征的类别相同,即构成人体部位亲和向量的两个关键特征点与构成预置标准亲和向量的两个预置人体位置特征的类别相同。It should be noted that when using the similarity algorithm to calculate the confidence between the human body part affinity vector and the preset standard affinity vector, the two key point features in the human body part affinity vector are compared with the preset standard affinity vector. The categories of the preset human body position features are the same, that is, the two key feature points constituting the human body part affinity vector are the same as the two preset human body position characteristics constituting the preset standard affinity vector.
举例说明,以对比目标对象头部关键点特征与躯干关键点之间的人体部位亲和向量为例,首先,服务器获取到头部关键点特征与躯干关键点特征之间的人体部位亲和向量,以下称之为第一亲和向量,其次,服务器将筛选出与目标对象相匹配的预置标准人体信息,这里与目标对象相匹配的预置标准人体信息指的是,在目标对象标准健康基础上的人体姿态骨架信息,在预置标准人体信息中获取到标准头部关键点特征与标准躯干关键点特征之间的预置标准亲和向量,以下称之为第二亲和向量,最后,服务器将计算第一亲和向量与第二亲和向量之间的置信度,也就是计算第一亲和向量与第二亲和向量之间的匹配程度,得到一个匹配参数。For example, take the comparison of the human body part affinity vector between the head key point feature and the torso key point of the target object as an example. First, the server obtains the human body part affinity vector between the head key point feature and the torso key point feature , Hereinafter referred to as the first affinity vector, and secondly, the server will filter out the preset standard human body information that matches the target object. The preset standard human body information that matches the target object here refers to the standard health Based on the human body posture skeleton information, the preset standard affinity vector between the standard head key point feature and the standard torso key point feature is obtained from the preset standard human body information, which is hereinafter referred to as the second affinity vector, and finally , The server will calculate the confidence level between the first affinity vector and the second affinity vector, that is, calculate the degree of matching between the first affinity vector and the second affinity vector, and obtain a matching parameter.
205、根据匹配参数与标准阈值,确定目标对象的体态状况,标准阈值为异常体态状况的临界值。205. Determine the posture of the target object according to the matching parameters and the standard threshold, where the standard threshold is the critical value of the abnormal posture.
服务器待计算到人体部位亲和向量与预置标准亲和向量之间的置信度,得到匹配参数后,将匹配参数与不同体态状况的标准阈值进行比较,进而确定目标对象的体态状况。具体的:服务器判断配置参数是否大于标准阈值,标准阈值为异常体态状况的临界值;若配置参数大于标准阈值,则服务器确定目标对象的体态状况为异常。The server is to calculate the confidence between the human body part affinity vector and the preset standard affinity vector, and after obtaining the matching parameters, compare the matching parameters with the standard thresholds of different posture conditions to determine the posture status of the target object. Specifically: the server determines whether the configuration parameter is greater than the standard threshold, and the standard threshold is the critical value of the abnormal posture; if the configuration parameter is greater than the standard threshold, the server determines that the posture of the target object is abnormal.
这里体态状况的标准阈值,用于说明不同体态状况的临界值,且标准阈值是通过大量 的数据进行计算得到的。如:颈椎异常的标准阈值为0.8,也就是说明,当匹配参数大于标准阈值0.8时,目标对象的体态状况为颈椎异常。此外,标准阈值至少为一个,每个标准阈值代表不同体态状况的临界值,标准阈值与匹配参数是相互对应的,也就是说明计算匹配参数的人体部位亲和向量要与标准阈值所代表的体态状况相关。例如:颈椎异常的标准阈值为0.8,构成计算匹配参数的人体部位亲和向量的关键点特征要与颈部有关,可以为头部关键点特征、肩部关键点特征以及躯干关键点特征。运用不同的人体部位亲和向量进行多次匹配参数的计算,得到目标对象更准确的体态状况。Here, the standard threshold of posture conditions is used to illustrate the critical value of different posture conditions, and the standard threshold is calculated through a large amount of data. For example, the standard threshold for cervical spine abnormality is 0.8, which means that when the matching parameter is greater than the standard threshold 0.8, the posture of the target object is cervical spine abnormality. In addition, there should be at least one standard threshold. Each standard threshold represents the critical value of different posture conditions. The standard threshold and the matching parameter correspond to each other, that is to say, the body part affinity vector for calculating the matching parameter must be the posture represented by the standard threshold. The situation is relevant. For example, the standard threshold of cervical spine abnormality is 0.8, and the key point features of the human body part affinity vector that form the matching parameters should be related to the neck, which can be the head key point feature, the shoulder key point feature, and the trunk key point feature. Use different human body parts affinity vectors to calculate multiple matching parameters to obtain a more accurate body condition of the target object.
可以理解的是,这里服务器得到目标对象的体态状况可以为很多种,如:颈椎轻微异常的标准阈值为0.65,也就是说明,当匹配参数大于标准阈值0.65时,目标对象的体态状况为颈椎轻微异常;如:颈椎严重异常的标准阈值为0.89,也就是说明,当匹配参数大于标准阈值0.89时,目标对象的体态状况为颈椎严重异常。可以通过不同的关键点特征得到不同的人体部位亲和向量,服务器再通过比对不同的人体部位亲和向量与预置标准亲和向量,就可以得到目标对象与标准健康状况下相比有哪些异常的体态状况。It is understandable that the posture of the target object obtained by the server here can be various, such as: the standard threshold for minor cervical spine abnormality is 0.65, that is to say, when the matching parameter is greater than the standard threshold 0.65, the posture of the target object is mild cervical spine. Abnormal; such as: the standard threshold of severe cervical spine abnormality is 0.89, that is to say, when the matching parameter is greater than the standard threshold 0.89, the posture of the target object is severe cervical spine abnormality. Different human body part affinity vectors can be obtained through different key point features. The server can then compare the different human body part affinity vectors with the preset standard affinity vector to get the target object compared with the standard health condition. Abnormal posture.
本申请实施例中,用卷积神经网络和深度学习网络对目标对象的步态数据进行处理与分析,计算经过处理后得到的人体信息与预置标准人体信息之间的匹配参数,通过匹配参数确定目标对象的体态状况。通过卷积神经网络和深度学习网络处理目标对象的步态数据,降低检测成本并提高了检测目标对象体态状况的检测效率。In the embodiment of this application, the gait data of the target object is processed and analyzed by the convolutional neural network and the deep learning network, and the matching parameters between the human body information obtained after the processing and the preset standard human body information are calculated through the matching parameters Determine the posture of the target object. The gait data of the target object is processed through the convolutional neural network and the deep learning network, which reduces the detection cost and improves the detection efficiency of detecting the body condition of the target object.
上面对本申请实施例中基于步态特征的体态检测方法进行了描述,下面对本申请实施例中基于步态特征的体态检测装置进行描述,请参阅图3,本申请实施例中基于步态特征的体态检测装置一个实施例包括:The posture detection method based on gait features in the embodiments of the present application is described above, and the posture detection device based on gait features in the embodiments of the present application is described below. Please refer to FIG. 3. An embodiment of the posture detection device includes:
检测模块301,用于获取目标对象的步态数据,并在步态数据中对目标对象的人体关键点进行检测,得到多个关键点特征,人体关键点为人体骨架的多个坐标点;The detection module 301 is used to obtain the gait data of the target object, and detect the key points of the human body of the target object in the gait data to obtain multiple key point features, and the human body key points are multiple coordinate points of the human skeleton;
分类及回归模块302,用于基于深度学习网络对多个关键点特征进行特征分类以及定位回归,得到人体信息,人体信息包括人体部位位置以及人体部位亲和向量,人体部位亲和向量用于连接两个不同的关键点特征;The classification and regression module 302 is used for feature classification and positioning regression of multiple key point features based on the deep learning network to obtain human body information. The human body information includes the position of the body part and the affinity vector of the body part. The affinity vector of the body part is used for connection Two different key point features;
第一计算模块303,用于基于多个关键点特征计算人体信息与预置标准人体信息之间的匹配参数,预置标准人体信息包括预置标准亲和向量,匹配参数用于指示目标对象的人体信息与预置标准人体信息之间的匹配度;The first calculation module 303 is configured to calculate matching parameters between the human body information and preset standard human body information based on multiple key point features. The preset standard human body information includes a preset standard affinity vector, and the matching parameters are used to indicate the target object's The degree of matching between the body information and the preset standard body information;
确定模块304,用于根据匹配参数与标准阈值,确定目标对象的体态状况,标准阈值为异常体态状况的临界值。The determining module 304 is configured to determine the posture condition of the target object according to the matching parameters and the standard threshold value, and the standard threshold value is the critical value of the abnormal posture condition.
本申请实施例中,用卷积神经网络和深度学习网络对目标对象的步态数据进行处理与分析,计算经过处理后得到的人体信息与预置标准人体信息之间的匹配参数,通过匹配参数确定目标对象的体态状况。通过卷积神经网络和深度学习网络处理目标对象的步态数据,降低检测成本并提高了检测目标对象体态状况的检测效率。In the embodiment of this application, the gait data of the target object is processed and analyzed by the convolutional neural network and the deep learning network, and the matching parameters between the human body information obtained after the processing and the preset standard human body information are calculated through the matching parameters Determine the posture of the target object. The gait data of the target object is processed through the convolutional neural network and the deep learning network, which reduces the detection cost and improves the detection efficiency of detecting the body condition of the target object.
请参阅图4,本申请实施例中基于步态特征的体态检测装置的另一个实施例包括:Please refer to FIG. 4, another embodiment of a body posture detection device based on gait features in the embodiment of the present application includes:
检测模块301,用于获取目标对象的步态数据,并在步态数据中对目标对象的人体关键点进行检测,得到多个关键点特征,人体关键点为人体骨架的多个坐标点;The detection module 301 is used to obtain the gait data of the target object, and detect the key points of the human body of the target object in the gait data to obtain multiple key point features, and the human body key points are multiple coordinate points of the human skeleton;
分类及回归模块302,用于基于深度学习网络对多个关键点特征进行特征分类以及定位回归,得到人体信息,人体信息包括人体部位位置以及人体部位亲和向量,人体部位亲和向量用于连接两个不同的关键点特征;The classification and regression module 302 is used for feature classification and positioning regression of multiple key point features based on the deep learning network to obtain human body information. The human body information includes the position of the body part and the affinity vector of the body part. The affinity vector of the body part is used for connection Two different key point features;
第一计算模块303,用于基于多个关键点特征计算人体信息与预置标准人体信息之间的匹配参数,预置标准人体信息包括预置标准亲和向量,匹配参数用于指示目标对象的人体信息与预置标准人体信息之间的匹配度;The first calculation module 303 is configured to calculate matching parameters between the human body information and preset standard human body information based on multiple key point features. The preset standard human body information includes a preset standard affinity vector, and the matching parameters are used to indicate the target object's The degree of matching between the body information and the preset standard body information;
确定模块304,用于根据匹配参数与标准阈值,确定目标对象的体态状况,标准阈值为异常体态状况的临界值。The determining module 304 is configured to determine the posture condition of the target object according to the matching parameters and the standard threshold value, and the standard threshold value is the critical value of the abnormal posture condition.
可选的,分类及回归模块302还可以具体用于:Optionally, the classification and regression module 302 can also be specifically used for:
采用深度学习网络计算多个关键点特征与预置人体位置特征之间的置信度,对多个关键点特征进行分类,预置人体位置特征用于指示不同的人体部位位置,且每个预置人体位置特征对应一个人体部位位置;The deep learning network is used to calculate the confidence between multiple key point features and preset human body position features, and the multiple key point features are classified. The preset human body position features are used to indicate the position of different body parts, and each preset The human body position feature corresponds to the position of a human body part;
当置信度大于第一阈值时,确定计算置信度的关键点特征对应的人体部位位置,关键点特征对应的人体部位位置为预置人体位置特征对应的人体部位位置;When the confidence is greater than the first threshold, determine the position of the human body part corresponding to the key point feature for calculating the confidence, and the position of the human body part corresponding to the key point feature is the position of the human body part corresponding to the preset human position feature;
计算两个不同关键点特征之间的亲和度,对两个不同关键点特征进行定位回归;Calculate the affinity between two different key point features, and perform positioning regression on two different key point features;
当亲和度大于第二阈值时,连接两个不同关键点特征,生成人体部位亲和向量,人体部位亲和向量用于连接两个不同的关键点特征;When the affinity is greater than the second threshold, connect two different key point features to generate a human body part affinity vector, and the human body part affinity vector is used to connect two different key point features;
将多个人体部位亲和向量连接,得到人体信息,人体信息包括人体部位位置以及人体部位亲和向量。Connect multiple human body part affinity vectors to obtain human body information. The human body information includes the position of the human body part and the human body part affinity vector.
可选的,第一计算模块303还可以具体用于:Optionally, the first calculation module 303 may also be specifically used for:
获取目标对象的多个人体部位亲和向量;Acquire affinity vectors of multiple human body parts of the target object;
获取与目标对象相匹配的预置标准人体信息,预置标准人体信息包括预置标准亲和向量;Obtain preset standard human body information that matches the target object, and the preset standard human body information includes a preset standard affinity vector;
利用相似度算法计算人体部位亲和向量与对应的预置标准亲和向量之间的置信度,得到匹配参数,人体部位亲和向量中的两个关键点特征与预置标准亲和向量中的预置人体位置特征的类别相同,匹配参数用于指示目标对象的人体信息与预置标准人体信息之间的匹配度。The similarity algorithm is used to calculate the confidence between the human body part affinity vector and the corresponding preset standard affinity vector, and the matching parameters are obtained. The two key point features in the human body part affinity vector are compared with those in the preset standard affinity vector. The categories of the preset body position features are the same, and the matching parameters are used to indicate the degree of matching between the body information of the target object and the preset standard body information.
可选的,确定模块304还可以具体用于:Optionally, the determining module 304 may also be specifically used for:
判断配置参数是否大于标准阈值,标准阈值为异常体态状况的临界值;Judge whether the configuration parameter is greater than the standard threshold, the standard threshold is the critical value of abnormal posture;
若配置参数大于标准阈值,则确定目标对象的体态状况为异常。If the configuration parameter is greater than the standard threshold, it is determined that the posture of the target object is abnormal.
可选的,检测模块301包括:Optionally, the detection module 301 includes:
处理单元3011,用于获取目标对象的步态数据,并归一化处理步态数据,得到基础处理数据;The processing unit 3011 is used to obtain the gait data of the target object, and to normalize the gait data to obtain basic processing data;
检测单元3012,用于在基础处理数据中,采用卷积神经网络检测目标对象的人体关键点,得到多个关键点特征,人体关键点为人体骨架的多个坐标点。The detection unit 3012 is used for detecting the key points of the human body of the target object by using the convolutional neural network in the basic processing data to obtain multiple key point features, and the key points of the human body are multiple coordinate points of the human skeleton.
可选的,检测单元3012还可以具体用于:Optionally, the detection unit 3012 may also be specifically configured to:
采用卷积神经网络计算基础处理数据的卷积,得到第一处理数据;Use convolutional neural network to calculate the convolution of the basic processing data to obtain the first processing data;
对第一处理数据进行下采样处理,并提取第一处理数据中的多个采样向量,得到第二处理数据;Perform down-sampling processing on the first processed data, and extract multiple sampling vectors in the first processed data to obtain second processed data;
将第二处理数据进行非线性映射,得到步态特征图;Perform nonlinear mapping on the second processed data to obtain a gait feature map;
在步态特征图中检测目标对象的人体关键点,得到多个关键点特征,人体关键点为人体骨架的多个坐标点。The human body key points of the target object are detected in the gait feature map, and multiple key point features are obtained. The human body key points are multiple coordinate points of the human skeleton.
可选的,基于步态特征的体态检测装置还包括:Optionally, the posture detection device based on gait features further includes:
第二计算模块305,用于计算预置标准人体信息,预置标准人体信息包括预置标准亲和向量。The second calculation module 305 is used to calculate preset standard human body information, and the preset standard human body information includes a preset standard affinity vector.
本申请实施例中,用卷积神经网络和深度学习网络对目标对象的步态数据进行处理与分析,计算经过处理后得到的人体信息与预置标准人体信息之间的匹配参数,通过匹配参数确定目标对象的体态状况。通过卷积神经网络和深度学习网络处理目标对象的步态数据,降低检测成本并提高了检测目标对象体态状况的检测效率。In the embodiment of this application, the gait data of the target object is processed and analyzed by the convolutional neural network and the deep learning network, and the matching parameters between the human body information obtained after the processing and the preset standard human body information are calculated through the matching parameters Determine the posture of the target object. The gait data of the target object is processed through the convolutional neural network and the deep learning network, which reduces the detection cost and improves the detection efficiency of detecting the body condition of the target object.
上面图3和图4从模块化功能实体的角度对本申请实施例中的基于步态特征的体态检测装置进行详细描述,下面从硬件处理的角度对本申请实施例中基于步态特征的体态检测设备进行详细描述。Figures 3 and 4 above describe in detail the posture detection device based on gait features in the embodiment of the present application from the perspective of modular functional entities. The following describes the posture detection device based on gait features in the embodiment of the present application from the perspective of hardware processing. Give a detailed description.
图5是本申请实施例提供的一种基于步态特征的体态检测设备的结构示意图,该基于步态特征的体态检测设备500可因配置或性能不同而产生比较大的差异,可以包括一个或一个以上处理器(central processing units,CPU)510(例如,一个或一个以上处理器)和存储器520,一个或一个以上存储应用程序533或数据532的存储介质530(例如一个或一个以上海量存储设备)。其中,存储器520和存储介质530可以是短暂存储或持久存储。存储在存储介质530的程序可以包括一个或一个以上模块(图示没标出),每个模块可以包括对基于步态特征的体态检测设备500中的一系列指令操作。更进一步地,处理器510可以设置为与存储介质530通信,在基于步态特征的体态检测设备500上执行存储介质530中的一系列指令操作。FIG. 5 is a schematic structural diagram of a posture detection device based on gait features provided by an embodiment of the present application. The posture detection device 500 based on gait features may have relatively large differences due to different configurations or performances, and may include one or One or more central processing units (CPU) 510 (for example, one or more processors) and memory 520, one or more storage media 530 for storing application programs 533 or data 532 (for example, one or one storage device with a large amount of storage ). Among them, the memory 520 and the storage medium 530 may be short-term storage or persistent storage. The program stored in the storage medium 530 may include one or more modules (not shown in the figure), and each module may include a series of instruction operations on the body posture detection device 500 based on gait characteristics. Further, the processor 510 may be configured to communicate with the storage medium 530, and execute a series of instruction operations in the storage medium 530 on the posture detection device 500 based on the gait characteristics.
基于步态特征的体态检测设备500还可以包括一个或一个以上电源540,一个或一个以上有线或无线网络接口550,一个或一个以上输入输出接口560,和/或,一个或一个以上操作系统531,例如Windows Serve,Mac OS X,Unix,Linux,FreeBSD等等。本领域技术人员可以理解,图5示出的基于步态特征的体态检测设备结构并不构成对基于步态特征的体态检测设备的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。The gait feature-based posture detection device 500 may also include one or more power sources 540, one or more wired or wireless network interfaces 550, one or more input and output interfaces 560, and/or, one or more operating systems 531 , Such as Windows Serve, Mac OS X, Unix, Linux, FreeBSD and so on. Those skilled in the art can understand that the structure of the posture detection device based on gait features shown in FIG. 5 does not constitute a limitation on the posture detection device based on gait features, and may include more or less components than shown in the figure, or Combining certain components, or different component arrangements.
本申请还提供一种计算机可读存储介质,该计算机可读存储介质可以为非易失性计算机可读存储介质,该计算机可读存储介质也可以为易失性计算机可读存储介质,计算机可读存储介质中存储有指令,当指令在计算机上运行时,使得计算机执行基于步态特征的体态检测方法的步骤。This application also provides a computer-readable storage medium. The computer-readable storage medium may be a non-volatile computer-readable storage medium. The computer-readable storage medium may also be a volatile computer-readable storage medium. Instructions are stored in the read storage medium, and when the instructions are run on the computer, the computer executes the steps of the posture detection method based on gait characteristics.
进一步地,所述计算机可读存储介质可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序等;存储数据区可存储根据区块链节点的使用所创建的数据等。Further, the computer-readable storage medium may mainly include a storage program area and a storage data area, where the storage program area may store an operating system, an application program required by at least one function, etc.; the storage data area may store Data created by the use of nodes, etc.
本申请还提供一种基于步态特征的体态检测设备,包括:存储器和至少一个处理器,所述存储器中存储有指令,所述存储器和所述至少一个处理器通过线路互连;所述至少一个处理器调用所述存储器中的所述指令,以使得所述智能化路径规划设备执行上述基于步态特征的体态检测方法中的步骤。The present application also provides a posture detection device based on gait features, including: a memory and at least one processor, the memory stores instructions, and the memory and the at least one processor are interconnected by wires; the at least one processor A processor calls the instructions in the memory, so that the intelligent path planning device executes the steps in the above-mentioned posture detection method based on gait characteristics.
本申请还提供一种计算机可读存储介质,该计算机可读存储介质可以为非易失性计算机可读存储介质,也可以为易失性计算机可读存储介质。计算机可读存储介质存储有计算机指令,当所述计算机指令在计算机上运行时,使得计算机执行如下步骤:The present application also provides a computer-readable storage medium. The computer-readable storage medium may be a non-volatile computer-readable storage medium or a volatile computer-readable storage medium. The computer-readable storage medium stores computer instructions, and when the computer instructions are executed on the computer, the computer executes the following steps:
获取目标对象的步态数据,并在所述步态数据中对所述目标对象的人体关键点进行检测,得到多个关键点特征,所述人体关键点为人体骨架的多个坐标点;Acquiring the gait data of the target object, and detecting the human body key points of the target object in the gait data to obtain multiple key point features, and the human body key points are multiple coordinate points of the human skeleton;
采用深度学习网络对所述多个关键点特征进行特征分类以及定位回归,得到人体信息,所述人体信息包括人体部位位置以及人体部位亲和向量,所述人体部位亲和向量用于连接两个不同的关键点特征;The deep learning network is used to perform feature classification and positioning regression on the multiple key point features to obtain human body information. The human body information includes the position of the human body part and the affinity vector of the human body part, and the human body part affinity vector is used to connect two Different key point characteristics;
基于所述多个关键点特征计算所述人体信息与预置标准人体信息之间的匹配参数,所述预置标准人体信息包括预置标准亲和向量,所述匹配参数用于指示目标对象的人体信息与预置标准人体信息之间的匹配度;The matching parameters between the human body information and preset standard human body information are calculated based on the multiple key point features, the preset standard human body information includes a preset standard affinity vector, and the matching parameter is used to indicate the target object’s The degree of matching between the body information and the preset standard body information;
根据所述匹配参数与标准阈值,确定所述目标对象的体态状况,所述标准阈值为异常体态状况的临界值。The posture condition of the target object is determined according to the matching parameter and a standard threshold value, where the standard threshold value is a critical value for an abnormal posture condition.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统,装 置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and conciseness of the description, the specific working process of the system, device and unit described above can refer to the corresponding process in the foregoing method embodiment, which will not be repeated here.
集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(read-only memory,ROM)、随机存取存储器(random access memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable storage medium. Based on this understanding, the technical solution of the present application essentially or the part that contributes to the existing technology or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium , Including several instructions to make a computer device (which can be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods in the various embodiments of the present application. The aforementioned storage media include: U disk, mobile hard disk, read-only memory (read-only memory, ROM), random access memory (random access memory, RAM), magnetic disks or optical disks and other media that can store program codes. .
本申请所指区块链是分布式数据存储、点对点传输、共识机制、加密算法等计算机技术的新型应用模式。区块链(Blockchain),本质上是一个去中心化的数据库,是一串使用密码学方法相关联产生的数据块,每一个数据块中包含了一批次网络交易的信息,用于验证其信息的有效性(防伪)和生成下一个区块。区块链可以包括区块链底层平台、平台产品服务层以及应用服务层等。The blockchain referred to in this application is a new application mode of computer technology such as distributed data storage, point-to-point transmission, consensus mechanism, and encryption algorithm. Blockchain, essentially a decentralized database, is a series of data blocks associated with cryptographic methods. Each data block contains a batch of network transaction information for verification. The validity of the information (anti-counterfeiting) and the generation of the next block. The blockchain can include the underlying platform of the blockchain, the platform product service layer, and the application service layer.
以上,以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围。Above, the above embodiments are only used to illustrate the technical solutions of the present application, not to limit them; although the present application has been described in detail with reference to the foregoing embodiments, a person of ordinary skill in the art should understand that it can still implement the foregoing various implementations. The technical solutions recorded in the examples are modified, or some of the technical features are equivalently replaced; these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims (20)

  1. 一种基于步态特征的体态检测方法,其中,包括:A posture detection method based on gait features, which includes:
    获取目标对象的步态数据,并在所述步态数据中对所述目标对象的人体关键点进行检测,得到多个关键点特征,所述人体关键点为人体骨架的多个坐标点;Acquiring the gait data of the target object, and detecting the human body key points of the target object in the gait data to obtain multiple key point features, and the human body key points are multiple coordinate points of the human skeleton;
    采用深度学习网络对所述多个关键点特征进行特征分类以及定位回归,得到人体信息,所述人体信息包括人体部位位置以及人体部位亲和向量,所述人体部位亲和向量用于连接两个不同的关键点特征;The deep learning network is used to perform feature classification and positioning regression on the multiple key point features to obtain human body information. The human body information includes the position of the human body part and the affinity vector of the human body part, and the human body part affinity vector is used to connect two Different key point characteristics;
    基于所述多个关键点特征计算所述人体信息与预置标准人体信息之间的匹配参数,所述预置标准人体信息包括预置标准亲和向量,所述匹配参数用于指示目标对象的人体信息与预置标准人体信息之间的匹配度;The matching parameters between the human body information and preset standard human body information are calculated based on the multiple key point features, the preset standard human body information includes a preset standard affinity vector, and the matching parameter is used to indicate the target object's The degree of matching between the body information and the preset standard body information;
    根据所述匹配参数与标准阈值,确定所述目标对象的体态状况,所述标准阈值为异常体态状况的临界值。The posture condition of the target object is determined according to the matching parameter and a standard threshold value, where the standard threshold value is a critical value for an abnormal posture condition.
  2. 根据权利要求1所述的基于步态特征的体态检测方法,其中,所述采用深度学习网络对所述多个关键点特征进行特征分类以及定位回归,得到人体信息,所述人体信息包括人体部位位置以及人体部位亲和向量,所述人体部位亲和向量用于连接两个不同的关键点特征包括:The method for body posture detection based on gait features according to claim 1, wherein the deep learning network is used to perform feature classification and positioning regression on the multiple key point features to obtain human body information, and the human body information includes body parts Position and human body part affinity vector, where the human body part affinity vector is used to connect two different key point features including:
    采用深度学习网络计算多个关键点特征与预置人体位置特征之间的置信度,对所述多个关键点特征进行分类,所述预置人体位置特征用于指示不同的人体部位位置,且每个预置人体位置特征对应一个人体部位位置;A deep learning network is used to calculate the confidence between multiple key point features and preset human body position features, and the multiple key point features are classified. The preset human body position features are used to indicate the positions of different human body parts, and Each preset human body position feature corresponds to a human body part position;
    当所述置信度大于第一阈值时,确定计算所述置信度的关键点特征对应的人体部位位置,所述关键点特征对应的人体部位位置为预置人体位置特征对应的人体部位位置;When the confidence level is greater than the first threshold, determining the human body part position corresponding to the key point feature for calculating the confidence level, and the human body part position corresponding to the key point feature is the human body part position corresponding to the preset human body position feature;
    计算两个不同关键点特征之间的亲和度,对所述两个不同关键点特征进行定位回归;Calculate the affinity between two different key point features, and perform positioning regression on the two different key point features;
    当所述亲和度大于第二阈值时,连接所述两个不同关键点特征,生成人体部位亲和向量,所述人体部位亲和向量用于连接所述两个不同的关键点特征;When the affinity is greater than the second threshold, connecting the two different key point features to generate a body part affinity vector, where the body part affinity vector is used to connect the two different key point features;
    将多个所述人体部位亲和向量连接,得到人体信息,所述人体信息包括所述人体部位位置以及所述人体部位亲和向量。A plurality of the human body part affinity vectors are connected to obtain human body information, and the human body information includes the position of the human body part and the human body part affinity vector.
  3. 根据权利要求2所述的基于步态特征的体态检测方法,其中,所述基于所述多个关键点特征计算所述人体信息与预置标准人体信息之间的匹配参数,所述预置标准人体信息包括预置标准亲和向量,所述匹配参数用于指示目标对象的人体信息与预置标准人体信息之间的匹配度包括:The method for body posture detection based on gait features according to claim 2, wherein the calculation of the matching parameters between the body information and preset standard body information based on the plurality of key point features, the preset standard The human body information includes a preset standard affinity vector, and the matching parameter is used to indicate the degree of matching between the body information of the target object and the preset standard human body information including:
    获取目标对象的人体部位亲和向量;Obtain the affinity vector of the human body part of the target object;
    获取与所述目标对象相匹配的预置标准人体信息,所述预置标准人体信息包括多个预置标准亲和向量;Acquiring preset standard human body information matching the target object, where the preset standard human body information includes a plurality of preset standard affinity vectors;
    利用相似度算法计算所述人体部位亲和向量与对应的预置标准亲和向量之间的置信度,得到匹配参数,所述人体部位亲和向量中的两个关键点特征与所述预置标准亲和向量中的预置人体位置特征的类别相同,所述匹配参数用于指示目标对象的人体信息与所述预置标准人体信息之间的匹配度。The similarity algorithm is used to calculate the confidence between the human body part affinity vector and the corresponding preset standard affinity vector to obtain matching parameters. The two key point features in the human body part affinity vector are compared with the preset The categories of the preset body position features in the standard affinity vector are the same, and the matching parameter is used to indicate the degree of matching between the body information of the target object and the preset standard body information.
  4. 根据权利要求1所述的基于步态特征的体态检测方法,其中,所述根据所述匹配参数与标准阈值,确定所述目标对象的体态状况,所述标准阈值为异常体态状况的临界值包括:The gait feature-based posture detection method according to claim 1, wherein the determining the posture condition of the target object according to the matching parameter and a standard threshold value, the standard threshold value being the critical value of the abnormal posture condition comprises :
    判断配置参数是否大于标准阈值,所述标准阈值为异常体态状况的临界值;Judging whether the configuration parameter is greater than a standard threshold, the standard threshold being the critical value of the abnormal posture;
    若所述配置参数大于所述标准阈值,则确定所述目标对象的体态状况为异常。If the configuration parameter is greater than the standard threshold, it is determined that the posture of the target object is abnormal.
  5. 根据权利要求1-4中任意一项所述的基于步态特征的体态检测方法,其中,所述获 取目标对象的步态数据,并在所述步态数据中对所述目标对象的人体关键点进行检测,得到多个关键点特征,所述人体关键点为人体骨架的多个坐标点包括:The gait feature-based posture detection method according to any one of claims 1 to 4, wherein the gait data of the target object is acquired, and the human body of the target object is critical in the gait data. Points are detected to obtain multiple key point features. The human body key points are multiple coordinate points of the human body skeleton including:
    获取目标对象的步态数据,并归一化处理所述步态数据,得到基础处理数据;Obtain gait data of the target object, and normalize the gait data to obtain basic processing data;
    在所述基础处理数据中,采用卷积神经网络检测所述目标对象的人体关键点,得到多个关键点特征,所述人体关键点为人体骨架的多个坐标点。In the basic processing data, a convolutional neural network is used to detect the human body key points of the target object to obtain multiple key point features, and the human body key points are multiple coordinate points of the human body skeleton.
  6. 根据权利要求5所述的基于步态特征的体态检测方法,其中,所述在所述基础处理数据中,采用卷积神经网络检测所述目标对象的人体关键点,得到多个关键点特征,所述人体关键点为人体骨架的多个坐标点包括:The method for body posture detection based on gait features according to claim 5, wherein, in the basic processing data, a convolutional neural network is used to detect the human body key points of the target object to obtain a plurality of key point features, The key points of the human body are multiple coordinate points of the skeleton of the human body including:
    采用卷积神经网络计算所述基础处理数据的卷积,得到第一处理数据;Using a convolutional neural network to calculate the convolution of the basic processing data to obtain the first processing data;
    对所述第一处理数据进行下采样处理,并提取所述第一处理数据中的多个采样向量,得到第二处理数据;Performing down-sampling processing on the first processed data, and extracting multiple sampling vectors in the first processed data to obtain second processed data;
    将所述第二处理数据进行非线性映射,得到步态特征图;Performing nonlinear mapping on the second processed data to obtain a gait feature map;
    在所述步态特征图中检测所述目标对象的人体关键点,得到多个关键点特征,所述人体关键点为人体骨架的多个坐标点。The human body key points of the target object are detected in the gait feature map to obtain multiple key point features, and the human body key points are multiple coordinate points of the human body skeleton.
  7. 根据权利要求1-6中任意一项所述的基于步态特征的体态检测方法,其中,在所述获取目标对象的步态数据,并在所述步态数据中对所述目标对象的人体关键点进行检测,得到多个关键点特征,所述人体关键点为人体骨架的多个坐标点之前,还包括:The gait feature-based posture detection method according to any one of claims 1-6, wherein the gait data of the target object is acquired, and the human body of the target object is measured in the gait data. Key points are detected to obtain multiple key point features, where the key points of the human body are before multiple coordinate points of the human skeleton, and further include:
    计算预置标准人体信息,所述预置标准人体信息包括预置标准亲和向量。Calculate preset standard human body information, where the preset standard human body information includes a preset standard affinity vector.
  8. 一种基于步态特征的体态检测设备,包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机可读指令,所述处理器执行所述计算机可读指令时实现如下步骤:A posture detection device based on gait features, including a memory, a processor, and computer-readable instructions stored on the memory and capable of running on the processor. When the processor executes the computer-readable instructions To achieve the following steps:
    获取目标对象的步态数据,并在所述步态数据中对所述目标对象的人体关键点进行检测,得到多个关键点特征,所述人体关键点为人体骨架的多个坐标点;Acquiring the gait data of the target object, and detecting the human body key points of the target object in the gait data to obtain multiple key point features, and the human body key points are multiple coordinate points of the human skeleton;
    采用深度学习网络对所述多个关键点特征进行特征分类以及定位回归,得到人体信息,所述人体信息包括人体部位位置以及人体部位亲和向量,所述人体部位亲和向量用于连接两个不同的关键点特征;The deep learning network is used to perform feature classification and positioning regression on the multiple key point features to obtain human body information. The human body information includes the position of the human body part and the affinity vector of the human body part, and the human body part affinity vector is used to connect two Different key point characteristics;
    基于所述多个关键点特征计算所述人体信息与预置标准人体信息之间的匹配参数,所述预置标准人体信息包括预置标准亲和向量,所述匹配参数用于指示目标对象的人体信息与预置标准人体信息之间的匹配度;The matching parameters between the human body information and preset standard human body information are calculated based on the multiple key point features, the preset standard human body information includes a preset standard affinity vector, and the matching parameter is used to indicate the target object's The degree of matching between the body information and the preset standard body information;
    根据所述匹配参数与标准阈值,确定所述目标对象的体态状况,所述标准阈值为异常体态状况的临界值。The posture condition of the target object is determined according to the matching parameter and a standard threshold value, where the standard threshold value is a critical value for an abnormal posture condition.
  9. 根据权利要求8所述的基于步态特征的体态检测设备,所述处理器执行所述计算机程序时还实现以下步骤:According to the gait feature-based posture detection device according to claim 8, the processor further implements the following steps when executing the computer program:
    采用深度学习网络计算多个关键点特征与预置人体位置特征之间的置信度,对所述多个关键点特征进行分类,所述预置人体位置特征用于指示不同的人体部位位置,且每个预置人体位置特征对应一个人体部位位置;A deep learning network is used to calculate the confidence between multiple key point features and preset human body position features, and the multiple key point features are classified. The preset human body position features are used to indicate the positions of different human body parts, and Each preset human body position feature corresponds to a human body part position;
    当所述置信度大于第一阈值时,确定计算所述置信度的关键点特征对应的人体部位位置,所述关键点特征对应的人体部位位置为预置人体位置特征对应的人体部位位置;When the confidence level is greater than the first threshold, determining the human body part position corresponding to the key point feature for calculating the confidence level, and the human body part position corresponding to the key point feature is the human body part position corresponding to the preset human body position feature;
    计算两个不同关键点特征之间的亲和度,对所述两个不同关键点特征进行定位回归;Calculate the affinity between two different key point features, and perform positioning regression on the two different key point features;
    当所述亲和度大于第二阈值时,连接所述两个不同关键点特征,生成人体部位亲和向量,所述人体部位亲和向量用于连接所述两个不同的关键点特征;When the affinity is greater than the second threshold, connecting the two different key point features to generate a body part affinity vector, where the body part affinity vector is used to connect the two different key point features;
    将多个所述人体部位亲和向量连接,得到人体信息,所述人体信息包括所述人体部位位置以及所述人体部位亲和向量。A plurality of the human body part affinity vectors are connected to obtain human body information, and the human body information includes the position of the human body part and the human body part affinity vector.
  10. 根据权利要求9所述的基于步态特征的体态检测设备,所述处理器执行所述计算机程序时还实现以下步骤:According to the gait feature-based posture detection device according to claim 9, the processor further implements the following steps when executing the computer program:
    获取目标对象的人体部位亲和向量;Obtain the affinity vector of the human body part of the target object;
    获取与所述目标对象相匹配的预置标准人体信息,所述预置标准人体信息包括多个预置标准亲和向量;Acquiring preset standard human body information matching the target object, where the preset standard human body information includes a plurality of preset standard affinity vectors;
    利用相似度算法计算所述人体部位亲和向量与对应的预置标准亲和向量之间的置信度,得到匹配参数,所述人体部位亲和向量中的两个关键点特征与所述预置标准亲和向量中的预置人体位置特征的类别相同,所述匹配参数用于指示目标对象的人体信息与所述预置标准人体信息之间的匹配度。The similarity algorithm is used to calculate the confidence between the human body part affinity vector and the corresponding preset standard affinity vector to obtain matching parameters. The two key point features in the human body part affinity vector are compared with the preset The categories of the preset body position features in the standard affinity vector are the same, and the matching parameter is used to indicate the degree of matching between the body information of the target object and the preset standard body information.
  11. 根据权利要求8所述的基于步态特征的体态检测设备,所述处理器执行所述计算机程序时还实现以下步骤:According to the gait feature-based posture detection device according to claim 8, the processor further implements the following steps when executing the computer program:
    判断配置参数是否大于标准阈值,所述标准阈值为异常体态状况的临界值;Judging whether the configuration parameter is greater than a standard threshold, the standard threshold being the critical value of the abnormal posture;
    若所述配置参数大于所述标准阈值,则确定所述目标对象的体态状况为异常。If the configuration parameter is greater than the standard threshold, it is determined that the posture of the target object is abnormal.
  12. 根据权利要求8所述的基于步态特征的体态检测设备,所述处理器执行所述计算机程序时还实现以下步骤:According to the gait feature-based posture detection device according to claim 8, the processor further implements the following steps when executing the computer program:
    获取目标对象的步态数据,并归一化处理所述步态数据,得到基础处理数据;Obtain gait data of the target object, and normalize the gait data to obtain basic processing data;
    在所述基础处理数据中,采用卷积神经网络检测所述目标对象的人体关键点,得到多个关键点特征,所述人体关键点为人体骨架的多个坐标点。In the basic processing data, a convolutional neural network is used to detect the human body key points of the target object to obtain multiple key point features, and the human body key points are multiple coordinate points of the human body skeleton.
  13. 根据权利要求12所述的基于步态特征的体态检测设备,所述处理器执行所述计算机程序时还实现以下步骤:According to the gait feature-based posture detection device according to claim 12, the processor further implements the following steps when executing the computer program:
    采用卷积神经网络计算所述基础处理数据的卷积,得到第一处理数据;Using a convolutional neural network to calculate the convolution of the basic processing data to obtain the first processing data;
    对所述第一处理数据进行下采样处理,并提取所述第一处理数据中的多个采样向量,得到第二处理数据;Performing down-sampling processing on the first processed data, and extracting multiple sampling vectors in the first processed data to obtain second processed data;
    将所述第二处理数据进行非线性映射,得到步态特征图;Performing nonlinear mapping on the second processed data to obtain a gait feature map;
    在所述步态特征图中检测所述目标对象的人体关键点,得到多个关键点特征,所述人体关键点为人体骨架的多个坐标点。The human body key points of the target object are detected in the gait feature map to obtain multiple key point features, and the human body key points are multiple coordinate points of the human body skeleton.
  14. 根据权利要求8-13中任意一项所述的基于步态特征的体态检测设备,所述处理器执行所述计算机程序时还实现以下步骤:According to the gait feature-based posture detection device according to any one of claims 8-13, the processor further implements the following steps when executing the computer program:
    计算预置标准人体信息,所述预置标准人体信息包括预置标准亲和向量。Calculate preset standard human body information, where the preset standard human body information includes a preset standard affinity vector.
  15. 一种计算机可读存储介质,所述计算机可读存储介质中存储计算机指令,当所述计算机指令在计算机上运行时,使得计算机执行如下步骤:A computer-readable storage medium in which computer instructions are stored, and when the computer instructions are executed on a computer, the computer executes the following steps:
    获取目标对象的步态数据,并在所述步态数据中对所述目标对象的人体关键点进行检测,得到多个关键点特征,所述人体关键点为人体骨架的多个坐标点;Acquiring the gait data of the target object, and detecting the human body key points of the target object in the gait data to obtain multiple key point features, and the human body key points are multiple coordinate points of the human skeleton;
    采用深度学习网络对所述多个关键点特征进行特征分类以及定位回归,得到人体信息,所述人体信息包括人体部位位置以及人体部位亲和向量,所述人体部位亲和向量用于连接两个不同的关键点特征;The deep learning network is used to perform feature classification and positioning regression on the multiple key point features to obtain human body information. The human body information includes the position of the human body part and the affinity vector of the human body part, and the human body part affinity vector is used to connect two Different key point characteristics;
    基于所述多个关键点特征计算所述人体信息与预置标准人体信息之间的匹配参数,所述预置标准人体信息包括预置标准亲和向量,所述匹配参数用于指示目标对象的人体信息与预置标准人体信息之间的匹配度;The matching parameters between the human body information and preset standard human body information are calculated based on the multiple key point features, the preset standard human body information includes a preset standard affinity vector, and the matching parameter is used to indicate the target object's The degree of matching between the body information and the preset standard body information;
    根据所述匹配参数与标准阈值,确定所述目标对象的体态状况,所述标准阈值为异常体态状况的临界值。The posture condition of the target object is determined according to the matching parameter and a standard threshold value, where the standard threshold value is a critical value for an abnormal posture condition.
  16. 根据权利要求15所述的计算机可读存储介质,当所述计算机指令在计算机上运行时,使得计算机还执行以下步骤:The computer-readable storage medium according to claim 15, when the computer instructions are executed on the computer, the computer is caused to further perform the following steps:
    采用深度学习网络计算多个关键点特征与预置人体位置特征之间的置信度,对所述多个关键点特征进行分类,所述预置人体位置特征用于指示不同的人体部位位置,且每个预置人体位置特征对应一个人体部位位置;A deep learning network is used to calculate the confidence between multiple key point features and preset human body position features, and the multiple key point features are classified. The preset human body position features are used to indicate the positions of different human body parts, and Each preset human body position feature corresponds to a human body part position;
    当所述置信度大于第一阈值时,确定计算所述置信度的关键点特征对应的人体部位位置,所述关键点特征对应的人体部位位置为预置人体位置特征对应的人体部位位置;When the confidence level is greater than the first threshold, determining the human body part position corresponding to the key point feature for calculating the confidence level, and the human body part position corresponding to the key point feature is the human body part position corresponding to the preset human body position feature;
    计算两个不同关键点特征之间的亲和度,对所述两个不同关键点特征进行定位回归;Calculate the affinity between two different key point features, and perform positioning regression on the two different key point features;
    当所述亲和度大于第二阈值时,连接所述两个不同关键点特征,生成人体部位亲和向量,所述人体部位亲和向量用于连接所述两个不同的关键点特征;When the affinity is greater than the second threshold, connecting the two different key point features to generate a body part affinity vector, where the body part affinity vector is used to connect the two different key point features;
    将多个所述人体部位亲和向量连接,得到人体信息,所述人体信息包括所述人体部位位置以及所述人体部位亲和向量。A plurality of the human body part affinity vectors are connected to obtain human body information, and the human body information includes the position of the human body part and the human body part affinity vector.
  17. 根据权利要求16所述的计算机可读存储介质,当所述计算机指令在计算机上运行时,使得计算机还执行以下步骤:The computer-readable storage medium according to claim 16, when the computer instructions are executed on the computer, the computer is caused to further perform the following steps:
    获取目标对象的人体部位亲和向量;Obtain the affinity vector of the human body part of the target object;
    获取与所述目标对象相匹配的预置标准人体信息,所述预置标准人体信息包括多个预置标准亲和向量;Acquiring preset standard human body information matching the target object, where the preset standard human body information includes a plurality of preset standard affinity vectors;
    利用相似度算法计算所述人体部位亲和向量与对应的预置标准亲和向量之间的置信度,得到匹配参数,所述人体部位亲和向量中的两个关键点特征与所述预置标准亲和向量中的预置人体位置特征的类别相同,所述匹配参数用于指示目标对象的人体信息与所述预置标准人体信息之间的匹配度。The similarity algorithm is used to calculate the confidence between the human body part affinity vector and the corresponding preset standard affinity vector to obtain matching parameters. The two key point features in the human body part affinity vector are compared with the preset The categories of the preset body position features in the standard affinity vector are the same, and the matching parameter is used to indicate the degree of matching between the body information of the target object and the preset standard body information.
  18. 根据权利要求15所述的计算机可读存储介质,当所述计算机指令在计算机上运行时,使得计算机还执行以下步骤:The computer-readable storage medium according to claim 15, when the computer instructions are executed on the computer, the computer is caused to further perform the following steps:
    判断配置参数是否大于标准阈值,所述标准阈值为异常体态状况的临界值;Judging whether the configuration parameter is greater than a standard threshold, the standard threshold being the critical value of the abnormal posture;
    若所述配置参数大于所述标准阈值,则确定所述目标对象的体态状况为异常。If the configuration parameter is greater than the standard threshold, it is determined that the posture of the target object is abnormal.
  19. 根据权利要求15所述的计算机可读存储介质,当所述计算机指令在计算机上运行时,使得计算机还执行以下步骤:The computer-readable storage medium according to claim 15, when the computer instructions are executed on the computer, the computer is caused to further perform the following steps:
    获取目标对象的步态数据,并归一化处理所述步态数据,得到基础处理数据;Obtain gait data of the target object, and normalize the gait data to obtain basic processing data;
    在所述基础处理数据中,采用卷积神经网络检测所述目标对象的人体关键点,得到多个关键点特征,所述人体关键点为人体骨架的多个坐标点。In the basic processing data, a convolutional neural network is used to detect the human body key points of the target object to obtain multiple key point features, and the human body key points are multiple coordinate points of the human body skeleton.
  20. 一种基于步态特征的体态检测装置,其中,所述基于步态特征的体态检测包括:A posture detection device based on gait features, wherein the posture detection based on gait features includes:
    检测模块,用于获取目标对象的步态数据,并在所述步态数据中对所述目标对象的人体关键点进行检测,得到多个关键点特征,所述人体关键点为人体骨架的多个坐标点;The detection module is used to obtain the gait data of the target object, and detect the key points of the human body of the target object in the gait data to obtain multiple key point features. The key points of the human body are the multiple of the human skeleton. Coordinate points;
    分类及回归模块,用于基于深度学习网络对所述多个关键点特征进行特征分类以及定位回归,得到人体信息,所述人体信息包括人体部位位置以及人体部位亲和向量,所述人体部位亲和向量用于连接两个不同的关键点特征;The classification and regression module is used for feature classification and positioning regression of the multiple key point features based on the deep learning network to obtain human body information. The human body information includes the position of the human body part and the affinity vector of the human body part. The sum vector is used to connect two different key point features;
    计算模块,用于基于所述多个关键点特征计算所述人体信息与预置标准人体信息之间的匹配参数,所述预置标准人体信息包括预置标准亲和向量,所述匹配参数用于指示目标对象的人体信息与预置标准人体信息之间的匹配度;The calculation module is configured to calculate matching parameters between the human body information and preset standard human body information based on the multiple key point features, where the preset standard human body information includes a preset standard affinity vector, and the matching parameters are used To indicate the degree of matching between the human body information of the target object and the preset standard human body information;
    确定模块,用于根据所述匹配参数与标准阈值,确定所述目标对象的体态状况,所述标准阈值为异常体态状况的临界值。The determining module is configured to determine the posture condition of the target object according to the matching parameter and a standard threshold value, where the standard threshold value is a critical value for an abnormal posture condition.
PCT/CN2020/103198 2020-04-28 2020-07-21 Posture detection method, apparatus and device based on gait features, and storage medium WO2021217906A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010350100.2A CN111639533A (en) 2020-04-28 2020-04-28 Gait feature-based posture detection method, device, equipment and storage medium
CN202010350100.2 2020-04-28

Publications (1)

Publication Number Publication Date
WO2021217906A1 true WO2021217906A1 (en) 2021-11-04

Family

ID=72331875

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/103198 WO2021217906A1 (en) 2020-04-28 2020-07-21 Posture detection method, apparatus and device based on gait features, and storage medium

Country Status (2)

Country Link
CN (1) CN111639533A (en)
WO (1) WO2021217906A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114253281A (en) * 2021-11-09 2022-03-29 深圳鹏行智能研究有限公司 Four-legged robot motion control method, related device and storage medium

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110880371A (en) * 2019-11-21 2020-03-13 北京健康有益科技有限公司 Human body posture testing and health monitoring management system
CN113642506A (en) * 2021-08-26 2021-11-12 北京复数健康科技有限公司 Method and system for image annotation based on data matching

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040228503A1 (en) * 2003-05-15 2004-11-18 Microsoft Corporation Video-based gait recognition
US20170243058A1 (en) * 2014-10-28 2017-08-24 Watrix Technology Gait recognition method based on deep learning
CN108875708A (en) * 2018-07-18 2018-11-23 广东工业大学 Behavior analysis method, device, equipment, system and storage medium based on video
CN109711271A (en) * 2018-12-04 2019-05-03 广东智媒云图科技股份有限公司 A kind of action determination method and system based on joint connecting line
CN109902558A (en) * 2019-01-15 2019-06-18 安徽理工大学 A kind of human health deep learning prediction technique based on CNN-LSTM
CN110633608A (en) * 2019-03-21 2019-12-31 广州中科凯泽科技有限公司 Human body limb similarity evaluation method of posture image

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040228503A1 (en) * 2003-05-15 2004-11-18 Microsoft Corporation Video-based gait recognition
US20170243058A1 (en) * 2014-10-28 2017-08-24 Watrix Technology Gait recognition method based on deep learning
CN108875708A (en) * 2018-07-18 2018-11-23 广东工业大学 Behavior analysis method, device, equipment, system and storage medium based on video
CN109711271A (en) * 2018-12-04 2019-05-03 广东智媒云图科技股份有限公司 A kind of action determination method and system based on joint connecting line
CN109902558A (en) * 2019-01-15 2019-06-18 安徽理工大学 A kind of human health deep learning prediction technique based on CNN-LSTM
CN110633608A (en) * 2019-03-21 2019-12-31 广州中科凯泽科技有限公司 Human body limb similarity evaluation method of posture image

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114253281A (en) * 2021-11-09 2022-03-29 深圳鹏行智能研究有限公司 Four-legged robot motion control method, related device and storage medium

Also Published As

Publication number Publication date
CN111639533A (en) 2020-09-08

Similar Documents

Publication Publication Date Title
Yadav et al. Real-time Yoga recognition using deep learning
WO2021217906A1 (en) Posture detection method, apparatus and device based on gait features, and storage medium
Maghari COVID-19 Detection in X-ray Images using CNN Algorithm
Dabowsa et al. A hybrid intelligent system for skin disease diagnosis
US20100158334A1 (en) Non-invasive joint evaluation
CN111274998A (en) Parkinson's disease finger knocking action identification method and system, storage medium and terminal
WO2021068781A1 (en) Fatigue state identification method, apparatus and device
CN110738650B (en) Infectious disease infection identification method, terminal device and storage medium
CN111192660B (en) Image report analysis method, device and computer storage medium
Barbosa et al. paraFaceTest: an ensemble of regression tree-based facial features extraction for efficient facial paralysis classification
EP2892007A2 (en) Static posture based person identification
CN116507276A (en) Method and apparatus for machine learning to analyze musculoskeletal rehabilitation from images
CN113782184A (en) Cerebral apoplexy auxiliary evaluation system based on facial key point and feature pre-learning
Williams et al. Assessment of physical rehabilitation movements through dimensionality reduction and statistical modeling
CN110575178B (en) Diagnosis and monitoring integrated medical system for judging motion state and judging method thereof
Rakshit et al. A type-2 fuzzy classifier for gesture induced pathological disorder recognition
Jin et al. Estimating human weight from a single image
CN110414562B (en) X-ray film classification method, device, terminal and storage medium
CN116543455A (en) Method, equipment and medium for establishing parkinsonism gait damage assessment model and using same
TWI688371B (en) Intelligent device for atrial fibrillation signal pattern acquisition and auxiliary diagnosis
Parthiban et al. Internet of Things and cloud enabled hybrid feature extraction with adaptive neuro fuzzy inference system for diabetic retinopathy diagnosis
CN110755084B (en) Motion function assessment method and device based on active-passive and staged actions
Gaber et al. SVM classification of facial functions based on facial landmarks and animation Units
Phinyomark et al. Analysis of big data in running biomechanics: application of multivariate analysis and machine learning methods
Yin et al. Stroke risk prediction: Comparing different sampling algorithms

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20933412

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 17.02.2023)

122 Ep: pct application non-entry in european phase

Ref document number: 20933412

Country of ref document: EP

Kind code of ref document: A1