Gait recognition system guided by human posture information
By combining the correlation between posture and contour features, a gait recognition system is constructed using a hybrid attention mechanism and a multi-scale temporal attention module. This solves the problem of the influence of covariates such as clothing and backpack on gait recognition, and improves the robustness and accuracy of recognition.
Patent Information
- Application Number
- CN202311850221.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-29
- Publication Date
- 2026-11-24
- Estimated Expiration
- 2043-12-29
Smart Images

Figure CN117809372B_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of gait recognition and relates to a gait recognition system guided by human posture information. Background Technology
[0002] Biometric technology has become a core component of identity verification and security, utilizing inherent human physiological or behavioral characteristics to confirm identity. From fingerprints to iris scans, from facial recognition to voice verification, various technologies are constantly evolving and being applied to daily life. Among these technologies, gait recognition is gradually emerging as a unique form of biometrics, identifying and confirming identity by analyzing an individual's walking patterns—stride length, speed, balance, and overall body movement patterns. Unlike other biometric methods that require direct contact or high-quality images, gait recognition can be performed from a distance and in dynamic situations, without the individual's direct involvement or awareness of being identified. This makes it highly promising for surveillance, health monitoring, and various other applications. With technological advancements, such as improved sensor accuracy and algorithm optimization, gait recognition is rapidly developing, becoming an emerging force in the field of biometrics. The core of gait recognition technology lies in accurately capturing and analyzing the stability characteristics of an individual's gait, while also effectively handling the complexity introduced by covariates. These covariates may include physiological differences between individuals, gait variations when wearing different clothing, fluctuations in walking speed, and the potential impact of various complex environmental factors on gait analysis. Effectively processing information from these accompanying variables requires a well-structured framework to meticulously analyze the complex, multidimensional nature of gait data and the coherence of its time series, while also considering factors such as posture changes and parallax caused by observation from different angles. These technical challenges in constructing an efficient and stable gait recognition system highlight the complexity of this project and make it a challenging research topic for biometrics research.
[0003] Gait recognition research can be divided into model-based and model-free methods. Model-based gait recognition methods consider the movement trajectories of the human torso and limbs, modeling the human body structure based on posture changes, refining or extracting the human skeleton, and using the parameter information of the torso, limbs, legs, and the angles between each limb obtained from the model as gait features for recognition. This method has attracted attention because it is not sensitive to changes in viewpoint and can effectively reflect the changes in the movement trajectory of different parts of the body during walking or movement, avoiding the occlusion problem in model-free methods. These methods require complex modeling processes, have high computational resource requirements, and may require participants to wear special equipment in practical applications, thus reducing their practicality. Model-free methods are simple to implement, have low computational costs, and have good adaptability to different viewpoints and distances, but are easily affected by external factors, especially in densely populated and complex environments where they may not be robust enough. To improve the accuracy and robustness of gait recognition technology, many public datasets have been established for these covariates, and extensive exploration has been carried out on this basis. In studies of all covariates in gait recognition, addressing the influence of clothing and backpacks is particularly challenging. Firstly, gait data is acquired through image sequences captured by cameras, which are inherently susceptible to environmental influences. For example, clothing colors similar to the surrounding environment, lighting conditions, and shadows can all cause errors in human detection. Secondly, in feature extraction from image sequences, occlusion caused by clothing makes it difficult to capture facial features, and the weight of a backpack can shift a person's center of gravity, further affecting gait. These factors significantly complicate recognition. Therefore, researching new algorithms and technologies to address these challenges and improve the robustness and accuracy of gait recognition technology when dealing with covariates such as clothing and backpacks remains a daunting task. Summary of the Invention
[0004] In view of this, the purpose of this invention is to provide a gait recognition system guided by human posture information, to study the potential correlation between posture and contour, in order to obtain a more powerful feature representation of gait, and to provide some ideas for improving the accuracy of gait recognition from the perspective of mining the influence of the relationship between covariates and non-covariates.
[0005] To achieve the above objectives, the present invention provides the following technical solution:
[0006] A gait recognition system guided by human posture information includes:
[0007] Gait contour image sequence acquisition module: used to acquire sequential frames from video and perform preprocessing to obtain a gait contour image sequence;
[0008] Human skeleton sequence acquisition module: used to extract the human skeleton and then perform corresponding cropping operations with the gait contour image;
[0009] Hybrid Attention Mechanism Spatial Feature Extraction (CBAM-SFE) module: used to extract features from gait contour image sequences and obtain gait spatial features;
[0010] Multi-Scale Temporal Attention (MS-TA) module: used to model features at different time scales in gait contour image sequences;
[0011] Spatiotemporal feature stitching module: used to stitch temporal features and spatial features together along the channel dimension to form gait spatiotemporal features;
[0012] Pose and Contour Feature Fusion (PSFF) module: used to process human skeleton sequences through ST-GCN to obtain pose features;
[0013] Feature concatenation module: used to concatenate the obtained gait spatiotemporal features with posture features to obtain a feature vector that integrates human posture information and gait contour sequence;
[0014] Training module: Trains the gait recognition model using a triplet loss function;
[0015] Gait recognition module: Uses a trained gait recognition model to identify gait in videos.
[0016] Furthermore, the gait contour image sequence acquisition module uses background subtraction to separate the person from the video recording of the individual walking, and then converts it into a binary image through thresholding. Morphological processing is then performed to finally extract a clear person contour; the acquired gait contour image sequence G = {g i |i=1,2,...,n},g i G represents the gait profile of the i-th frame, where n represents the number of frames in the gait sequence, and g represents the profile of each frame. i Its size is H×W.
[0017] Furthermore, the human skeleton sequence acquisition module extracts the human skeleton sequence S using OpenPose.
[0018] Furthermore, the spatial feature extraction module CBAM-SFE of the hybrid attention mechanism has three layers; each layer includes a pooling layer and uses residual connections; for each convolutional layer, the original input f row First, the model enters two convolutional blocks with residual structures. Then, LeakyReLU(·) is used to enhance the model's nonlinearity. Next, a CBAM attention mechanism module that combines spatial and channel attention assigns different weights to each channel, ultimately yielding the spatial feature F with channel attention.S :
[0019]
[0020] Furthermore, the attention mechanism module CBAM includes a channel attention module and a spatial attention module; the input feature map is Channel attention The processing procedure is defined as follows:
[0021]
[0022] The channel attention module is used to compress the spatial dimension of the input features, and includes three steps: First, based on the width and height respectively, two different one-dimensional vector features are obtained through global max pooling and global average pooling, i.e. and Then, these vector features are passed through a shared multilayer perceptron (MLP), and their outputs are added element-wise. Finally, the sigmoid function is used to generate the final channel attention feature map. The function of the channel attention module is represented as follows:
[0023]
[0024] Where F is the input feature, σ is the activation function of CBAM; spatial attention The process is defined as:
[0025]
[0026] The spatial attention module's processing includes three steps: First, it uses channel-level global max pooling and global average pooling to obtain two 2D features, namely... and Secondly, the two obtained features are concatenated according to the channel dimension, and then merged into one channel through convolution operation; finally, the sigmoid function is used to generate the final spatial attention feature; the role of the spatial attention module is represented as follows:
[0027]
[0028] f 7×7 This indicates a convolution operation with a kernel size of 7×7.
[0029] Furthermore, the Multi-Scale Temporal Attention (MS-TA) module employs a multi-head attention mechanism to assign weights to features at different time scales and time positions; the multi-head attention mechanism focuses on global information to refine frame-level features f. I Specifically, it includes the following steps: First, f I The copying process is transformed into three 1D vectors of length d in three linear layers. and To extract multi-head subspace features; thus, the attention z of the i-th head i The calculation is as follows:
[0030]
[0031] Then, the attention from each head is cascaded to form the attention z, as shown in the following formula:
[0032] z = cat(z) i )
[0033] Then, z is passed through a linear layer to restore its original size, and then compared with the original feature f. I Weighting yields attention-related features. As shown in the following formula:
[0034]
[0035] Divide the sequence into There are 1 time partitions, where L is the length of the time partition; then, for each partition feature... Multihead(·) attention mechanism is used to obtain the features in the partition time. Where n = {1, 2, ..., K}, and these features are then concatenated using cat(·) to obtain features with short-term temporal attention. As shown in the following formula:
[0036]
[0037] Then, the features of the entire gait sequence are analyzed. Employing a multi-head attention mechanism to obtain features with temporal global attention As shown in the following formula:
[0038]
[0039] Then all features that have passed through the attention mechanism and Cascading yields features F with attention across multiple time scales. T As shown in the following formula:
[0040]
[0041] Furthermore, the pose and contour feature fusion (PSFF) module employs ST-GCN to perform multi-scale spatiotemporal convolution on the skeleton sequence extracted from OpenPose, focusing on the collaborative patterns between different bone points to obtain the human pose representation of gait, F. SK ; For F ST Flatten by frame dimension, i.e., from Rn×C×H×W Space conversion to R n×C×D To adapt to attitude characteristics F SK The dimension; then F SK With F ST The final gait feature V is obtained by cascading. SK-ST ;
[0042] The number of keypoints output by OpenPose is N. SK It employs a 6-layer ST-GCN, with each layer containing a GCN and a TCN, used to process the spatial and temporal features of the skeletal data, respectively.
[0043] Dropout is applied after all layers of ST-GCN to prevent overfitting. The number of keypoints remains unchanged after processing, resulting in the final pose feature F. SK .
[0044] Furthermore, the feature cascade module will F ST After flattening and F SK By cascading along the channel dimension, a feature vector V is obtained that fuses human posture information and gait contour sequence. SK-ST As shown in the following formula:
[0045] V SK-ST =cat(flatten(F) ST ),F SK ).
[0046] Furthermore, the triplet loss function is as follows:
[0047]
[0048] Where D ap and D an These represent the distances between anchor samples a that form positive and negative instances, respectively; m is a manually set offset; w p and w n This represents the weights of positive and negative instances.
[0049] The beneficial effects of this invention are as follows: By fusing human posture and gait contour sequences, this invention guides the network model to process covariate information in the contour map using posture information, and models the stable and variable features in gait data, resulting in higher recognition robustness and stronger adaptability; This invention also provides some ideas for improving gait recognition accuracy from the perspective of mining the influence of the relationship between covariates and non-covariates by studying the potential correlation between posture and contour to obtain a more powerful feature representation of gait.
[0050] Other advantages, objectives, and features of the invention will be set forth in part in the description which follows, and in part will be apparent to those skilled in the art from the following examination, or may be learned from practice of the invention. The objectives and other advantages of the invention can be realized and obtained through the following description. Attached Figure Description
[0051] To make the objectives, technical solutions, and advantages of the present invention clearer, the preferred embodiments of the present invention will be described in detail below with reference to the accompanying drawings, wherein:
[0052] Figure 1 Architecture diagram of a gait recognition system guided by human posture information;
[0053] Figure 2 Here is a structural diagram of CBAM-SFE;
[0054] Figure 3 Here is a diagram of the CBAM structure;
[0055] Figure 4 MS-TA architecture diagram;
[0056] Figure 5 A framework diagram of multi-head attention mechanisms;
[0057] Figure 6 This is a diagram of a single-layer ST-GCN structure. Detailed Implementation
[0058] The following specific examples illustrate the implementation of the present invention. Those skilled in the art can easily understand other advantages and effects of the present invention from the content disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and various details in this specification can be modified or changed based on different viewpoints and applications without departing from the spirit of the present invention. It should be noted that the illustrations provided in the following embodiments are only schematic representations of the basic concept of the present invention. Unless otherwise specified, the following embodiments and features can be combined with each other.
[0059] The accompanying drawings are for illustrative purposes only and are schematic diagrams, not actual pictures. They should not be construed as limiting the invention. To better illustrate the embodiments of the invention, some parts in the drawings may be omitted, enlarged, or reduced, and do not represent the actual product dimensions. It is understandable to those skilled in the art that some well-known structures and their descriptions may be omitted in the drawings.
[0060] In the accompanying drawings of the embodiments of the present invention, the same or similar reference numerals correspond to the same or similar components. In the description of the present invention, it should be understood that if terms such as "upper," "lower," "left," "right," "front," and "rear" indicate the orientation or positional relationship based on the orientation or positional relationship shown in the drawings, they are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, the terms used to describe positional relationships in the drawings are only for illustrative purposes and should not be construed as limiting the present invention. For those skilled in the art, the specific meaning of the above terms can be understood according to the specific circumstances.
[0061] This invention provides a gait recognition system guided by human posture information, wherein the gait contour image sequence G = {g i The |i=1,2,...,n} contains rich information about human appearance, among which g i G represents the gait profile of the i-th frame, where n represents the number of frames in the gait sequence, and g represents the profile of each frame. i The size is H×W. It also includes a large number of covariates and non-covariates, which may be explicit or latent. This invention uses a gait contour image sequence G and a human posture skeleton S={s i The sequence |i=1,2,...,n} serves as the input to the entire framework. The gait contour map sequence is a binary image sequence, generated by recording video of an individual walking, separating the person from the video frames using background subtraction, transforming it into a binary image through thresholding, performing morphological processing, and finally extracting a clear human contour. The human skeleton sequence S is extracted using OpenPose and then cropped accordingly with the contour map to ensure consistency in pixel spatial positions. In processing the contour sequence, the contour map sequence is first processed through a spatial feature extraction module with a hybrid attention mechanism (CBAM-SFE) to obtain more discriminative spatial features F of the gait. S ∈R n×C×H×W By combining a multi-scale temporal attention (MS-TA) module to model features F at different time scales. T ∈R n×C×H×W Then the time feature F T Spatial characteristics F S The spatiotemporal features F of gait are formed by piecing them together according to the channel dimension. ST The Pose and Contour Feature Fusion (PSFF) module processes the human skeleton sequence S through ST-GCN to obtain pose features F. SK ∈R C×J×n Where C is the number of channels and J is the number of skeleton points. Then, the obtained feature F... SK With F STCascading yields a feature vector V that integrates human posture information and gait contour sequences. SK-ST This vector represents the non-covariates in human pose information that the network model can learn through the triplet loss function, thereby guiding the network to capture changing covariates and extract more stable non-covariates. The overall network architecture is as follows: Figure 1 As shown.
[0062] The application of attention mechanisms in convolution and pooling operations can better capture fine-grained information about gait features, thus improving model performance. By helping the network focus on key features or regions, attention mechanisms can more effectively extract useful information from gait features. Compared to traditional machine learning methods, this approach can better handle complex gait feature extraction tasks. This invention adds attention mechanisms to convolutional neural networks to better extract gait features. The overall architecture of the spatial feature extraction (CBAM-SFE) module of this invention is as follows: Figure 2 As shown, CBAM-SFE extracts spatially discriminative feature representations from gait contour sequences through a hybrid attention mechanism and adds residual links between layers to make the network performance more robust. CBAM is a module that combines spatial and channel attention mechanisms, and its specific structure is as follows: Figure 3 As shown.
[0063] Suppose an input feature map is So channel attention The processing procedure is defined by equation (2-1).
[0064]
[0065] The process of compressing the spatial dimension of input features by using a multi-channel attention module involves three steps: First, based on width and height, two different one-dimensional vector features are obtained through global max pooling and global average pooling, respectively. and Then, these vector features are passed through a shared multilayer perceptron (MLP), and their outputs are added element-wise; finally, the sigmoid function is used to generate the final channel attention feature map. The function of the channel attention module in this part can be expressed as Equation (2-2).
[0066]
[0067] Where F is the input feature, and σ is the activation function of CBAM. Spatial attention. The process is defined by equation (2-2).
[0068]
[0069] The spatial attention module's processing involves three steps. First, it uses channel-level global max pooling and global average pooling to obtain two 2D features, namely... and Secondly, the two obtained features are concatenated according to the channel dimension, and then merged into one channel through a convolution operation (with a kernel size of 7×7). Finally, the sigmoid function is used to generate the final spatial attention feature. The role of the spatial attention module in this part can be represented as shown in Equation (2-3).
[0070]
[0071] f 7×7 This represents a convolution operation with a kernel size of 7×7. For each input gait contour G... i Channel attention and spatial attention focus on the feature content and feature location respectively. To a certain extent, they complement each other and improve the feature extraction effect of the network.
[0072] CBAM-SFE has three layers. Each layer incorporates pooling layers to enrich the channel dimension of features, and residual connections are used to facilitate efficient extraction of spatial information and prevent model degradation. For each convolutional layer, the original input f... row First, the model is fed into two convolutional blocks with residual structures. Then, LeakyReLU(·) is used to enhance the model's nonlinearity. Finally, a CBAM is used to assign different weights to the channels, resulting in spatial features F with channel attention. S As shown in equation (2-4).
[0073]
[0074] Gait is temporal data, meaning that some information in gait data has different salience at different time scales. To address this issue, this invention proposes a Multi-Scale Temporal Attention (MS-TA) module, which can extract richer temporal information from gait, facilitating the modeling of complex human movement patterns. The overall architecture of this module is as follows: Figure 4 As shown.
[0075] MS-TA not only focuses on long-term changes in gait but also considers short-term movement patterns. This module employs a multi-head attention mechanism to assign weights to features at different time scales and locations, further facilitating the capture of changes in covariates and inequalities over time. The specific framework of the multi-head attention mechanism is as follows: Figure 5 As shown.
[0076] Multi-head attention mechanisms can focus on global information to refine frame-level features f I First, f IThe copying process is transformed into three 1D vectors of length d in three linear layers. and To extract multi-head subspace features. Therefore, the attention z of the i-th head... i The calculation is as shown in equation (3-1).
[0077]
[0078] Then the attention of each head is cascaded to form the attention z, as shown in equation (3-2).
[0079] z = cat(z) i (3-2)
[0080] Then, z is passed through a linear layer to restore its original size, and then compared with the original feature f. I Weighting yields attention-related features. As shown in equation (3-3).
[0081]
[0082] Divide the sequence into There are several time partitions, where L is the length of each time partition. Then, for each partition feature... Multihead(·) attention mechanism is used to obtain the features in the partition time. Where n = {1, 2, ..., K}, and these features are then concatenated using cat(·) to obtain features with short-term temporal attention. As shown in equation (3-4).
[0083]
[0084] Then, the features of the entire gait sequence are analyzed. Employing a multi-head attention mechanism to obtain features with temporal global attention As shown in equation (3-5).
[0085]
[0086] Then all features that have passed through the attention mechanism and Cascading yields features F with attention across multiple time scales. T As shown in equation (3-6).
[0087]
[0088] Human posture information contains a wealth of stable spatiotemporal information about gait, making it more robust to covariates such as illumination, clothing, and backpack in appearance data. The 4. Posture and Contour Feature Fusion (PSFF) module of this invention uses ST-GCN to perform multi-scale spatiotemporal convolution on the skeleton sequence extracted from OpenPose to focus on the cooperative patterns between different bone points, obtaining the human posture representation of gait, F. SK For F ST Flatten by frame dimension, i.e., from R n×C×H×W Space conversion to R n ×C×D To adapt to attitude characteristics F SK The dimension. Then F SK With F ST The final gait feature V is obtained by cascading. SK-ST .
[0089] OpenPose outputs 18 keypoints, using N... SK This invention employs a 6-layer ST-GCN, with each layer containing a GCN and a TCN, used to process the spatial and temporal features of the skeletal data, respectively. Its single-layer structure is shown below. Figure 6 As shown.
[0090] After all layers of ST-GCN, a dropout value of 0.5 is applied to prevent overfitting. The number of keypoints remains unchanged after processing, resulting in the final pose feature F. SK Then F ST After flattening and F SK By cascading along the channel dimension, a feature vector V is obtained that fuses human posture information and gait contour sequence. SK-ST As shown in equation (4-1).
[0091] V SK-ST =cat(flatten(F) ST ),F SK (4-1)
[0092] The features fused from posture and silhouette appearance are complementary. Posture primarily contains robust gait information, which is largely unaffected by covariates such as lighting, clothing, and backpack. Contouring features, on the other hand, mainly contain variable information, i.e., covariates. The fusion of posture and silhouette features provides a more discriminative representation of gait. This invention employs a triplet loss function L... tripletThe network model is trained using (·) and triplet loss to focus on intra-class associations and inter-class differences of samples. At the same time, gait representation based on pose and contour fusion can enable the network to focus on non-covariate information. Pose data guides the network model to learn covariates in the appearance contour, promoting the network model to better handle the relationship between covariates and non-covariates, as shown in Equation (5-1).
[0093]
[0094] Where D ap and D an These represent the distances between anchor samples a that form positive and negative instances, respectively. m is a manually set offset. Additionally, w... p and w n This represents the weights of positive and negative instances.
[0095] Those skilled in the art will understand that all or part of the steps in the methods of the above embodiments can be implemented by a program instructing related hardware. The program can be stored in a computer-readable storage medium. When the program is executed, it can implement the steps of the method. The storage medium may be, for example, ROM / RAM, magnetic disk, optical disk, etc.
[0096] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and are not intended to limit it. Although the present invention has been described in detail with reference to preferred embodiments, those skilled in the art should understand that modifications or equivalent substitutions can be made to the technical solutions of the present invention without departing from the spirit and scope of the present invention, and all such modifications or substitutions should be covered within the scope of the claims of the present invention.
Claims
1. A gait recognition system guided by human posture information, characterized in that: include: Gait contour image sequence acquisition module: used to acquire sequential frames from video and preprocess them to obtain a gait contour image sequence; the acquired gait contour image sequence , This represents the gait profile of the i-th frame. The number of frames representing the gait sequence, and the contour plot for each frame. The size is ; Human skeleton sequence acquisition module: used to acquire human skeleton sequences via OpenPose. Extract the image and then perform a corresponding cropping operation with the gait contour image; The spatial feature extraction module CBAM-SFE, based on a hybrid attention mechanism, is used to extract features from gait contour image sequences to obtain gait spatial features. CBAM-SFE has three layers; each layer includes a pooling layer and residual connections. For each convolutional layer, the original input... First, enter two convolutional blocks with residual structures, then use... To enhance the model's nonlinearity, a CBAM (Convergent Channel Attention) module is used to assign different weights to each channel, ultimately yielding spatial features with channel attention. : The attention mechanism module CBAM includes a channel attention module and a spatial attention module; the input feature map is... Channel attention The processing procedure is defined as follows: The channel attention module is used to compress the spatial dimension of the input features, and includes three steps: First, based on the width and height respectively, two different one-dimensional vector features are obtained through global max pooling and global average pooling, i.e. and ; Then, these vector features are passed through a shared multilayer perception system. And add their output element by element in order; finally, use The function generates the final channel attention feature map. The function of the channel attention module is represented as follows: in These are input features. It is the activation function of CBAM; spatial attention. The process is defined as: The spatial attention module's processing includes three steps: First, it uses channel-level global max pooling and global average pooling to obtain two 2D features, namely... and Secondly, the two obtained features are concatenated according to the channel dimension, and then merged into one channel through convolution operation; finally, using... The function generates the final spatial attention features; The role of the spatial attention module is represented as follows: This indicates a convolution operation with a kernel size of 7×7; Multi-scale temporal attention module (MS-TA): used to model features at different time scales in gait contour image sequences; the multi-scale temporal attention module uses a multi-head attention mechanism to assign weights to features at different time scales and time positions. Multi-head attention mechanisms focus on global information to refine frame-level features. Specifically, it includes the following steps: First, Copying to three linear layers transforms it into three lengths. 1-dimensional vector , and To extract multi-head subspace features; thus, the first Attention to size The calculation is as follows: Then the attention of each head is cascaded to form an attention... As shown in the following formula: Then The original size is restored after a linear layer, and then compared with the original features. Weighting yields attention-related features. As shown in the following formula: Divide the sequence into There are 1 time partitions, among which The length of the time partition; then for each partition feature Employing a multi-head attention mechanism Obtain the temporal characteristics of the partition ,in Then cascade these features Obtaining features of short-term attention in time As shown in the following formula: Then, the features of the entire gait sequence are analyzed. Employing a multi-head attention mechanism to obtain features with temporal global attention As shown in the following formula: Then all features that have passed through the attention mechanism and Cascading yields features with attention across multiple time scales. As shown in the following formula: Spatiotemporal feature stitching module: used to stitch temporal features and spatial features together along the channel dimension to form gait spatiotemporal features; The Pose and Contour Feature Fusion Module (PSFF) is used to process the human skeleton sequence using ST-GCN to obtain pose features. This module employs ST-GCN to perform multi-scale spatiotemporal convolution on the skeleton sequence extracted from OpenPose, focusing on the collaborative patterns between different skeletal points to obtain a representation of human pose in relation to gait. ;right Flattening by frame dimension, i.e. Space conversion To adapt to posture characteristics The dimension; then and The final gait features are obtained by cascading. ; The number of key points output by OpenPose is It employs a 6-layer ST-GCN, with each layer containing a GCN and a TCN, used to process the spatial and temporal features of the skeletal data, respectively. After all layers of ST-GCN, there is a... To prevent overfitting, the number of keypoints remains unchanged after processing, resulting in the final pose features. ; Feature concatenation module: used to concatenate the obtained gait spatiotemporal features with posture features to obtain a feature vector that integrates human posture information and gait contour sequence; Training module: Trains the gait recognition model using a triplet loss function; Gait recognition module: Uses a trained gait recognition model to identify gait in videos.
2. The gait recognition system guided by human posture information according to claim 1, characterized in that: The gait contour image sequence acquisition module uses background subtraction technology to separate the person from the video recording of the individual walking, and then converts it into a binary image through thresholding. After morphological processing, a clear person contour is finally extracted.
3. The gait recognition system guided by human posture information according to claim 1, characterized in that: The feature cascade module will After flattening and Concatenating along the channel dimension yields a feature vector that integrates human posture information and gait contour sequence. As shown in the following formula: 。 4. The gait recognition system guided by human posture information according to claim 1, characterized in that: The triplet loss function is as follows: in and These represent anchor samples respectively. The distance between positive and negative instances; It is a manually set offset; and This represents the weights of positive and negative instances.
Citation Information
Patent Citations
Gait recognition method based on attitude guidance
CN112989889A
Gait recognition method based on gait spatial-temporal characteristic decomposition
CN113191230A
