A pedestrian re-identification method and system from an aerial perspective

Through the depth separable convolution network and adaptive information enhancement module, the problem of low resolution and occlusion of pedestrian re-identification from the aerial perspective is solved, a lightweight model with high accuracy and robustness is achieved, and the pedestrian re-identification from the aerial perspective is improved. Re-identification performance.

CN114529938BActive Publication Date: 2024-10-18SHANDONG NORMAL UNIV
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202210013855.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-01-06
Publication Date
2024-10-18
Estimated Expiration
2042-01-06

AI Technical Summary

Technical Problem

Pedestrian re-identification from an aerial perspective faces low resolution and occlusion problems, which increases the difficulty of recognition. It is difficult for existing technology to achieve high-precision lightweight models under hardware limitations.

Method used

Using a deep separable convolutional network combined with a parallel structure and an adaptive information enhancement module, it learns the discriminative features of pedestrians through feature extraction and part-level attention matrices, strengthens the effective areas and weakens the invalid areas, dynamically adjusts the importance of features, and enhances the recognition of pedestrians. Robustness to low pixels and occlusions.

Benefits of technology

It improves the accuracy and robustness of pedestrian re-identification from an aerial perspective, ensures that the model remains lightweight under hardware limitations, enhances attention to human body structure information, reduces information loss, and improves recognition performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114529938B_ABST
    Figure CN114529938B_ABST
Patent Text Reader

Abstract

The present invention provides a method and system for pedestrian re-identification from an aerial perspective, which extracts features from pre-processed pedestrian images from an aerial perspective to obtain discriminative features; uses a part-level attention matrix to learn the discriminative features of pedestrians, strengthens effective areas, weakens invalid areas, and uses variable weights to convert multiple part-level features into overall features, and adaptively learns the features to achieve pedestrian re-identification. The present invention can improve the ability to judge pedestrian images obtained from aerial photography.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of pedestrian re-identification, and in particular relates to a pedestrian re-identification method and system from an aerial perspective. 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] With the rapid development of pedestrian re-identification methods, more and more methods have been used in the field of pedestrian re-identification, but most of these methods only focus on the accuracy of the model and ignore the number of model parameters. In actual situations, due to hardware limitations, it is impossible to transmit the pedestrian information captured by the camera to the central server to run the pedestrian re-identification method in the server. Therefore, in large-scale monitoring applications, the most appropriate method should be to perform pedestrian re-identification methods on the camera side, and only need to send the processed results to the central server to reduce the burden on the server. Due to the limitations of the embedded device on the camera side, the parameters of the pedestrian re-identification method cannot be compared with the parameters of the pedestrian re-identification method running on the server side. The pedestrian re-identification method running on the embedded device should be a lightweight model with as small a number of parameters as possible and as high an accuracy as possible.

[0004] With the rapid development of aircraft technology represented by drones, the flexibility and clarity of images taken have been significantly improved, especially the clarity of images is comparable to that taken by traditional surveillance cameras. Therefore, applying pedestrian re-identification methods to flying equipment, transferring from traditional ground monitoring to aerial monitoring, can make pedestrian re-identification more widely used.

[0005] The purpose of pedestrian re-identification (Re-ID) is to find people with the same identity from pictures and videos taken by multiple unrelated cameras. This method can be applied to the fields of catching criminals and finding lost persons. Traditional pedestrian re-identification methods generally use pictures / videos taken by street cameras to track people, but street cameras may have blind spots and there may be no available cameras in some remote areas. Currently, flight technology has been widely developed, and the clarity of pictures / videos taken by cameras on aircraft equipment is comparable to that of traditional surveillance cameras. However, most of the current research work in the field of pedestrian re-identification is concentrated on ground monitoring, and there is less research on aerial monitoring.

