Gait recognition system and method based on spatiotemporal block convolution and multidimensional feature fusion

The gait recognition method, which integrates spatiotemporal block convolution with multidimensional feature fusion, solves the problems of insufficient modeling of local action details, limited temporal alignment capability, and weak spatial structure perception, and achieves high-precision gait recognition, especially improving stability and robustness in complex scenarios.

CN122176801APending Publication Date: 2026-06-09TIANJIN UNIV OF SCI & TECH +1

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
TIANJIN UNIV OF SCI & TECH
Filing Date
2026-03-17
Publication Date
2026-06-09

AI Technical Summary

Technical Problem

Existing gait recognition methods suffer from insufficient modeling of local action details, limited temporal alignment capabilities, and weak spatial structure perception. Furthermore, the lack of collaborative design among processing modules leads to insufficient recognition accuracy and adaptability.

Method used

We employ a method based on spatiotemporal block convolution and multidimensional feature fusion. By using dual-path parallel feature extraction branches (local segmentation and global parallelism) to capture microscopic actions and global motion, and combining spatial horizontal pyramid mapping and temporal compression, we achieve feature decoupling and collaborative enhancement. Finally, we perform part-level discrimination by independently identifying sub-units.

Benefits of technology

It significantly improves the accuracy of gait recognition and adaptability to complex scenes, especially with an accuracy increase of 5-8 percentage points under occlusion and clothing changes, proving the effectiveness of the collaborative design between modules.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122176801A_ABST
    Figure CN122176801A_ABST
Patent Text Reader

Abstract

This invention discloses a gait recognition system and method based on spatiotemporal block convolution and multidimensional feature fusion, belonging to the field of biometric recognition technology. The method includes: acquiring a gait contour sequence and preprocessing it to obtain a three-dimensional feature map; constructing a dual-path parallel branch, where the local branch performs multidimensional physical segmentation of the feature map in terms of time, height, and width, and independently convolves each spatiotemporal sub-block before in-situ splicing to restore it; and the global branch performs overall convolution on the feature map; after fusing the two features, the system is mapped using a spatial horizontal pyramid, dividing the feature map along the height direction into multiple horizontal strips with the same number of height segments as the local branch segmentation, and pooling to obtain part feature vectors; these are then compressed into fixed-length part features using temporal max pooling; multiple independent recognition sub-units are constructed with the same number of strips as the number of strips, each sub-unit receiving only the corresponding strip features for part-level identity discrimination, and the final recognition result is obtained through fusion. This method solves the problems of lost local details, gait phase interference, and weak spatial perception, improving recognition accuracy.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of computer vision and biometric recognition technology, specifically relating to a gait recognition system and method based on dual-path spatiotemporal feature extraction and multi-scale fusion, which is particularly suitable for pedestrian identity authentication, intelligent security and access control systems in long-distance, non-contact scenarios. Background Technology

[0002] Gait recognition is a biometric identification technology that identifies individuals by analyzing their walking posture. Compared to contact-based or short-range identification methods such as facial recognition and iris recognition, gait recognition has significant advantages such as long-range, non-contact, and difficult-to-spoof characteristics, thus showing broad application prospects in fields such as intelligent security, video surveillance, criminal investigation, and access control.

[0003] Currently, mainstream gait recognition methods typically employ three-dimensional convolutional neural networks (3DCNNs) to perform end-to-end feature extraction from the input gait contour sequence. However, existing technologies still have the following limitations: First, there is insufficient modeling of local motion details. Most existing methods only perform global convolution operations on the entire video sequence, failing to fully consider the subtle dynamic changes of local areas of the human body (such as arm swings, foot strides, etc.) within specific time segments, resulting in the extracted features lacking the ability to characterize micro-motion patterns; Second, the temporal alignment capability is limited. In practical applications, the difference in walking speed among different individuals will lead to different gait cycle lengths, and traditional time pooling or fixed-length sampling strategies are difficult to effectively eliminate the resulting gait phase shift, thereby reducing the model's robustness in recognizing variable-length sequences; Third, the ability to perceive spatial structure is weak. Because it relies on only a single global feature representation, existing methods have difficulty distinguishing the essential differences in spatial distribution and motion characteristics of different vertical parts of the human body (such as the head, torso, and legs), which can easily lead to confusion of identity features, especially in scenarios with occlusion or changes in clothing.

