Gait recognition method and system based on pedestrian time sequence contour reconstruction and restoration

Through the improved U-Net network and YOLOV9 target detection network, combined with the FairMOT model, the robustness problem of gait recognition under pedestrian clothing occlusion is solved, the recognition accuracy and robustness are improved, and more efficient gait features are achieved extract.

CN118762397APending Publication Date: 2024-10-11ISA TECH CO LTD +1

Patent Information

Application Number
CN202410838636.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-26
Publication Date
2024-10-11

AI Technical Summary

Technical Problem

Existing appearance-based gait recognition methods have poor recognition results when pedestrians are blocked by clothing, and it is difficult to achieve robust feature extraction, resulting in low recognition accuracy.

Method used

Using the improved U-Net network, by adding a channel attention mechanism in the decoder path and a multi-scale attention mechanism in the lateral jump connection, the object occlusion is removed, and the pedestrian pose unoccluded sequence feature map is extracted, combined with the YOLOV9 target detection network and FairMOT model to achieve robust feature extraction of pedestrian targets.

Benefits of technology

It improves the accuracy and robustness of gait recognition, can better cope with the situation of clothing obstruction, and improves the accuracy of gait recognition.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118762397A_ABST
    Figure CN118762397A_ABST
Patent Text Reader

Abstract

The invention provides a gait recognition method and system based on pedestrian time sequence contour reconstruction and restoration. The method comprises the following steps: acquiring a pedestrian video stream, and decoding to obtain a frame image of a pedestrian; based on the frame image, a pedestrian target detection network is adopted to extract appearance features, and a pedestrian target to be detected is determined; according to the continuous frame images, determining a tracking trajectory sequence picture of the pedestrian target to be detected in the next frame image; based on the tracking trajectory sequence picture of the to-be-detected pedestrian target in the next frame of image, adopting a trained improved U-Net network to remove object shielding, and obtaining a pedestrian attitude non-shielding sequence feature map; wherein the improved U-Net network is characterized in that a channel attention mechanism is added in each decoder module in a decoder path of the U-Net network, and a multi-scale attention mechanism is added in transverse jump connection in the U-Net network; and extracting gait features based on the pedestrian posture non-occlusion sequence feature map, and comparing to obtain an identity authentication result.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to a gait recognition method and system based on pedestrian temporal profile reconstruction and restoration. Background Art

[0002] The statements in this section merely provide background information related to the present invention and do not necessarily constitute prior art.

[0003] Gait recognition usually uses computer vision and pattern recognition technology to capture, extract and analyze people's walking patterns. First, use devices such as cameras or sensors to record videos or data of people walking. Then, by extracting key gait features such as stride, stride frequency, gait cycle and body posture, it is converted into a digital representation. Finally, using machine learning algorithms or pattern matching methods, the gait features are compared and identified with samples in a pre-established database.

[0004] Gait recognition has a wide range of applications in the security field. For example, in surveillance systems, gait recognition can be used to identify specific individuals, thereby achieving identity verification based on walking patterns. In addition, gait recognition can also be used for crime investigation, border security control, and behavior analysis. This technology can also help monitor abnormal walking of the elderly or athletes, providing support for health management and sports training.

[0005] Algorithms based on gait recognition can be roughly divided into two categories, one is appearance-based methods and the other is model-based methods. Model-based methods are relatively robust, but accurate modeling is a difficult problem, and implementation is also difficult and the accuracy is not high. Appearance-based methods directly learn the shape features of the target from the video and can work normally under low-resolution conditions. Therefore, they are more accurate and easier to implement, but they are more sensitive to changes in appearance (such as posture, angle, equipment). With the vigorous development of deep learning, most of the current appearance-based work focuses on spatial feature extraction and gait temporal modeling, but gait recognition when the temporal contour of pedestrians is obscured by clothing is a challenging problem. Summary of the invention