[0006] The difficulties of pedestrian re-identification methods under the current aerial perspective are mainly concentrated in the following aspects: 1. Although the cameras carried by drones can be comparable to or even slightly better than traditional surveillance cameras, the flight altitude of drones is generally above 20 meters, which is greater than the distance captured by ground cameras. Therefore, the clarity of the obtained pictures / videos will inevitably be affected. Therefore, low resolution is an important factor affecting the performance of pedestrian re-identification under the aerial perspective. 2. Under outdoor conditions, in the pedestrian pictures taken by the camera, the pedestrians in the pictures will inevitably be blocked. There are many types of occlusions, such as: trees, buildings, other pedestrians, shadows caused by light, umbrellas, etc. How to solve the occlusion problem is also one of the urgent issues to be solved in pedestrian re-identification from an aerial perspective. 3. Since the pictures taken from an aerial perspective are different from those taken on the ground, as shown in Figure 1(a) and (b), by comparing the two pictures taken by different cameras, it can be seen that the picture taken by the drone (Figure 1(a)) is a bird's-eye view picture, in which the top of the person's head occupies a larger area, and other effective information cannot be effectively captured (such as the texture information of pants and shoes), while the picture taken by the ground camera (Figure 1(b)) has better features of the person. Therefore, the difficulty of pedestrian re-identification from an aerial perspective is greater than that of traditional ground pedestrian re-identification. Summary of the invention

[0007] In order to solve the above problems, the present invention proposes a pedestrian re-identification method and system from an aerial perspective, which can improve the ability to judge pedestrian images obtained from aerial photography.

[0008] According to some embodiments, the present invention adopts the following technical solutions:

[0009] A method for pedestrian re-identification from an aerial perspective includes the following steps:

[0010] Feature extraction is performed on the preprocessed aerial view pedestrian images to obtain discriminative features;

[0011] A part-level attention matrix is ​​used to learn the discriminative features of pedestrians, strengthen the effective areas and weaken the invalid areas, and use variable weights to transform multiple part-level features into overall features, and adaptively learn the features to achieve pedestrian re-identification.

[0012] As an optional implementation, the preprocessing process includes scaling the image size to a set size and performing data enhancement on the scaled image.

[0013] As an optional implementation, during the feature extraction process, a convolutional network is constructed and trained, and the trained convolutional network is used for feature extraction. The convolutional network is constructed using a parallel structure and assisted by a residual mechanism to stabilize and strengthen the feature extraction process.

[0014] As a further limitation, the convolutional network includes multiple layers, each layer includes two convolution blocks with non-shared parameters to form a parallel structure, and a residual structure is added between each layer to enrich the feature information learned in each layer.

[0015] As a further limitation, the convolutional network uses a depth-wise separable convolutional layer as the smallest unit, utilizes parallel IBlocks with different receptive field sizes, and uses an adaptive fusion method to adjust the different proportions of two IBlocks to form a Cblock block. At the same time, the Cblock block also contains a residual mechanism, which directly uses the input features as part of the output using a 1×1 convolution kernel.

[0016] As a further limitation, an adaptive fusion mechanism with variable parameters is used to dynamically adjust the ratio of each Cblock.

[0017] A pedestrian re-identification system for aerial perspective, comprising:

[0018] A preprocessing module, configured to preprocess the pedestrian image acquired from the aerial perspective;

[0019] A feature extraction module is configured to extract features from the preprocessed aerial view pedestrian image to obtain discriminative features;

[0020] The adaptive information enhancement module is configured to use the part-level attention matrix to learn the discriminative-level features of pedestrians, strengthen the valid areas, weaken the invalid areas, and use variable weights to transform multiple part-level features into overall features, and adaptively learn the features to achieve pedestrian re-identification.

[0021] As an optional implementation, the adaptive information enhancement module receives the extracted feature vector, converts the feature vector into multiple non-overlapping partial features using a block maximum pooling layer, copies the block feature vector three times and passes them into three fully connected layers whose parameters are not shared, transposes the output of one of the fully connected layers and multiplies it with the output of another fully connected layer to obtain the similarity between the two features, and performs an inner product operation on the calculated attention matrix and the results of the remaining fully connected layers to obtain the enhanced partial features.