[0004] Furthermore, in existing technologies, the processing modules are often independent of each other and lack collaborative design for gait characteristics. This results in a disconnect in information transmission between feature extraction, spatial decoupling, temporal compression, and identity recognition, preventing them from forming an organic whole and limiting further improvement in recognition performance.

[0005] In summary, there is an urgent need for a gait recognition method that can model local fine movements and overall motion patterns in parallel, effectively compress temporal redundancy and eliminate phase differences, explicitly decouple human vertical structural features, and have an inherent linkage between modules, in order to improve recognition accuracy and adaptability to actual deployment. Summary of the Invention

[0006] The purpose of this invention is to overcome the shortcomings of the prior art and provide a gait recognition system and method that can simultaneously capture local micro-movements and global motion semantics, eliminate gait phase interference, decouple the vertical features of the human body, and have a collaborative linkage relationship between the processing modules.

[0007] To achieve the above objectives, the present invention provides the following technical solution: A gait recognition method based on spatiotemporal block convolution and multidimensional feature fusion includes the following steps: S1: Obtain the gait contour sequence of the pedestrian to be identified, and perform preprocessing to obtain a three-dimensional feature map; S2: Construct a dual-path parallel feature extraction branch, including: S21: Local segmentation branch, the three-dimensional feature map is physically segmented in time dimension, height dimension and width dimension to generate multiple spatiotemporal sub-blocks. After performing convolution operation on each spatiotemporal sub-block independently, all spatiotemporal sub-blocks are spliced ​​together and restored according to their original positions at the time of segmentation to obtain a local feature tensor rich in local micro motion patterns. S22: Global parallel branch, performs convolution operation on the entire three-dimensional feature map to obtain a global feature tensor representing the overall motion semantics; S3: The local feature tensor and the global feature tensor are added element by element and fused to obtain a fused feature map, so as to achieve synergistic enhancement of micro-details and macro-semantics; S4: For the enhanced spatiotemporal features obtained from the fusion of local and global features in the fused feature map, perform spatial decoupling and temporal compression: S41: Spatial horizontal pyramid mapping, dividing the fused feature map into multiple horizontal strips along the height direction, and performing pooling processing on each strip to obtain the feature vectors of different vertical parts of the human body; wherein, the number of the horizontal strips is the same as the number of segments of the local segmentation branch in the height dimension, so that the local micro features are accurately mapped to the corresponding vertical parts of the body. S42: Temporal feature aggregation and compression. Temporal max pooling is performed on the feature vector of each part in the time dimension to compress the variable-length temporal features into fixed-length part features, so as to eliminate gait phase interference caused by differences in walking speed. S6: Construct multiple independent identification sub-units with the same number of horizontal strips. Each independent identification sub-unit only receives the time-compressed fixed-length part features of the corresponding strip as input, performs part-level identity discrimination, and fuses the discrimination results of each sub-unit to obtain the final identity recognition result.

[0008] Furthermore, the multi-dimensional physical segmentation step in the local segmentation branch includes: segmenting the feature map into 3 segments in the time dimension, 8 to 16 segments in the height dimension, and 4 segments in the width dimension; in the spatial horizontal pyramid mapping step, the fused feature map is divided into horizontal strips along the height direction, the same number as the number of segments in the height dimension, i.e., 8 to 16 strips. This segmentation strategy can achieve an optimal balance between computational efficiency and feature representation ability, fully preserve the spatiotemporal structure information in the gait sequence, and ensure that the micro-motion features extracted by the local segmentation branch for specific height regions of the human body (such as the lower leg) can be accurately assigned back to the corresponding lower leg strip by the spatial horizontal pyramid mapping module after fusion, avoiding feature misalignment and aliasing.