[0006] In order to solve the technical problems existing in the above-mentioned background technology, the present invention provides a gait recognition method and system based on pedestrian temporal contour reconstruction and restoration. The present invention mainly improves the appearance-based method, and realizes robust feature extraction for changes in pedestrian clothing by reconstructing and restoring the appearance of pedestrian targets, thereby improving the effect of gait recognition.

[0007] In order to achieve the above object, the present invention adopts the following technical solution:

[0008] A first aspect of the present invention provides a gait recognition method based on pedestrian temporal profile reconstruction and restoration.

[0009] A gait recognition method based on pedestrian temporal profile reconstruction and restoration, comprising:

[0010] Obtain the pedestrian video stream and decode it to obtain the pedestrian frame image;

[0011] Based on the frame image, a pedestrian target detection network is used to extract appearance features and determine the pedestrian target to be detected;

[0012] According to the continuous frame images, a tracking trajectory sequence image of the pedestrian target to be detected in the next frame image is determined;

[0013] Based on the tracking trajectory sequence images of the pedestrian target to be detected in the next frame image, the trained improved U-Net network is used to remove the object occlusion to obtain the pedestrian posture unobstructed sequence feature map; wherein the improved U-Net network is: adding a channel attention mechanism to each decoder module in the decoder path of the U-Net network, and adding a multi-scale attention mechanism to the lateral jump connection in the U-Net network;

[0014] Based on the unobstructed sequence feature map of pedestrian posture, gait features are extracted, and the authentication result is obtained after comparison.

[0015] Furthermore, the process of extracting appearance features and determining the pedestrian target to be detected based on the frame image using a pedestrian target detection network includes: extracting features based on the frame image using the BackBone network structure of the YOLOV9 target detection network, performing information fusion and feature enhancement between feature levels using the Neck structure of the YOLOV9 target detection network, outputting the detected position and category of pedestrians in the frame image using the Head of the YOLOV9 target detection network, obtaining the bounding box and category label of the pedestrian target to be detected, and extracting the feature representation of the pedestrian target to be detected using the FairMOT model for each detected pedestrian target to be detected.

[0016] Furthermore, the process of determining the tracking trajectory sequence pictures of the pedestrian target to be detected in the next frame image includes: associating the similarity and IOU between the tracking trajectory sequence pictures of the pedestrian target to be detected in the previous frame image and the tracking trajectory sequence pictures of the pedestrian target to be detected in the current frame image to obtain the target association result, thereby updating the state information of the pedestrian target to be detected; performing state estimation and prediction on the state information of the pedestrian target to be detected to obtain the tracking trajectory sequence pictures of the pedestrian target to be detected in the next frame image.

[0017] Furthermore, the improved U-Net network training process includes: constructing a pedestrian posture unobstructed sequence data set and a pedestrian posture occluded sequence data set; based on the pedestrian posture occluded sequence data, using a decoder module with a channel attention mechanism to obtain a feature map output by each decoder module; using a global average pooling operation on each of the feature maps to convert the feature map into a global feature vector; inputting the global feature vector into a fully connected layer to learn channel weights; applying the learned channel weights to the feature maps output by each decoder module respectively to obtain weighted feature maps; multiplying the weighted feature map with the pedestrian posture unobstructed sequence data to obtain the final feature map.

[0018] Furthermore, a one-dimensional convolution operation is used to adjust the shape and dimension of the channel weight.

[0019] Furthermore, the improved U-Net network training process includes: adding a multi-scale attention mechanism in the first layer, the second layer and the fourth layer of the U-Net network to capture multi-scale features, and performing weighted and fusion operations on feature maps of different resolutions.

[0020] Furthermore, the process of obtaining an authentication result through comparison includes: comparing the gait features with the gait features already stored in the gait database to determine whether they are the same person, and obtaining an identity authentication result.

[0021] A second aspect of the present invention provides a gait recognition system based on pedestrian temporal profile reconstruction and restoration.

[0022] A gait recognition system based on pedestrian temporal profile reconstruction and restoration, comprising:

[0023] A data acquisition module is configured to: acquire a pedestrian video stream and decode it to obtain a frame image of the pedestrian;