[0022] As a further limitation, the enhanced partial features include structural information of the pedestrian's body, and utilize a variable-weighted attention enhancement mechanism to dynamically allocate the proportion of specified parts in the features according to the importance of different body structures.

[0023] As an optional implementation, it also includes a parameter updating module, which is configured to use a loss function to back-propagate the network to calculate the parameter gradient values ​​of the feature extraction module and the adaptive information enhancement module, and update the parameters.

[0024] An electronic device comprises a memory and a processor, and computer instructions stored in the memory and executed on the processor. When the computer instructions are executed by the processor, the steps in the above method are completed.

[0025] A computer-readable storage medium is used to store computer instructions, and when the computer instructions are executed by a processor, the steps in the above method are completed.

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

[0027] The present invention proposes a pedestrian re-identification method from an aerial perspective. The method uses depthwise separable convolution to replace the traditional convolution method, uses depthwise separable convolution as the smallest unit, adopts a parallel branch structure, and deepens the depth of the network to better learn effective human structure features.

[0028] The present invention also adds an adaptive information enhancement module to improve network accuracy and enhance robustness to low-pixel and occlusion problems. It improves accuracy while ensuring lightweight. Compared with previous methods, it further improves the recognition accuracy of pedestrian re-identification under aerial perspective. The adaptive information enhancement module pays more attention to the structural information of the human body, and uses an attention mechanism to assign different attention levels to different parts. At the same time, in order to solve the information loss problem of traditional networks, a residual structure is also added to the module. The two cooperate with each other, so that the model can learn more robust features.

[0029] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, preferred embodiments are given below and described in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] 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.

[0031] Figure 1 (a) and (b) are schematic diagrams showing the difference between two viewing angles in the background technology;

[0032] Figure 2 A brief flowchart of pedestrian re-identification from an aerial perspective;

[0033] Figure 3 Schematic diagram of the internal structure of the feature extraction network;

[0034] Figure 4 Schematic diagram of the adaptive information enhancement module. DETAILED DESCRIPTION

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

[0036] 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.

[0037] 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.

[0038] A pedestrian re-identification method from an aerial perspective mainly includes two steps: feature extraction and information enhancement. In this embodiment, it is implemented by a feature extraction network and an adaptive information enhancement module.

[0039] The present invention mainly adopts a feature extraction network with a depth-separable convolution as the smallest unit, and uses an adaptive information enhancement module at the end of the network to enhance the representation of human body structure information. In the feature extraction network, we found that the performance of deepening the depth of the network is better than the performance of widening the width of the network. Therefore, in the process of designing the network, the depth of the network is intentionally deepened to obtain more robust feature information. In order to strengthen effective branches and suppress invalid branches, variable weights are added to the parallel units to change the proportion of different units in the parallel units. At the same time, the convolution layer is also a parallel structure rather than a traditional serial structure. This structure can make the network more flexible, so that feature information that cannot be obtained by the serial structure can be learned.

[0040] In order to reduce the problem of information loss caused by the network being too deep, the present invention directly adds a residual structure between each parallel convolution layer to directly pass the feature information obtained by the intermediate layer to the features obtained by the value learning part without passing through the next convolution layer to measure the similarity and pass the features and similarities into the loss function to update the network parameters. Through a certain number of iterative training, the network achieves the best effect. After extracting features through three layers of parallel convolution layers, the present invention specially constructs an adaptive information enhancement module in order to better mine contextual information and enhance the representation of the extracted local feature information. The module uses a unique structure with a residual structure and an attention mechanism to deeply mine feature information.

[0041] For details, see Figure 2 As shown in the figure, the network includes: a convolution block composed of depthwise separable convolution as the smallest unit, a residual structure responsible for directly transferring feature information to subsequent convolution blocks without passing through adjacent convolution blocks, and an adaptive information enhancement module responsible for learning human body structure information. The overall network is optimized and updated using two loss functions. The network improves performance while ensuring the lightweight of the model.