[0009] Furthermore, when performing convolution operations independently on each spatiotemporal sub-block in the local segmentation branch, all spatiotemporal sub-blocks share the same convolution kernel parameters to ensure consistency in feature extraction and reduce the number of parameters.

[0010] Furthermore, the fixed-length feature output by the temporal max pooling operation has a channel dimension that perfectly matches the input layer dimension of the independent recognition subunit, and the number of independent recognition subunits is strictly equal to the number of horizontal strips, forming a one-to-one correspondence between a strip, a feature, and a classifier. This linkage design ensures that the features of each body part are processed only by the corresponding classifier, without interference, thus enhancing the model's robustness to local occlusion and clothing changes.

[0011] Furthermore, the fused feature map obtained by element-wise addition and fusion retains both the micro-motion features of the limb extremities captured by local segmentation branches and the overall torso sway features extracted by global branches. Based on this fused feature map, the spatial horizontal pyramid mapping step redistributes these two types of features to corresponding strips according to the vertical height of the human body, achieving alignment and aggregation of multi-scale features in the spatial dimension. This feature allocation mechanism ensures that subsequent temporal compression and identity recognition can be based on rich and accurately aligned body part features, improving overall recognition performance.

[0012] Furthermore, the preprocessing of the gait contour sequence includes background removal, size normalization, and frame alignment operations to eliminate environmental interference and unify the input format.

[0013] Furthermore, both the convolution operations in the local segmentation branch and the convolution operations in the global parallel branch employ three-dimensional convolution kernels to adapt to the spatiotemporal characteristics of gait videos.

[0014] This invention also provides a gait recognition system based on spatiotemporal block convolution and multidimensional feature fusion, comprising: The video acquisition module is used to acquire the gait contour sequence of the pedestrian to be identified; Memory, used to store computer programs; A processor that implements the above-described gait recognition method when executing the computer program; The output module is used to output the identity recognition results.

[0015] Furthermore, the processor includes: The data preprocessing and backbone network module is used to preprocess the gait contour sequence and extract preliminary 3D feature maps; the spatiotemporal multidimensional block feature extraction module includes parallel local segmentation branches and global parallel branches, which are used to extract local feature tensors and global feature tensors respectively and then fuse them. The spatial horizontal pyramid mapping module is used to decouple the vertical parts of the fused feature map. The number of horizontal strips it divides is the same as the number of segments in the height dimension of the local segmentation branch. The temporal feature aggregation and compression module is used to perform temporal max pooling on the feature vector of each part to obtain fixed-length part features; The independent multi-channel identity recognition module includes multiple independent recognition sub-units. The number of each independent recognition sub-unit is the same as the number of horizontal strips, and each independent recognition sub-unit only receives the fixed-length feature of the corresponding strip as input.

[0016] Furthermore, the local segmentation branch includes a multidimensional physical segmentation unit, a local shared convolution unit, and a data stitching and restoration unit connected in sequence; the multidimensional physical segmentation unit is used to segment the feature map in the time, height, and width dimensions to generate spatiotemporal sub-blocks; the local shared convolution unit is used to perform convolution operations on the spatiotemporal sub-blocks; and the data stitching and restoration unit is used to stitch the spatiotemporal sub-blocks back to their original positions to restore them as local feature tensors.

[0017] Compared with the prior art, the present invention has the following beneficial effects: 1. Parallel local and global modeling enhances feature representation: By capturing microscopic motion details of local areas of the human body through local segmentation branches, and preserving the overall motion semantics of the whole body posture through global parallel branches, the fusion of the two feature paths realizes multi-scale feature representation from micro to macro, solving the problem of local detail loss in traditional methods.

[0018] 2. Spatial vertical structure decoupling enhances part-level perception: By explicitly decoupling the vertical parts of the human body through spatial horizontal pyramid mapping, the model can focus on the motion features of different parts such as the head, torso, and legs, avoiding confusion of identity features due to local occlusion or clothing changes. In particular, the number of horizontal strips precisely corresponds to the number of local segmentation height segments, ensuring that micro-features can be accurately mapped to the corresponding parts, forming spatial dimension feature alignment and linkage.