[0024] A feature extraction module is configured to: based on the frame image, use a pedestrian target detection network to extract appearance features and determine the pedestrian target to be detected;

[0025] The trajectory determination module is configured to: determine a tracking trajectory sequence image of a pedestrian target to be detected in a next frame image according to continuous frame images;

[0026] The occlusion removal module is configured to: based on the tracking trajectory sequence image of the pedestrian target to be detected in the next frame image, use the trained improved U-Net network to remove the object occlusion and obtain the pedestrian posture unobstructed sequence feature map; wherein the improved U-Net network is: adding a channel attention mechanism to each decoder module in the decoder path of the U-Net network, and adding a multi-scale attention mechanism to the lateral jump connection in the U-Net network;

[0027] The identity authentication module is configured to extract gait features based on the unobstructed sequence feature map of pedestrian postures, and obtain the authentication result after comparison.

[0028] A third aspect of the present invention provides a computer-readable storage medium.

[0029] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps of the gait recognition method based on pedestrian temporal contour reconstruction and restoration as described in the first aspect above.

[0030] A fourth aspect of the present invention provides a computer device.

[0031] A computer device comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the steps in the method for gait recognition based on reconstruction and restoration of pedestrian temporal contours as described in the first aspect above are implemented.

[0032] Compared with the prior art, the present invention has the following beneficial effects:

[0033] The present invention mainly improves the appearance-based method by reconstructing and repairing the appearance of pedestrian targets, thereby achieving robust feature extraction for changes in pedestrian clothing, thereby improving the effect of gait recognition.

[0034] The present invention constructs a deep neural network and trains a pedestrian contour reconstruction and restoration model to make subsequent segmentation results more obvious and feature extraction more robust. It can better cope with gait recognition under clothing occlusion and improve gait recognition accuracy. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] The accompanying drawings in the specification, which constitute a part of the present invention, are used to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute improper limitations on the present invention.

[0036] Figure 1 is a flow chart of a gait recognition method based on pedestrian temporal profile reconstruction and restoration shown in the present invention;

[0037] Figure 2 is a network structure diagram of a pedestrian contour reconstruction and restoration model based on a U-Net structure shown in the present invention;

[0038] FIG. 3( a) is a network structure diagram of a channel attention mechanism module shown in the present invention;

[0039] FIG3( b ) is a network structure diagram of a multi-scale attention mechanism module shown in the present invention. DETAILED DESCRIPTION

[0040] The present invention will be further described below in conjunction with the accompanying drawings and embodiments.

[0041] It should be noted that the following detailed descriptions are all illustrative and intended to provide further explanation of the present invention. Unless otherwise specified, all technical and scientific terms used herein have the same meanings as those commonly understood by those skilled in the art to which the present invention belongs.

[0042] It should be noted that the terms used herein are only for describing specific embodiments and are not intended to limit exemplary embodiments according to the present invention. As used herein, unless the context clearly indicates otherwise, the singular form is also intended to include the plural form. In addition, it should be understood that when the terms "comprising" and / or "including" are used in this specification, it indicates the presence of features, steps, operations, devices, components and / or combinations thereof.

[0043] It should be noted that the flowcharts and block diagrams in the accompanying drawings illustrate the possible implementation architecture, functions and operations of the methods and systems according to various embodiments of the present disclosure. It should be noted that each box in the flowchart or block diagram can represent a module, a program segment, or a part of a code, and the module, program segment, or a part of a code may include one or more executable instructions for implementing the logical functions specified in each embodiment. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in an order different from that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, or they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the flowchart and / or block diagram, and the combination of boxes in the flowchart and / or block diagram can be implemented using a dedicated hardware-based system that performs a specified function or operation, or can be implemented using a combination of dedicated hardware and computer instructions.

[0044] Embodiment 1