[0042] For details, see Figure 3 As shown, the composition of the convolution block uses the depthwise separable convolution as the minimum unit (dwconv1). In order to learn information of pedestrians at different scales, the present invention pre-sets convolution blocks with different receptive fields (Cblock1~Cblock6), which are different in the number of times the Block is repeated in the internal IBlock. In order to dynamically change the importance of different convolution blocks, the present invention uses the attention mechanism to dynamically change the weight of each convolution block. Since the purpose of the model is lightweight, a 1×1 convolution kernel is added to Cblock to compress and restore the number of channels, thereby reducing the number of parameters and realizing the concept of a lightweight network.

[0043] Specifically, Figure 4 This is the adaptive information enhancement module diagram of the present invention. The input is the feature vector obtained by the last layer of convolution operation. The self-attention mechanism is used to enable the network to autonomously discriminate and mine the effective information of the features to obtain enhanced discriminative features, and the residual structure with a batch normalization layer is used to strengthen the training process.

[0044] The network structure proposed above needs to be trained before use. Specifically, the training includes two parts: the first is the training operation and the second is the test operation. Since the training adopts supervised training, during the training process, the images and the labels of the images are passed to the network together. The training process uses the training set images in the data set. This part of the images accounts for the majority of the training set images. The main function is to send them to the network for learning, inform the network of the identity of the pedestrians in the images in advance, and induce the network to learn the difference between pedestrians in different images. Through a large number of training set images, the network can discover the unique discriminative features of different pedestrians. After the training is completed, in order to detect the effectiveness of this training stage, a test stage will be added between the training and the training. The purpose is to verify whether the training at this end is effective. At the same time, if the network falls into a local maximum, it can also be discovered in time. The images used in the test process at this time are randomly selected from the training set images. Since the test images have been used in the network training, the test results at this time often appear to be falsely high, so the test results are not used as the final results.

[0045] After a round of network training, the present invention will use the test set in the data set to perform a network test, and use the test set pictures to directly match the gallery set pictures in the data set. During the test, in order to ensure the effectiveness of the test, the test set and the gallery set pictures only have the same identity of the pedestrians in the pictures, and the pictures in the test set have not been seen by the network during the training process. In this way, it can be ensured that the network makes judgments by obtaining the discrimination information of the pedestrians in the picture, rather than the results obtained by "memory". Since the test is performed in a non-shared manner, the evaluation results at this time represent the quality of network performance. The network often undergoes multiple rounds of training, and the above test is performed once for each training, and the training is repeated until the test network reaches a satisfactory performance.

[0046] Each parameter of the network is updated in the back propagation phase. The network uses the loss function to obtain the loss value through forward propagation. The network uses triple loss and Softmax loss as the loss function of the network. The partial derivative of the network is calculated according to the loss value to update the network parameters. Back propagation is performed once for each training, and it is continued until the network performance reaches the highest level.

[0047] In the specific implementation example, the network construction process is:

[0048] After obtaining the images in the data set, the images are first preprocessed and scaled to 256×128. At the same time, the images are randomly inverted, cropped, and blocked for data enhancement. During the training process, the convolutional network parameters are pre-stored in the Adam optimizer. After each training, the loss function is used to update the partial derivatives of the parameters in the optimizer. The proposed network uses python as the programming language and pytorch as the deep learning framework. The network is tested and trained in NVIDIA Titan RTX 24GB.