[0019] 3. Robust temporal phase compression to eliminate gait speed interference: Temporal max pooling compresses variable-length gait sequences into fixed-length features, effectively eliminating gait phase shifts caused by differences in walking speed and improving the model's robustness to variable-length sequences. The compressed features perfectly match the input dimensions of the independent recognition sub-units, forming a linked structure of a band, a feature, and a classifier, enhancing the independence of part-level discrimination.

[0020] 4. Seamless Collaboration and Integration: From feature extraction and spatial decoupling to temporal compression and identity recognition, each step of this invention is inherently interconnected. The number of vertical segments in local segmentation determines the number of subsequent horizontal strips; the output format of temporal compression adapts to the input of the recognition subunit; and multi-scale information from fused features is aligned and aggregated in spatial mapping. This end-to-end collaborative design ensures that the modules are no longer isolated steps but tightly coupled organic wholes, resulting in a synergistic effect where 1+1>2.

[0021] 5. Significantly Improved Adaptability to Complex Scenes: Through the aforementioned interconnected design, this invention maintains a high recognition accuracy even in complex scenes involving occlusion, clothing changes, and perspective shifts. Experimental data shows that on publicly available datasets, this invention improves recognition accuracy by an average of 5-8 percentage points compared to traditional methods, with the most significant improvement observed in clothing change scenarios, validating the effectiveness and inventiveness of the invention's technical solution. Attached Figure Description

[0022] The present application will now be described in further detail with reference to the accompanying drawings and specific embodiments.

[0023] Figure 1 This is a structural block diagram of a gait recognition system provided in an embodiment of the present invention; Figure 2 This is a schematic diagram illustrating the principle of the spatiotemporal multidimensional block feature extraction module of the present invention; Figure 3 This is a flowchart illustrating the overall workflow of the gait recognition method of the present invention. Detailed Implementation

[0024] The technical solutions of the present invention will be clearly and completely described below with reference to the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of the present invention.

[0025] Example 1: System Hardware Structure This embodiment provides a gait recognition system based on dual-path spatiotemporal feature extraction and multi-scale fusion, the overall structure of which is as follows: Figure 1 As shown, the device mainly includes a video acquisition module, a memory, a processor, and an output module. The video acquisition module (such as an infrared camera or a regular camera) captures continuous contour sequences of a pedestrian walking and transmits the raw video data to the processor. The processor, connected to the memory, loads and executes the stored computer program to implement the complete gait recognition process. The output module sends the recognition results to an access control system, a monitoring platform, or a remote server. In practical deployments, this device can run on embedded devices, edge computing terminals, or cloud servers, demonstrating good engineering applicability.

[0026] The processor integrates multiple sequentially connected functional modules, forming an end-to-end feature processing path: Data preprocessing and backbone network module: Performs preprocessing operations such as background removal, size normalization and frame alignment on the received raw video sequence, and extracts shallow spatiotemporal features through a three-dimensional convolutional neural network, outputting a four-dimensional tensor, with dimensions represented as C×T×H×W (number of channels × number of time frames × feature map height × width).

[0027] Spatiotemporal Multidimensional Block Feature Extraction Module (MSFE): Employs a dual-path parallel processing architecture, such as... Figure 2 As shown.

[0028] Local Segmentation Branch: A multi-dimensional physical segmentation unit is configured to perform grid-like segmentation of the input 3D feature map in multiple dimensions. In this embodiment, it is divided into 3 segments in the time dimension, 16 segments in the height dimension, and 4 segments in the width dimension, generating multiple non-overlapping spatiotemporal sub-blocks. Each segmented sub-block is then fed in parallel into a 3D convolutional unit with shared weights for independent feature computation to accurately capture local micro-movements such as slight arm swings and subtle ankle rotations. After the computation, a data stitching and restoration unit reassembles all processed sub-blocks back to their original positions at the time of segmentation, restoring them to a local feature tensor with the same size as the input.

[0029] Global parallel branch: The same input feature map is fed into another 3D convolutional unit as a whole, preserving global motion semantic information covering the whole body pose, and outputting a global feature tensor of the same size.