[0045] like Figure 1As shown, this embodiment provides a gait recognition method based on pedestrian temporal profile reconstruction and repair. This embodiment uses the method applied to a server as an example for illustration. It can be understood that the method can also be applied to a terminal, and can also be applied to a terminal, a server, and a system, and is implemented through the interaction between the terminal and the server. The server can be an independent physical server, or a server cluster or a distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network servers, cloud communications, middleware services, domain name services, security services CDN, and big data and artificial intelligence platforms. The terminal can be a smart phone, a tablet computer, a laptop computer, a desktop computer, a smart speaker, a smart watch, etc., but is not limited to this. The terminal and the server can be directly or indirectly connected via wired or wireless communication, which is not limited in this application. In this embodiment, the method includes the following steps:

[0046] Obtain the pedestrian video stream and decode it to obtain the pedestrian frame image;

[0047] Based on the frame image, a pedestrian target detection network is used to extract appearance features and determine the pedestrian target to be detected;

[0048] According to the continuous frame images, a tracking trajectory sequence image of the pedestrian target to be detected in the next frame image is determined;

[0049] Based on the tracking trajectory sequence images of the pedestrian target to be detected in the next frame image, the trained improved U-Net network is used to remove the object occlusion to obtain the pedestrian posture unobstructed sequence feature map; wherein the improved U-Net network is: adding a channel attention mechanism to each decoder module in the decoder path of the U-Net network, and adding a multi-scale attention mechanism to the lateral jump connection in the U-Net network;

[0050] Based on the unobstructed sequence feature map of pedestrian posture, gait features are extracted, and the authentication result is obtained after comparison.

[0051] The purpose of the present invention is to design an end-to-end pedestrian contour reconstruction and restoration model before extracting and segmenting the gait sequence graph, integrating gait features, body features, face features and other structured information to achieve pedestrian identification.

[0052] The gait recognition method based on pedestrian segmentation posture reconstruction and restoration provided by the present invention extracts facial features by inputting a video, performs target detection on one or more pedestrians based on the facial features, then performs target tracking, obtains a tracking trajectory sequence diagram, and then first performs pedestrian posture reconstruction and restoration on the sequence-extracted pictures, adopts a pedestrian contour reconstruction and restoration model, automatically removes coats, bags and other equipment on pedestrians through training and learning, and then performs semantic segmentation based on person recognition, extracts human body features, obtains a black-and-white contour diagram based on the human shape, and then extracts gait features based on the black-and-white contour sequence diagram for subsequent gait recognition.

[0053] First, the method accesses the video stream, decodes the video stream into frames through ffmpeg, and inputs them into the trained YOLOV9 pedestrian target detection network. YOLOV9 is an improved network based on the existing YOLOV7 network. YOLOV9 introduces the concept of programmable gradient information (PGI), a new auxiliary supervision framework for generating reliable gradient information to update network weights during training. PGI solves the problems caused by the deepening of deep networks by auxiliary reversible branches and provides complete input information to calculate the objective function. YOLOV9 designs a new lightweight network architecture GELAN, which is based on gradient path planning. GELAN achieves better parameter utilization than the most advanced methods based on depthwise separable convolution by using traditional convolution operations. YOLOV9 shows significant advantages in accuracy, parameter utilization, and computational efficiency.

[0054] After the i-th frame image captured in the video is input into the YOLOV9 target detection network, the features are extracted through the BackBone network structure of YOLOV9. The Neck structure performs information fusion and feature enhancement between feature levels to provide richer feature representations. The Head outputs the detected pedestrian position and category in the scene graph. After obtaining the bounding box and category label of the pedestrian target, the FairMOT model is used to extract the pedestrian feature representation for each detected target. These feature representations will be used for subsequent target tracking. The Hungarian algorithm is used to associate the target in the current frame with the target in the previous frame based on the similarity and IOU between the target features. According to the result of target association, the state information of each target is updated, including position, speed, etc. Kalman filtering is used for state estimation and prediction, predicting its position in the next frame and updating its state (position, speed, etc.) information.