[0049] Specifically, Figure 2 The internal structure represented by the convolutional block in Figure 3 (lower left) shows a detailed analysis of this part: Figure 3As shown, the present invention uses depth-separable convolution to replace the traditional convolution operation. This method can greatly reduce the number of parameters required for the convolution operation. In order to deepen the dimension of the feature in the Block so that the feature can carry more information, a 1×1 convolution kernel is used to deepen the feature dimension before the depth-separable operation, and a normalization layer is used after the depth-separable convolution layer to remove the absolute difference between the data and highlight the relative difference. Then, the activation function is used to further increase the nonlinearity of the network model, thereby obtaining features with richer information. In order to obtain convolution blocks with different receptive fields, blocks with different receptive field sizes can be used for different regions. This is reflected in the model by repeating multiple Blocks. In particular, we artificially define IBlock blocks with fixed repetition times, which are: 3, 5, 7, and 9. The reason for defining these times is that after actual testing, the role of convolution blocks less than 3 or greater than 10 is not obvious, and effective information cannot be learned. Since the benefits brought by the parallel structure are greater than those of the serial structure, the defined IBolck is used to build a parallel structure to obtain multi-scale features. Two IBlocks with different receptive fields are arranged in parallel and the obtained multi-scale features are fused together using an adaptive fusion mechanism to obtain more discriminative features. Since convolution blocks with different receptive fields can learn features of different scales, we pre-defined four different convolution blocks and combine them in pairs to design six different Cblock structures, namely <3, 5><3,7><3,9><5,7><5,9><7,8>, i.e. Figure 3 As shown in the structure in the lower right of the figure, due to the different importance of feature information at different scales, we cannot simply add the features obtained by each Cblock, because the features learned by each Cblock are not necessarily valid information. The features extracted by some Cblocks may be invalid due to factors such as occlusion and light in the picture. If they are simply added, the effectiveness of the feature information obtained will be suppressed or even damaged. For this reason, the attention mechanism is also used to change the weight of each Cblock to change the importance of each Cblock. This method can make the network smaller while ensuring better efficiency and performance.

[0050] The above description can build the attached Figure 2 As shown in the convolution block, since the performance of the parallel structure is higher than that of the serial structure, two convolution blocks with non-shared parameters are used to form a parallel structure in each layer to replace the traditional serial convolution operation. At the same time, a residual structure is added between each layer to enrich the feature information learned in each layer.

[0051] In order to mine contextual information from the features extracted from the convolutional blocks to form a more robust feature representation, the present invention also proposes an adaptive information enhancement module, which can mine the relationship between each body part of the pedestrian, learn discriminative partial aggregation features, and use the attention mechanism to assign different weights to different body parts. Since our method is based on body parts as units, it is a part-level feature rather than a pixel-level feature. The part-level feature can make the network pay more attention to the connection between different body parts rather than just considering the association between pixels. This method can suppress and reduce the impact of noise such as occlusion and shadow on the discrimination.

[0052] Specifically, the input of the adaptive information enhancement module is the sum of the outputs of the last convolutional block and the residual structure. Since partial-level features are used, the input sum needs to be converted into n non-overlapping partial features through a block maximum pooling layer. The formula is expressed as Eq. (1).

[0053] F=CPool(Input) (1)

[0054] The Input is the sum of the outputs of the convolutional block and the residual structure of the next layer, CPool is the block maximum pooling layer, and the obtained F is the feature vector of the internal block, which is expressed as F = {x p}, p represents the number of divided blocks.

[0055] Then, the divided feature vector F is copied three times and passed into three fully connected layers FC1, FC2, and FC3 whose parameters are not shared. The output of FC2 is transposed and multiplied with the output of FC1 to obtain the similarity between the two features. In order to better distinguish the differences between different parts, the parts with high similarity have larger values, and the parts with low similarity are closer to 0. An exponential function is added to amplify the differences. The formula is expressed as Eq. (2).

[0056] A p =exp(FC1(x1 p )·[FC2(x2 p )] T ) (2)

[0057] Where exp() represents the exponential function, FC1 and FC2 are different fully connected layers, and T is the transposition operation. p Each element in the range is 0 to 1.

[0058] The calculated attention matrix A p After inner product with the result obtained by fully connected layer 3, the enhanced part feature I is obtained p .