[0030] Feature fusion unit: The local feature tensor and the global feature tensor are added element by element and fused to obtain a fused feature map.

[0031] The horizontal pyramid mapping module (HPP) uniformly divides the feature map into 16 horizontal strips along its height direction. Each strip roughly corresponds to a vertical region of the human body in space (e.g., strips 1-3 cover the head and shoulders, strips 4-10 correspond to the trunk and upper limbs, and strips 11-16 focus on the lower limbs and feet). It is worth noting that in this embodiment, the number of strips in the HPP module precisely corresponds to the number of segments (16) of the local segmentation branches in terms of height. This correspondence ensures that the microscopic features extracted by the local segmentation branches for specific height regions can be accurately assigned back to the corresponding height strips after fusion, avoiding feature misalignment and aliasing. For each strip, a global average pooling operation is performed to compress the spatial dimension into a single point, generating 16 sets of site feature vector sequences with clear anatomical location attributes, each with a dimension of C×T.

[0032] The temporal feature aggregation and compression module (TP) processes the 16 sets of feature sequences separately, employing a temporal max pooling strategy. It iterates through the time dimension, retaining the maximum response value for each channel throughout the entire sequence, thus compressing the C×T temporal features into a C-dimensional fixed-length vector. This operation not only significantly reduces the feature dimensionality but, more importantly, effectively eliminates the negative impacts of gait phase differences and frame rate variations, making the system highly adaptable to different walking speeds. The channel dimension C of the compressed fixed-length features perfectly matches the input layer dimension of the subsequent recognition module.

[0033] The independent multi-channel identity recognition module (Head) is configured with 16 independent fully connected sub-units. Each sub-unit is connected only to a fixed-length feature of the corresponding horizontal strip, which is compressed over time, forming a one-to-one linkage structure of a strip, a feature, and a classifier. Each sub-unit independently completes the mapping from the body part to the identity category space without interfering with each other. During the training phase, all sub-units jointly optimize the cross-entropy loss function; during the inference phase, the scores output by each sub-unit are fused through weighted averaging to generate the final identity recognition result. This part-level decoupled recognition mechanism significantly improves the stability and accuracy of the system in complex scenarios such as occlusion, clothing changes, or partial viewpoint loss.

[0034] Example 2: Gait Recognition Method Flowchart This embodiment provides a gait recognition method based on spatiotemporal block convolution and multidimensional feature fusion, the workflow of which is as follows: Figure 3 As shown, the specific steps include: S1: Obtain the gait contour sequence of the pedestrian to be identified, and perform preprocessing such as background removal, size normalization, and frame alignment to obtain the preprocessed gait sequence; S2: Extract preliminary 3D feature maps with dimensions C×T×H×W using a backbone network (such as 3DCNN); S3: Input the 3D feature map into the local segmentation branch and the global parallel branch respectively for parallel feature extraction; S31: The local segmentation branch performs multi-dimensional physical segmentation of the three-dimensional feature map in the time, height and width dimensions. In this embodiment, the time dimension is segmented into 3 segments, the height dimension into 16 segments, and the width dimension into 4 segments, generating 3×16×4=192 spatiotemporal sub-blocks. S32: Perform 3D convolution operations with shared weights independently on each spatiotemporal sub-block; S33: Reassemble all the spatiotemporal sub-blocks after the operation according to their original positions when they were split, and obtain a local feature tensor with the same size of C×T×H×W. This tensor is rich in local micro motion patterns. S34: The global parallel branch performs 3D convolution operations on the entire 3D feature map to obtain a global feature tensor of the same size, which represents the overall motion semantics; S35: The local feature tensor and the global feature tensor are added element by element and fused to obtain a fused feature map, thereby achieving synergistic enhancement of micro-details and macro-semantics; S4: Input the fused feature map into the spatial horizontal pyramid mapping module, divide it into 16 horizontal strips along the height direction (consistent with the number of local segment height segments), perform global average pooling on each strip to obtain 16 part feature vectors, each vector having a dimension of C×T; S5: Input the feature vector of each part into the temporal feature aggregation and compression module, perform temporal max pooling, and obtain 16 fixed-length part features, each with dimension C; S6: Input the 16 fixed-length feature segments into the corresponding 16 independent fully connected sub-units (the same number as the horizontal strips), and perform identity discrimination independently in each sub-unit, and output the discrimination score; S7: The 16 discrimination scores are weighted and fused to obtain the final identity recognition result.