[0055] Specifically, a video is accessed, and continuous frames are obtained after video decoding. For each frame, target detection (YOLOV9 network) is first performed to obtain pedestrian targets, and the appearance features of the target are extracted (using the FairMOT model) to facilitate target tracking; the next frame is processed, target detection is performed to obtain pedestrian targets, and appearance features (including but not limited to clothing style, color, hairstyle, body posture, etc.) are extracted, and matched with the features of all targets extracted in the previous frame (using the Hungarian algorithm). If the features are similar, they are considered to be the same person, and the target is added to the tracking sequence, and the target status information is updated; each frame is processed in this way. If the pedestrian target walks out of the video range, that is, when processing the next frame, it is found that all the extracted target features are different from the target features, then the tracking of the target is considered to be completed, and a complete tracking sequence for the target is generated.

[0056] After the FairMOT tracking algorithm, the tracking trajectory sequence images of the pedestrian target are obtained. Each image in the tracking sequence image is input into the pedestrian contour reconstruction and repair model to eliminate the occlusion of objects such as coats and bags in the image. By adding backpacks, coats and other objects to the normal form sequence image to construct a normal dataset A and a pedestrian posture occluded dataset B, a U-Net structure pedestrian contour reconstruction and repair model is trained using the paired datasets. Two attention mechanisms are added to the U-Net network model.

[0057] One is to add the channel attention mechanism to each decoder module in the decoder path of U-Net: First, for each decoder module in the decoder path of U-Net, a feature map is output based on the sequence of pedestrian posture occluded images. For the output feature map of each decoder module, a global average pooling operation is applied to convert the feature map into a global feature vector. The global feature vector is input to the fully connected layer for learning the weights of the channels. These weights represent the importance of each channel to the restoration result. The learned channel weights are applied to the original feature map (the feature map output by each decoder module based on the input sequence of pedestrian posture occluded images) to obtain the weighted feature map. The shape and dimension of the channel weights can be adjusted using a one-dimensional convolution operation. The weighted feature map is multiplied with the original feature map to obtain the final feature map as the output of the decoder module. By adding the channel attention mechanism to each decoder module in the decoder path, the network can pay more attention to important feature channels, thereby improving the effect of image restoration.

[0058] Another method is to add a multi-scale attention mechanism to the horizontal jump connection in the U-Net network, adding an attention mechanism to the first, second, and fourth layers in the U-Net. This ensures that multi-scale features can be captured at different levels, and weighted and fused operations are performed on feature maps of different resolutions. This allows for more accurate positioning of the interfering parts in the image, achieving more precise image restoration effects.

[0059] The network structure of the pedestrian contour reconstruction and repair model based on the U-Net network is shown in the figure Figure 2 As shown, the U-Net network includes a decoder path and an encoder path; in the decoder path, it includes four decoder modules from top to bottom; in the encoder path, it includes four encoder modules from top to bottom; the feature map processed by the channel attention mechanism output by the first decoder on the left is input into the multi-scale attention mechanism module through a jump connection to obtain a feature map, which is spliced ​​with the feature map restored by the first encoder on the right for subsequent operations.

[0060] As shown in Figure 3(a), in the channel attention mechanism module, this module is divided into two parts: compression and excitation. The compression part uses a global pooling operation to compress the global spatial information, and then performs feature learning in the channel dimension to form the importance of each channel to the channel. Finally, different weights are assigned to each channel through the excitation part.

[0061] As shown in Figure 3(b), in the multi-scale attention mechanism module, the input tensor is first decomposed into two parallel one-dimensional feature encoding vectors to model cross-channel dependencies with spatial position information. Through one-dimensional global average pooling in the horizontal dimension, the module captures global information along the vertical dimension. Similarly, one-dimensional global average pooling in the vertical dimension captures global information along the horizontal dimension. These processes enable the module to not only maintain accurate position information, but also effectively utilize long-range dependencies.

[0062] The pedestrian sequence graph after the U-Net image restoration network is input into the gait feature extraction network for feature extraction to obtain the gait features, which are then compared with the gait features already stored in the gait database. If the similarity is high, it can be judged as the same person based on the identity information stored in the database, thereby achieving identity authentication.

[0063] Embodiment 2