[0059]

[0060] At this time, the enhanced part features I p Contains the structural information of the pedestrian's body and uses the attention matrix A p According to the importance of different structures, the proportion of the specified parts in the feature is changed. Since the input feature F is converted into a feature vector in the form of P parts through the block maximum pooling layer, the attention matrix A p The importance of the represented part is expressed in the range of p×p, so this transforms the pixel-level attention into part-level attention, which enhances the robustness to noise interference.

[0061] Since the output characteristic I p It contains p different parts inside, and as the output feature, the feature containing p parts should be converted into a feature of only a single part. Since the importance of each part is different, the p parts cannot be simply added together. Therefore, a variable weight attention enhancement mechanism is added to dynamically allocate the proportion of each part. At the same time, in order to reduce the information loss problem caused by the network being too deep, a residual structure is added, and a batch normalization layer is used to replace the traditional 1×1 convolution layer to reduce the impact of possible noise. The corresponding formula is shown in Eq. (4).

[0062]

[0063] After obtaining the output features, in order to update the network during training so that the network can learn effective discriminative features, the present invention adopts triple loss and cross entropy loss with Softmax as the loss function of the network, and the corresponding formula is Eq. (5).

[0064] Loss = L tri (F out )+L soft (F out ) (5)

[0065] Where L tri is the triplet loss, L soft is the cross entropy classification loss with Softmax.

[0066] In a specific embodiment, the input images are first preprocessed to scale images of different sizes to a uniform size. In order to enhance the effectiveness of training, the images are randomly inverted, randomly cropped, and randomly blocked. The preprocessed images are passed into the network in batches to train the network.

[0067] Experimental example:

[0068] Experiments are conducted on three datasets: Market-1501, DukeMTMC-reID, and PRAI-1581.

[0069] Market-1501 was released in 2015. The dataset contains a total of 32,668 images, corresponding to 32,668 bounding boxes. These images were captured from 6 unrelated cameras. There are 1,501 identity categories. The 32,668 images are divided into two categories, one with 19,732 as gallery images and the other with 12,936 as training images. A few images contain occluded pedestrians.

[0070] DukeMTMC-reID contains more images than Market-1501, with a total of 36,441 images of 1,404 people taken by eight disjoint cameras, of which 16,522 are used as training images, 2,228 are used as query images, and 17,661 are used as gallery images.

[0071] PRAI-1581 is the first formal aerial person re-identification dataset. It contains 39,461 images of 1,581 different pedestrians taken by two drones. These images are divided into training and test sets, and each experiment keeps a fixed partition. The ratio of training set to test set is roughly set to 1:1. The training set contains 19,523 images of 782 identities. The rest of the dataset is used as a test set, containing 19,938 images of 799 identities. There are 4,680 query images and 15,258 gallery images.

[0072] The evaluation index uses the cumulative matching feature (CMC) and mean average precision (mAP) scores commonly used in the field of pedestrian re-identification to measure the performance of the model. The higher the accuracy of CMC and mAP, the better the effect. At the same time, in order to verify the lightweight of the model, the number of model parameters will also be tested during the experiment to measure the scale of the model.

[0073] By conducting experiments on three data sets, we compared several other popular lightweight networks with the currently popular large pedestrian re-identification network. It can be seen from Tables 1-3 that the method provided in this embodiment has the advantages of lightweight model and guaranteed retrieval performance on different data sets.

[0074] Table 1. Comparison results on the Market1501 dataset

[0075]

[0076]

[0077] Table 2. Comparison results on the DukeMTMC-reID dataset

[0078]

[0079]

[0080] Table 3. Comparison results on the PRAI-1581 dataset

[0081] Method Param(M) R1 mAP ID+SP - 48.3 37.9 MobileNet 2.14 44.6 33.2 ResNet50 25.56 49.8 39.6 HA-CNN 2.7 48.6 39.2 PCB ≈26 48.1 38.5 OSNet 2.2 54.4 42.1 CDNet 1.8 56.6 47.4 The present invention 1.9 58.0 48.5