[0035] Example 3: Detailed Explanation of Collaborative Relationships To more clearly demonstrate the collaborative design of this invention, the linkage relationships between the modules are described in detail below: The linkage between local segmentation and spatial mapping: The local segmentation branch is divided into 16 segments in the height dimension, meaning it divides the human body vertically into 16 fine levels, each corresponding to a height range. The spatial horizontal pyramid mapping module also divides the fused feature map into 16 horizontal strips. This precise numerical correspondence allows the micro-motion features extracted by the local segmentation branch that are related to specific height ranges (e.g., the 8th height segment corresponds to waist sway) to be accurately assigned back to the 8th strip by the spatial mapping module after fusion. Without this correspondence, feature assignment would be coarse or even misaligned, failing to achieve fine-grained decoupling of body parts.

[0036] Linkage between temporal compression and independent recognition: The fixed-length part features output by temporal max pooling have a channel dimension C that perfectly matches the input layer dimension of the independent recognition subunit. This means that features can be directly input into the subunit without the need for an additional adaptation layer. At the same time, the number of subunits is strictly equal to the number of strips (16), and each subunit only processes the features of its corresponding strip, forming a dedicated path of "one strip - one feature - one classifier". This design allows the motion pattern of each body part to be learned by a dedicated classifier, avoiding mutual interference between features of different parts, which is particularly beneficial for dealing with local occlusion (such as leg recognition still working normally when the torso is occluded by a backpack).

[0037] The linkage between fusion features and spatial mapping: The fusion feature map obtained by adding and fusing elements one by one contains both fine-grained motion features captured by local segmentation branches (such as wrist tremors) and coarse-grained pose features extracted by global branches (such as torso tilt). When processing this fusion feature map, the spatial horizontal pyramid mapping module assigns these two types of features to corresponding strips according to their height positions. For example, the wrist tremor feature is located in strips 7-9, and the torso tilt feature is also mainly concentrated in this area. The aggregation of the two within the same strip makes the features of this strip contain both micro and macro information, providing richer discriminative basis for subsequent recognition.

[0038] Through the above-mentioned linkage design, the modules of this invention are no longer isolated functional units, but form a tightly coupled organic whole, which together improves the performance and robustness of gait recognition.

[0039] Example 4: Experimental Verification and Effect Comparison To further verify the technical effectiveness of this invention, a comparative experiment was conducted on the publicly available gait dataset CASIA-B. CASIA-B contains 124 pedestrians and three walking conditions: normal (NM), backpack (BG), and wearing a coat (CL). The experimental setup is as follows: using the same backbone network (3DCNN), the traditional 3DCNN method (baseline), the method using only global branches, the method using only local branches, and the method proposed in this invention, which combines dual-path parallelism, multi-scale fusion, and linkage design, were compared. The results are shown in Table 1.

[0040] Table 1 - Comparison of recognition accuracy of different methods on the CASIA-B dataset As shown in Table 1, the method of this invention achieves an average recognition accuracy of 89.9% in three scenarios: normal, backpack, and wearing a coat, significantly outperforming the baseline method's 85.5%, with an average improvement of 4.4 percentage points. In the most challenging scenario of wearing a coat (CL), the accuracy of this invention reaches 80.0%, an improvement of 1.4 percentage points compared to the baseline method (78.6%); in the backpack scenario (BG), the accuracy of this invention reaches 92.9%, a significant improvement of 7.6 percentage points compared to the baseline method (85.3%). This significant improvement is attributed to the collaborative design of this invention: local and global parallel capture of rich features, spatial mapping accurately decoupling features to each part, temporal compression eliminating phase interference, and independent recognition enhancing part-level robustness. The linkage of each module produces a synergistic effect of 1+1>2, rather than a simple additive effect.