[0064] This embodiment provides a gait recognition system based on pedestrian temporal contour reconstruction and restoration.

[0065] A gait recognition system based on pedestrian temporal profile reconstruction and restoration, comprising:

[0066] A data acquisition module is configured to: acquire a pedestrian video stream and decode it to obtain a frame image of the pedestrian;

[0067] A feature extraction module is configured to: based on the frame image, use a pedestrian target detection network to extract appearance features and determine the pedestrian target to be detected;

[0068] The trajectory determination module is configured to: determine a tracking trajectory sequence image of a pedestrian target to be detected in a next frame image according to continuous frame images;

[0069] The occlusion removal module is configured to: based on the tracking trajectory sequence image of the pedestrian target to be detected in the next frame image, use the trained improved U-Net network to remove the object occlusion and obtain the pedestrian posture unobstructed sequence feature map; wherein the improved U-Net network is: adding a channel attention mechanism to each decoder module in the decoder path of the U-Net network, and adding a multi-scale attention mechanism to the lateral jump connection in the U-Net network;

[0070] The identity authentication module is configured to extract gait features based on the unobstructed sequence feature map of pedestrian postures, and obtain the authentication result after comparison.

[0071] It should be noted that the data acquisition module, feature extraction module, trajectory determination module, occlusion removal module and identity authentication module are the same as the examples and application scenarios implemented by the steps in Embodiment 1, but are not limited to the contents disclosed in Embodiment 1. It should be noted that the above modules as part of the system can be executed in a computer system such as a set of computer executable instructions.

[0072] Embodiment 3

[0073] This embodiment provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the steps in the gait recognition method based on pedestrian temporal contour reconstruction and restoration as described in the first embodiment above are implemented.

[0074] Embodiment 4

[0075] This embodiment provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, the steps in the method for gait recognition based on pedestrian temporal contour reconstruction and restoration as described in the first embodiment are implemented.

[0076] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of hardware embodiments, software embodiments, or embodiments combining software and hardware. Furthermore, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) containing computer-usable program code.

[0077] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0078] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0079] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0080] A person skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium, and when the program is executed, it can include the processes of the embodiments of the above-mentioned methods. The storage medium can be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc.

[0081] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A gait recognition method based on pedestrian temporal profile reconstruction and restoration, characterized in that: include: Obtain the pedestrian video stream and decode it to obtain the pedestrian frame image; Based on the frame image, a pedestrian target detection network is used to extract appearance features and determine the pedestrian target to be detected; According to the continuous frame images, a tracking trajectory sequence image of the pedestrian target to be detected in the next frame image is determined; Based on the tracking trajectory sequence images of the pedestrian target to be detected in the next frame image, the trained improved U-Net network is used to remove the object occlusion to obtain the pedestrian posture unobstructed sequence feature map; wherein the improved U-Net network is: adding a channel attention mechanism to each decoder module in the decoder path of the U-Net network, and adding a multi-scale attention mechanism to the lateral jump connection in the U-Net network; Based on the unobstructed sequence feature map of pedestrian posture, gait features are extracted, and the authentication result is obtained after comparison.

2. The gait recognition method based on pedestrian temporal profile reconstruction and restoration according to claim 1 is characterized in that: The process of extracting appearance features and determining the pedestrian target to be detected based on the frame image using a pedestrian target detection network includes: extracting features based on the frame image using the BackBone network structure of the YOLOV9 target detection network, performing information fusion and feature enhancement between feature levels using the Neck structure of the YOLOV9 target detection network, outputting the detected position and category of pedestrians in the frame image using the Head of the YOLOV9 target detection network, obtaining the bounding box and category label of the pedestrian target to be detected, and extracting the feature representation of the pedestrian target to be detected using the FairMOT model for each detected pedestrian target to be detected.