[0082] Based on the same inventive concept, one or more embodiments provide an electronic 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 pedestrian re-identification method from an aerial perspective in the above-mentioned implementation example is implemented.

[0083] Based on the same inventive concept, one or more embodiments provide a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the pedestrian re-identification method from an aerial perspective in the above implementation example.

[0084] Based on the same inventive concept, one or more embodiments provide a pedestrian re-identification system from an aerial perspective, including:

[0085] The convolution structure responsible for extracting the features of pedestrians in the image: Use depthwise separable convolution as the smallest unit to build the convolution layer, and use residual structure, adaptive fusion mechanism, and attention mechanism to form a feature extraction convolution block. Use multiple convolution blocks to build a parallel structure and use the residual mechanism to extract robust features.

[0086] Adaptive information enhancement module: The extracted features are passed into the adaptive information enhancement module, and the part-level attention matrix is ​​used to give different attention to different parts of the pedestrian's body. Due to the use of the part-level attention mechanism, it has better resistance to interference factors. Finally, adaptive weights are used to transform multiple part-level features into a whole as the final output.

[0087] The data used mainly include three types of pictures, namely training set pictures, test set pictures, and gallery set pictures. For the training set pictures, the main function of the training set pictures is to pass them into the network as training pictures after the network is built for the network to learn the unique features of pedestrians in the pictures. The network uses the loss function to perform reverse update to calculate the gradient value and update the network parameters. The network parameters are continuously updated using the training set pictures so that the network can better find the discriminative features of the pictures. For the test set pictures, after the network has undergone a certain round of training, in order to verify the effectiveness of the training, the test set pictures are passed into the network. In some supervised methods, the identity category of the picture is also passed in with the test set pictures. The network is evaluated by observing whether the network's identification of the pedestrian in the picture is consistent with the real identity. In the unsupervised method, the identity category is not evaluated for the test set pictures. Secondly, the test set pictures are compared with the gallery set pictures. According to the pedestrians in the given test set pictures, people with the same identity in the gallery set pictures are found. The more correct matches, the better the network performance. Generally speaking, the test set images do not overlap with the training set images and are independent of each other. The gallery set images serve as a "gallery" during the test process to observe whether the network can find images with the same pedestrian identity.

[0088] 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 a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, 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, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0089] The present invention is described with reference to the flowchart and / or block diagram of the method, device (system), and computer program product according to the embodiment of the present invention. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the process and / or box 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 produce a device for implementing the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.

[0090] These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device that implements the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.

[0091] These computer program instructions may also be loaded onto a computer or other programmable data processing device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, whereby the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.

[0092] Although the above describes the specific implementation mode of the present invention in conjunction with the accompanying drawings, it is not intended to limit the scope of protection of the present invention. Those skilled in the art should understand that various modifications or variations that can be made by those skilled in the art on the basis of the technical solution of the present invention without creative work are still within the scope of protection of the present invention.

Claims