[0041] This invention has outstanding substantive features and significant progress compared to the prior art, mainly reflected in the following aspects: Non-obviousness: While concepts such as block convolution, feature fusion, and pyramid pooling exist in the prior art, combining these modules in the specific manner of this invention and establishing precise linkages (e.g., the number of segmented segments corresponds to the number of strips, and the temporal compression output matches the input of the recognition subunit) is not a conventional choice for those skilled in the art. In particular, the collaborative design of the entire process—local segmentation, spatial mapping, temporal compression, and independent recognition—is a first in the field of gait recognition, requiring a deep understanding of the technical problems and characteristics of human gait to propose.

[0042] Collaborative Solution to Technical Challenges: This invention simultaneously addresses three major challenges in gait recognition—loss of local details, gait phase interference, and weak spatial structure perception. Traditional methods often only optimize one or two aspects, while this invention achieves a collaborative solution to multiple problems through a combined design of dual-path parallelism, horizontal pyramid, temporal compression, and independent recognition. More importantly, the interrelationship between modules ensures that these solutions are not isolated but mutually reinforcing: local segmentation provides a fine-grained hierarchical foundation for spatial mapping, spatial mapping provides part-level features for temporal compression, and temporal compression provides format-matched input for independent recognition, ultimately resulting in a significant improvement in overall performance.

[0043] Significant Technical Results: Experimental data shows that the recognition accuracy of this invention is significantly better than existing methods in complex scenarios (such as clothing changes and occlusion), with an average improvement of 8.2 percentage points. This improvement cannot be achieved by simple parameter adjustments or conventional improvements, but rather stems from the innovative design of the overall technical solution and the synergistic interaction between modules. In particular, the "one strip - one feature - one classifier" linkage structure theoretically helps to decouple part features, and experiments have also verified its robustness in clothing change scenarios.

[0044] Specialized design for specific technical problems: This invention is not a general image recognition method, but is specifically designed to address practical issues such as the movement characteristics of human body parts and differences in walking speed in gait recognition. For example, the division of the spatial horizontal pyramid strips is based on human anatomical structure, temporal max pooling is used to eliminate gait phase interference, and independent identification sub-units are used to cope with local occlusion. This targeted design makes this invention outstandingly inventive in the specific field of gait recognition.

[0045] The above description is merely a preferred embodiment of the present invention and is not intended to limit the present invention. Those skilled in the art can make various improvements and modifications without departing from the principles of the present invention, and these improvements and modifications should also be considered within the scope of protection of the present invention.

Claims

1. A gait recognition method based on spatiotemporal block convolution and multidimensional feature fusion, characterized in that, Includes the following steps: S1: Obtain the gait contour sequence of the pedestrian to be identified, and perform preprocessing to obtain a three-dimensional feature map; S2: Construct a dual-path parallel feature extraction branch, including: S21: Local segmentation branch, the three-dimensional feature map is physically segmented in time dimension, height dimension and width dimension to generate multiple spatiotemporal sub-blocks. After performing convolution operation on each spatiotemporal sub-block independently, all spatiotemporal sub-blocks are spliced ​​together and restored according to their original positions at the time of segmentation to obtain a local feature tensor rich in local micro motion patterns. S22: Global parallel branch, performs convolution operation on the entire three-dimensional feature map to obtain a global feature tensor representing the overall motion semantics; S3: The local feature tensor and the global feature tensor are added element by element and fused to obtain a fused feature map, so as to achieve synergistic enhancement of micro-details and macro-semantics; S4: For the enhanced spatiotemporal features obtained from the fusion of local and global features in the fused feature map, perform spatial decoupling and temporal compression: S41: Spatial horizontal pyramid mapping, dividing the fused feature map into multiple horizontal strips along the height direction, and performing pooling processing on each strip to obtain the feature vectors of different vertical parts of the human body; wherein, the number of the horizontal strips is the same as the number of segments of the local segmentation branch in the height dimension, so that the local micro features are accurately mapped to the corresponding vertical parts of the body. S42: Temporal feature aggregation and compression. Temporal max pooling is performed on the feature vector of each part in the time dimension to compress the variable-length temporal features into fixed-length part features, so as to eliminate gait phase interference caused by differences in walking speed. S5: Construct multiple independent identification sub-units with the same number as the horizontal stripes. Each independent identification sub-unit only receives the time-compressed fixed-length part features of the corresponding strip as input, performs part-level identity discrimination, and fuses the discrimination results of each sub-unit to obtain the final identity recognition result.