3. The gait recognition method based on pedestrian temporal profile reconstruction and restoration according to claim 1 is characterized in that: The process of determining the tracking trajectory sequence pictures of the pedestrian target to be detected in the next frame image includes: associating the similarity and IOU between the tracking trajectory sequence pictures of the pedestrian target to be detected in the previous frame image and the tracking trajectory sequence pictures of the pedestrian target to be detected in the current frame image to obtain a target association result, thereby updating the state information of the pedestrian target to be detected; performing state estimation and prediction on the state information of the pedestrian target to be detected to obtain the tracking trajectory sequence pictures of the pedestrian target to be detected in the next frame image.

4. The gait recognition method based on pedestrian temporal profile reconstruction and restoration according to claim 1, characterized in that: The improved U-Net network training process includes: constructing a pedestrian posture unobstructed sequence data set and a pedestrian posture occluded sequence data set; based on the pedestrian posture occluded sequence data, using a decoder module with a channel attention mechanism to obtain a feature map output by each decoder module; using a global average pooling operation on each feature map to convert the feature map into a global feature vector; inputting the global feature vector into a fully connected layer to learn channel weights; applying the learned channel weights to the feature maps output by each decoder module respectively to obtain weighted feature maps; multiplying the weighted feature maps with the pedestrian posture unobstructed sequence data to obtain the final feature map.

5. The gait recognition method based on pedestrian temporal profile reconstruction and restoration according to claim 4 is characterized in that: A one-dimensional convolution operation is used to adjust the shape and dimension of the channel weights.

6. The gait recognition method based on pedestrian temporal profile reconstruction and restoration according to claim 1, characterized in that: The improved U-Net network training process includes: adding a multi-scale attention mechanism in the first layer, the second layer and the fourth layer of the U-Net network to capture multi-scale features, and performing weighted and fusion operations on feature maps of different resolutions.

7. The gait recognition method based on pedestrian temporal profile reconstruction and restoration according to claim 1, characterized in that: The process of obtaining the identity authentication result through comparison includes: comparing the gait characteristics with the gait characteristics already stored in the gait database, determining whether they are the same person, and obtaining the identity authentication result.

8. A gait recognition system based on pedestrian temporal profile reconstruction and restoration, characterized in that: include: A data acquisition module is configured to: acquire a pedestrian video stream and decode it to obtain a frame image of the pedestrian; A feature extraction module is configured to: extract appearance features based on the frame image and use a pedestrian target detection network to determine a pedestrian target to be detected; The trajectory determination module is configured to: determine a tracking trajectory sequence image of a pedestrian target to be detected in a next frame image according to continuous frame images; The occlusion removal module is configured to: based on the tracking trajectory sequence image of the pedestrian target to be detected in the next frame image, use the trained improved U-Net network to remove the object occlusion and obtain the pedestrian posture unobstructed sequence feature map; wherein the improved U-Net network is: adding a channel attention mechanism to each decoder module in the decoder path of the U-Net network, and adding a multi-scale attention mechanism to the lateral jump connection in the U-Net network; The identity authentication module is configured to extract gait features based on the unobstructed sequence feature map of pedestrian postures, and obtain the authentication result after comparison.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the steps in the gait recognition method based on pedestrian temporal contour reconstruction and restoration as described in any one of claims 1 to 7 are implemented.

10. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the steps in the method for gait recognition based on pedestrian temporal contour reconstruction and restoration as described in any one of claims 1 to 7 are implemented.

Citation Information

Patent Citations

  • Visual language recognition method and device, electronic equipment and storage medium

    CN114581812A

  • Skin disease image segmentation method and system based on joint attention convolutional neural network

    CN115457021A

  • Gait recognition method based on gait profile map sequence shielding recovery

    CN117437689A

  • Tongue body segmentation method based on improved UNet

    CN118038058A

  • Gait-based identity recognition method and apparatus, and electronic device

    WO2020042419A1

Cited By

  • Dynamic posture analysis method and system based on sports biomechanics

    CN119257589A

  • Biped humanoid robot attitude detection method based on time sequence multi-scale feature fusion

    CN120047929A

  • Bipedal humanoid robot posture detection method based on temporal multi-scale feature fusion

    CN120047929B