1. A pedestrian re-identification method from an aerial perspective, characterized in that: The following steps are involved: Feature extraction is performed on the preprocessed aerial view pedestrian images to obtain discriminative features; In the process of feature extraction, a convolutional network is constructed and trained, and the trained convolutional network is used for feature extraction. The convolutional network is constructed with a parallel structure and supplemented with a residual mechanism to stabilize and strengthen the feature extraction process; the convolutional network includes multiple layers, each layer includes two convolutional blocks with non-shared parameters to form a parallel structure, and a residual structure is added between each layer to enrich the feature information learned in each layer; the convolutional network uses a depth-separable convolutional layer as the smallest unit, uses parallel convolutional blocks IBlock with different receptive field sizes, and uses an adaptive fusion method to adjust the different proportions of the two IBlocks to form a Cblock block. At the same time, the Cblock block also includes a residual mechanism, and the input features are directly used as part of the output using a 1×1 convolution kernel; a variable parameter adaptive fusion mechanism is used to dynamically adjust the proportion of each Cblock block; A part-level attention matrix is ​​used to learn the discriminative features of pedestrians, strengthen the effective areas and weaken the invalid areas, and use variable weights to convert multiple part-level features into overall features. The features are adaptively learned to achieve pedestrian re-identification. The extracted feature vector is converted into multiple non-overlapping partial features using a block maximum pooling layer. The block feature vector is copied three times and passed into three fully connected layers whose parameters are not shared. The output of one of the fully connected layers is transposed and multiplied with the output result of the other fully connected layer to obtain the similarity between the two features. The calculated attention matrix is ​​inner-producted with the results of the remaining fully connected layers to obtain the enhanced partial features. The enhanced partial features contain the structural information of the pedestrian's body. The attention enhancement mechanism with variable weights is used to dynamically allocate the proportion of specified parts in the features according to the importance of different body structures.

2. A pedestrian re-identification system for aerial perspective, characterized by: include: A preprocessing module, configured to preprocess the pedestrian image acquired from the aerial perspective; A feature extraction module is configured to extract features from the preprocessed aerial view pedestrian image to obtain discriminative features; In the process of feature extraction, a convolutional network is constructed and trained, and the trained convolutional network is used for feature extraction. The convolutional network is constructed with a parallel structure and supplemented with a residual mechanism to stabilize and strengthen the feature extraction process; the convolutional network includes multiple layers, each layer includes two convolutional blocks with non-shared parameters to form a parallel structure, and a residual structure is added between each layer to enrich the feature information learned in each layer; the convolutional network uses a depth-separable convolutional layer as the smallest unit, uses parallel convolutional blocks IBlock with different receptive field sizes, and uses an adaptive fusion method to adjust the different proportions of the two IBlocks to form a Cblock block. At the same time, the Cblock block also includes a residual mechanism, and the input features are directly used as part of the output using a 1×1 convolution kernel; a variable parameter adaptive fusion mechanism is used to dynamically adjust the proportion of each Cblock block; The adaptive information enhancement module is configured to use a partial-level attention matrix to learn the discriminative-level features of pedestrians, strengthen effective areas, weaken invalid areas, and use variable weights to convert multiple partial-level features into overall features, adaptively learn the features, and realize pedestrian re-identification. The adaptive information enhancement module receives the extracted feature vector, uses a block maximum pooling layer to convert the extracted feature vector into multiple non-overlapping partial features, and copies the block feature vector three times and passes them into three fully connected layers whose parameters are not shared. The output obtained by one of the fully connected layers is transposed and multiplied with the output result of another fully connected layer to obtain the similarity between the two features. The calculated attention matrix is ​​inner-producted with the result obtained by the remaining fully connected layer to obtain the enhanced partial features. The enhanced partial features contain the structural information of the pedestrian's body. The variable weight attention enhancement mechanism is used to dynamically allocate the proportion of specified parts in the features according to the importance of different body structures.

3. The pedestrian re-identification system from an aerial perspective as claimed in claim 2, characterized in that: It also includes a parameter updating module, which is configured to use a loss function to perform back propagation on the network to calculate the parameter gradient values ​​of the feature extraction module and the adaptive information enhancement module, and update the parameters.

4. An electronic device, characterized in that: The method comprises a memory and a processor and computer instructions stored in the memory and executed on the processor, wherein the steps of the method described in claim 1 are completed when the computer instructions are executed by the processor.

5. A computer-readable storage medium, characterized in that: Used to store computer instructions, which, when executed by a processor, complete the steps of the method described in claim 1.

Citation Information

Patent Citations

  • Video-based parallel space-time attention pedestrian re-identification method

    CN111310633A

  • Pedestrian re-identification method and device, computer equipment and storage medium

    CN112183295A

  • Visible light-infrared pedestrian re-identification method and system

    CN113887353A