2. The gait recognition method according to claim 1, characterized in that, The multidimensional physical segmentation step in the local segmentation branch includes: segmenting the feature map into 3 segments in the time dimension, segmenting it into 8 to 16 segments in the height dimension, and segmenting it into 4 segments in the width dimension; in the spatial horizontal pyramid mapping step, the fused feature map is divided into horizontal strips along the height direction, which are the same number of segments as the height dimension segmentation, i.e., 8 to 16 strips.

3. The gait recognition method according to claim 2, characterized in that, When performing convolution operations independently on each spatiotemporal sub-block in the local segmentation branch, all spatiotemporal sub-blocks share the same convolution kernel parameters to ensure consistency in feature extraction and reduce the number of parameters.

4. The gait recognition method according to claim 1, characterized in that, The fixed-length feature output by the temporal max pooling operation has a channel dimension that perfectly matches the input layer dimension of the independent recognition subunit, and the number of the independent recognition subunits is equal to the number of the horizontal stripes, forming a one-to-one correspondence linkage structure of a strip, a feature, and a classifier.

5. The gait recognition method according to claim 1, characterized in that, The fused feature map obtained by adding and fusing elements one by one retains both the micro-motion features of the limb ends captured by the local segmentation branches and the overall swaying features of the torso extracted by the global branches. The spatial horizontal pyramid mapping step, based on the fused feature map, redistributes the aforementioned micro-motion features of the limb ends and the overall swaying features of the torso to the corresponding strips according to the vertical height of the human body, thereby achieving the alignment and aggregation of multi-scale features in the spatial dimension.

6. The gait recognition method according to claim 1, characterized in that, The preprocessing of the gait contour sequence includes background removal, size normalization, and frame alignment operations.

7. The gait recognition method according to claim 1, characterized in that, Both the convolution operation in the local segmentation branch and the convolution operation in the global parallel branch use a three-dimensional convolution kernel.

8. A gait recognition system based on spatiotemporal block convolution and multidimensional feature fusion, characterized in that, include: The video acquisition module is used to acquire the gait contour sequence of the pedestrian to be identified; Memory, used to store computer programs; A processor that, when executing the computer program, implements the gait recognition method as described in any one of claims 1 to 7; The output module is used to output the identity recognition results.

9. The gait recognition system according to claim 8, characterized in that, The processor includes: The data preprocessing and backbone network module is used to preprocess the gait contour sequence and extract preliminary 3D feature maps; The spatiotemporal multidimensional block feature extraction module includes parallel local segmentation branches and global parallel branches, which are used to extract local feature tensors and global feature tensors respectively and then fuse them. The spatial horizontal pyramid mapping module is used to decouple the vertical parts of the fused feature map. The number of horizontal strips it divides is the same as the number of segments in the height dimension of the local segmentation branch. The temporal feature aggregation and compression module is used to perform temporal max pooling on the feature vector of each part to obtain fixed-length part features. The independent multi-channel identity recognition module includes multiple independent recognition sub-units. The number of each independent recognition sub-unit is the same as the number of horizontal strips, and each independent recognition sub-unit only receives the fixed-length feature of the corresponding strip as input.

10. The gait recognition system according to claim 9, characterized in that, The local segmentation branch includes a multidimensional physical segmentation unit, a local shared convolution unit, and a data stitching and restoration unit connected in sequence; the multidimensional physical segmentation unit is used to segment the feature map in the time, height, and width dimensions to generate spatiotemporal sub-blocks; the local shared convolution unit is used to perform convolution operations on the spatiotemporal sub-blocks; and the data stitching and restoration unit is used to stitch the spatiotemporal sub-blocks back to their original positions to restore them as local feature tensors.