A palmprint recognition method based on deep and shallow feature fusion of sliding window transformer

Through the deep and shallow feature fusion method of sliding window transformer and multi-scale feature enhancement module, the problem of low recognition accuracy of low-resolution palmprint images is solved, the recognition accuracy is improved and the cost and processing time are reduced.

CN118506411BActive Publication Date: 2024-10-22ZHEJIANG UNIV OF TECH
View PDF 9 Cites 0 Cited by

Patent Information

Application Number
CN202410969840.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-19
Publication Date
2024-10-22
Estimated Expiration
2044-07-19

AI Technical Summary

Technical Problem

When traditional palmprint recognition systems process low-resolution images, due to differences in lighting conditions and imaging quality, the recognition accuracy drops significantly, and the equipment cost is high and the use efficiency is low.

Method used

The deep and shallow feature fusion method based on the sliding window transformer is used, combined with the Swin Transformer network and the multi-scale feature enhancement module, to improve the adaptability to low-resolution palmprint images through multi-layer fusion and feature extraction.

Benefits of technology

It achieves efficient feature extraction and adaptive fusion of low-resolution palmprint images, improves the accuracy of palmprint recognition, and reduces equipment costs and processing time.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118506411B_ABST
    Figure CN118506411B_ABST
Patent Text Reader

Abstract

The present invention discloses a palmprint recognition method based on deep and shallow feature fusion of sliding window transformer, comprising obtaining a pre-processed palmprint image and inputting it into a trained palmprint recognition model to obtain the features of the palmprint image; respectively comparing the features of the palmprint image with the features of all reference palmprint images in a database, and selecting the successfully matched reference palmprint images as the palmprints that have been successfully matched. Combining the Swin Transformer network and the multi-scale feature enhancement module, efficient feature extraction and adaptive fusion of the palmprint image are achieved, and the outputs of the first stage module, the second stage module and the fourth stage module in the Swin Transformer network are not only fused with the deep layer information and the shallow layer feature information through the multi-scale feature enhancement module, but also the spatial information of the features of each layer is strengthened to improve the adaptability to low-resolution palmprint images, thereby achieving a higher palmprint recognition accuracy.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the field of palmprint recognition, and in particular relates to a palmprint recognition method based on deep and shallow feature fusion of a sliding window converter. Background Art

[0002] With the rapid development of science and technology, biometric recognition technology has made significant progress. Biometric recognition technologies such as fingerprint, iris and face recognition have become common tools in people's lives. With their advantages of speed and high accuracy, they have quickly become popular and can be seen everywhere in various places. However, these technologies also expose some important problems. Fingerprint recognition is usually performed through contact devices, requiring users to press their fingers tightly on the device. This method is easy to cause disease transmission when multiple people share the device. Iris recognition is mainly used for important equipment and is rarely used in public places. The recognition process is complicated and not user-friendly. Although face recognition is achieved through non-contact shooting and is convenient to use, it is easy to mistakenly shoot other people's faces in crowded environments, which poses privacy issues. In addition, introverts are less receptive to face recognition. As an emerging non-contact biometric recognition method, palmprint recognition effectively avoids the shortcomings of the above technologies.

[0003] The lines on the skin of human palms are unique, stable, and unforgeable, making them a hot topic in the field of biometrics. Palmprint recognition technology is based on image acquisition and complex feature extraction algorithms, which can accurately capture and analyze the lines on the skin of the palms. However, traditional palmprint recognition systems have high requirements on equipment quality and require high-resolution images to extract rich texture features, resulting in high usage costs. At the same time, using neural network methods to process high-resolution images is time-consuming and inefficient. In contrast, it is more convenient and less expensive to use a mobile phone or sensor to capture palmprint images, but the captured images are usually low-resolution. Although easy to process, they contain fewer texture details, and the main features are concentrated on the three main lines in the center of the palmprint (the three main lines are flexor lines, wrinkles, and papillary lines). Therefore, how to use low-resolution palmprints for recognition has become a key challenge.

[0004] Existing palmprint recognition methods are mainly based on convolutional neural networks (CNNs) and feature extraction algorithms. These methods perform well on high-resolution devices, but when processing low-resolution palmprint images, the recognition accuracy drops significantly due to differences in lighting conditions and imaging quality. To solve this problem, researchers have proposed a variety of improvement schemes, including neural network architectures and feature fusion methods that enhance feature extraction capabilities, but these methods still have limitations. Summary of the invention

[0005] The purpose of the present invention is to solve the problems raised in the background technology and to propose a palmprint recognition method based on the fusion of deep and shallow features of a sliding window transformer.

[0006] To achieve the above object, the technical solution adopted by the present invention is:

[0007] The present invention proposes a palmprint recognition method based on deep and shallow feature fusion of a sliding window transformer, comprising:

[0008] Obtain the preprocessed palmprint image and input it into the trained palmprint recognition model to obtain the features of the palmprint image;

[0009] The palmprint recognition model includes a Swin Transformer network, a first multi-scale feature enhancement module and a second multi-scale feature enhancement module. A palmprint image is input into the Swin Transformer network to obtain three output features, wherein the first output feature of the Swin Transformer network is fused with the second output feature of the Swin Transformer network after passing through the first multi-scale feature enhancement module to obtain a first fused feature, the first fused feature is fused with the third output feature of the Swin Transformer network after passing through the second multi-scale feature enhancement module to obtain a second fused feature, and the first fused feature, the second fused feature and the first output feature are fused again and passed through the output module to obtain features of the palmprint image;

[0010] The features of the palmprint image are compared with the features of all reference palmprint images in the database, and the successfully matched reference palmprint images are selected as the successfully matched palmprints.

[0011] Preferably, the preprocessing is a clipping operation.

[0012] Preferably, the step of comparing the features of the palmprint image with the features of all reference palmprint images in the database and selecting the features of the successfully matched reference palmprint images as the successfully matched palmprints comprises:

[0013] The features of the palmprint image are respectively compared with the features of all reference palmprint images in the database to calculate the Euclidean distance, and the reference palmprint image with the smallest distance in the database is screened out. The distance value is compared with the set threshold. When the minimum distance value is less than the threshold, the screened reference palmprint image is the successfully matched palmprint, otherwise, there is no successfully matched palmprint in the database.

[0014] Preferably, the Swin Transformer network includes a PatchPartition layer, a linear embedding layer, a first-stage module, a second-stage module, a third-stage module, and a fourth-stage module, which are arranged in sequence from data input to output, and the output of the fourth-stage module is the first output feature of the Swin Transformer network, the output of the second-stage module is the second output feature of the Swin Transformer network, and the output of the first-stage module is the third output feature of the Swin Transformer network;

[0015] The first stage module, the second stage module and the third stage module all include a Swin Transformer Block layer and a Patch Merging layer arranged in sequence from data input to output, and the fourth stage module is a Swin Transformer Block layer.

[0016] Preferably, in each of the multi-scale feature enhancement modules, the input features of each multi-scale feature enhancement module are first subjected to three parallel dilated convolution branch operations, and the output results are respectively passed through the batch normalization layer and the activation layer in parallel, and then the channel dimension is fused to obtain the third fused features, and then the third fused features are upsampled linearly interpolated to obtain the output features of each multi-scale feature enhancement module.

[0017] Preferably, the output module includes a normalization layer, an adaptive average pooling layer and a fully connected layer which are arranged in sequence from data input to output.

[0018] Preferably, after the palmprint image is input into the Swin Transformer network to obtain three output features, the first output feature is passed through a first multi-scale feature enhancement module to obtain a fourth output feature, and the second output feature is passed through a first convolutional layer and then fused with the fourth output feature to obtain the first fused feature;

[0019] The first fused feature is passed through a second multi-scale feature enhancement module to obtain a fifth output feature, and the third output feature is passed through a second convolutional layer and then fused with the fifth output feature to obtain the second fused feature;

[0020] At the same time, the first fusion feature is passed through the first adaptive pooling layer to obtain the sixth output feature, the second fusion feature is passed through the second adaptive pooling layer to obtain the seventh output feature, and then the sixth output feature, the seventh output feature and the first output are fused to obtain the eighth output feature, and finally the eighth output feature is passed through the output module to obtain the feature of the palmprint image.

[0021] Preferably, each of the fusions is an addition operation.

[0022] Preferably, the total loss function in the palmprint recognition model training process is The calculation formula is as follows:

[0023] ;

[0024] in, represents the triplet loss, represents the center loss, represents the weight parameter of triplet loss, Represents the weight parameter of the center loss;

[0025] The triplet loss is calculated as follows:

[0026] ;

[0027] in, , and represents the anchor samples, positive samples and negative samples in the training dataset respectively. samples, and the anchor sample and the positive sample are from the same category of palmprint images, and the anchor sample and the negative sample are from different categories of palmprint images. represents the embedding function of the embedding space, represents the boundary, is a constant, represents the number of samples in each sample;

[0028] The calculation formula of center loss is as follows:

[0029] ;

[0030] in, Represents the first samples, represents the number of samples in the training data set, Represents the category center of the sample.

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

[0032] This palmprint recognition method based on deep and shallow feature fusion of sliding window transformer combines Swin Transformer network and multi-scale feature enhancement module to achieve efficient feature extraction and adaptive fusion of palmprint images. The outputs of the first stage module, second stage module and fourth stage module in the Swin Transformer network are passed through the multi-scale feature enhancement module to not only fuse the deep information and shallow feature information, but also strengthen the spatial information of each layer of features to improve the adaptability to low-resolution palmprint images, thereby achieving higher palmprint recognition accuracy. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] Figure 1 It is a structural schematic diagram of a palmprint recognition model in a palmprint recognition method based on deep and shallow feature fusion of a sliding window transformer of the present invention;

[0034] Figure 2 Schematic diagram of the structure of the multi-scale feature enhancement module of the present invention;

[0035] Figure 3 Schematic diagram of the palmprint recognition model training process of the present invention. DETAILED DESCRIPTION

[0036] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0037] It should be noted that when a component is referred to as being "connected" to another component, it may be directly connected to the other component or there may be an intermediate component. Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein in the specification of this application are only for the purpose of describing specific embodiments and are not intended to limit this application.

[0038] In one implementation, Figure 1-Figure 2 As shown, a palmprint recognition method based on deep and shallow feature fusion of sliding window transformer includes:

[0039] S1. Obtain a preprocessed palmprint image and input it into a trained palmprint recognition model to obtain features of the palmprint image.

[0040] Among them, the preprocessing is a cropping operation, such as first obtaining a palm image, then cropping the palm image to obtain a palmprint image, and inputting the palmprint image into a trained palmprint recognition model to obtain the characteristics of the palmprint image.

[0041] S2. The palmprint recognition model includes a Swin Transformer network, a first multi-scale feature enhancement module and a second multi-scale feature enhancement module. The palmprint image is input into the Swin Transformer network to obtain three output features (i.e., a first output feature, a second output feature and a third output feature). The first output feature of the Swin Transformer network is fused with the second output feature of the Swin Transformer network after passing through the first multi-scale feature enhancement module to obtain a first fused feature. The first fused feature is then fused with the third output feature of the Swin Transformer network after passing through the second multi-scale feature enhancement module to obtain a second fused feature. The first fused feature, the second fused feature and the first output feature are then fused and passed through the output module to obtain the features of the palmprint image; wherein each fusion is an addition operation.

[0042] like Figure 1 As shown, the Swin Transformer network includes a PatchPartition layer, a linear embedding layer, a first-stage module, a second-stage module, a third-stage module, and a fourth-stage module, which are arranged in sequence from data input to output, and the output of the fourth-stage module is used as the first output feature of the Swin Transformer network, the output of the second-stage module is used as the second output feature of the Swin Transformer network, and the output of the first-stage module is used as the third output feature of the Swin Transformer network;

[0043] The first-stage module, the second-stage module and the third-stage module all include a Swin Transformer Block layer and a Patch Merging layer arranged in sequence from data input to output, and the fourth-stage module is a Swin TransformerBlock layer.

[0044] like Figure 2 As shown in FIG. 1 , in each multi-scale feature enhancement module, the input features of each multi-scale feature enhancement module first undergo three parallel dilated convolution branch operations (each dilated convolution branch operation introduces a dilation rate in the convolution operation, and the dilation rates of the three parallel dilated convolution branch operations are 3, 5, and 7, respectively (in Figure 2In the figure, Dilation=3, Dilation=5 and Dilation=7 are used to represent the multi-scale feature enhancement module. A larger receptive field can be achieved without increasing the amount of calculation and reducing the resolution of the feature map to fully explore the texture features of the palmprint at different scales. The output results are respectively passed through the batch normalization layer (BN layer) and the activation layer (using the RELU activation function) in parallel, and then the channel dimension is fused to obtain the third fused feature. The third fused feature is then upsampled and linearly interpolated to obtain the output features of each multi-scale feature enhancement module (that is, the input features of the multi-scale feature enhancement module are operated through three dilated convolution branches in parallel to obtain three output results. The three output results are then all passed through the batch normalization layer and the activation layer and then fused in the channel dimension to obtain the third fused feature. The third fused feature is then upsampled and linearly interpolated to obtain the output features of the multi-scale feature enhancement module).

[0045] The output module includes a normalization layer, an adaptive average pooling layer (specifically a one-dimensional Adaptive Average Pooling layer) and a fully connected layer, which are arranged in sequence from data input to output.

[0046] The process of inputting the palmprint image into the trained palmprint recognition model and obtaining the features of the palmprint image is as follows:

[0047] The palm print image (shape 3 224 224, where 3 represents the number of channels and 224 represents the length and width) is input into the SwinTransformer network. The palmprint image is first segmented through the Patch Partition layer and divided into fixed-size 4 4 non-overlapping blocks, and then the segmented data is feature mapped through a linear embedding layer. Each block is expanded and linearly projected into the feature space to form an initial embedding vector sequence. This process is implemented using a learnable Gabor filter with 96 filters and a size of 4. 4, the step size is 4 (the shape of the feature map is 96 56 56);

[0048] The feature map is then input to the first stage module (in the first stage module, after the self-attention Transformer Block and Patch Merging downsampling operations, the length and width of the feature map are halved, the channels are doubled, and the shape of the feature map is 192 28 28) to obtain the third output feature, the third output feature is passed through the second stage module to obtain the second output feature (shape is 384 14 14), the second output feature then passes through the third stage module (the shape at this time is 768 7 7) and the fourth stage module obtains the first output feature (shape is 768 7 7);

[0049] Then the first output feature passes through the first multi-scale feature enhancement module (the shape of the feature map after channel dimension fusion in the first multi-scale feature enhancement module is 768 7 7. After upsampling linear interpolation operation, the shape of the feature map is 768 14 14) and the fourth output feature is obtained. The second output feature is obtained after the first convolution layer (where the first convolution layer is 768 with a size of 1 1 convolution kernel), and then fused with the fourth output feature (the fusion adopts the addition operation, that is, the elements at corresponding positions in the feature map are added correspondingly, the same below, no repeated description is given) to obtain the first fused feature (shape is 768 14 14);

[0050] The first fusion feature is then passed through the second multi-scale feature enhancement module to obtain the fifth output feature (shape 768 28 28), the third output feature passes through the second convolutional layer (where the second convolutional layer is 768 with a size of 1 1 convolution kernel, the shape is 768 28 28), and then fused with the fifth output feature (the fusion adopts the addition operation) to obtain the second fused feature;

[0051] At the same time, the first fusion feature passes through the first adaptive pooling layer to obtain the sixth output feature (the shape is 768 at this time). 7 7), the second fusion feature is then passed through the second adaptive pooling layer to obtain the seventh output feature (the shape is 768 at this time) 7 7), then the sixth output feature, the seventh output feature and the first output are fused (the fusion adopts the addition operation) to obtain the eighth output feature, and finally the eighth output feature is passed through the output module to obtain the feature of the palm print image.

[0052] S3, comparing the features of the palmprint image with the features of all reference palmprint images in the database, and selecting the successfully matched reference palmprint images as the successfully matched palmprints, as follows:

[0053] The features of the palmprint image are respectively compared with the features of all reference palmprint images in the database to perform Euclidean distance calculation, and the reference palmprint image with the smallest distance in the database is screened out. The distance value is compared with a set threshold (wherein the threshold is set to 0.5 in this embodiment). When the minimum distance value is less than the threshold, the screened reference palmprint image is a successfully matched palmprint (indicating successful recognition), otherwise, there is no successfully matched palmprint in the database (indicating failed recognition).

[0054] In another implementation, Figure 3 As shown in the figure, during the palmprint recognition model training process:

[0055] The training data set (including anchor samples, positive samples and negative samples) is input into the palmprint recognition model. The palmprint recognition model extracts the palmprint features of each sample, and then calculates the distance between the palmprint features of the anchor sample and the positive sample through the Euclidean distance, and the distance between the palmprint features of the anchor sample and the negative sample through the Euclidean distance. Then, the triplet loss and center loss are calculated, and the calculated loss optimizes the palmprint recognition model.

[0056] In order to make the palmprint recognition model fully converge, the training data is augmented, and the cropped palmprint images are flipped horizontally, vertically, and horizontally and vertically to further expand the data. Next, the hyperparameters such as learning rate, batch size, and training rounds are set for the palmprint recognition model, and the palmprint recognition model is trained until the total loss function converges.

[0057] The total loss function The calculation formula is as follows:

[0058] ;

[0059] in, represents the triplet loss, represents the center loss, represents the weight parameter of triplet loss, Represents the weight parameter of the center loss;

[0060] The triplet loss is calculated as follows:

[0061] ;

[0062] in, , and represents the anchor samples, positive samples and negative samples in the training dataset respectively. samples, and the anchor sample and the positive sample are from the same category of palmprint images, and the anchor sample and the negative sample are from different categories of palmprint images (palmprint images of the same category represent palmprint images from the same device, and palmprint images of different categories represent palmprint images from different devices). represents the embedding function of the embedding space, represents the boundary and is a constant (usually =0.2), Represents the number of samples in each sample; the goal of the triplet loss function is to optimize the embedding space of the model by minimizing the distance between samples of the same category and maximizing the distance between samples of different categories. However, the triplet loss depends on the triplet selection strategy. The selection of difficult positive and negative samples has an important impact on the convergence and performance of the total loss function. In order to reduce the dependence and eliminate the need for complex sample selection strategies, the center loss is introduced for optimization;

[0063] The calculation formula of center loss is as follows:

[0064] ;

[0065] in, Represents the first samples, represents the number of samples in the training data set, Represents the category center of the sample. The center loss ensures that samples of the same category are more compact and concentrated in the embedding space by minimizing the distance from the sample to its category center. Combining triplet loss and center loss can take advantage of both, so that the model can not only distinguish different categories, but also maintain the compactness of samples of the same category. At the same time, in practical applications, a single triplet loss may be affected by noise samples, and the introduction of center loss can alleviate this effect, making the model more robust when dealing with noise samples.

[0066] As a new type of visual transformer model, the Swin Transformer network has attracted widespread attention for its excellent performance in computer vision tasks. The Swin Transformer adopts a hierarchical structure and a shifting window mechanism, which can efficiently process image features of different scales and achieve significant performance improvements in various visual tasks. Compared with the traditional convolutional neural network model, the Swin Transformer model has obvious advantages in feature extraction and global information capture, especially in palmprint recognition. However, due to the multi-layer self-attention mechanism, deep palmprint features will be converted into semantic information, resulting in the possible loss of shallow palmprint features. Therefore, it is necessary to combine shallow and deep palmprint features for comprehensive analysis to improve the adaptability to low-resolution palmprint images, thereby achieving higher palmprint recognition accuracy.

[0067] The technical features of the above-described embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above-described embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0068] The above-described embodiments only express the more specific and detailed embodiments described in this application, but they cannot be understood as limiting the scope of the patent application. It should be pointed out that for ordinary technicians in this field, several modifications and improvements can be made without departing from the concept of this application, which all belong to the protection scope of this application. Therefore, the protection scope of the patent application shall be based on the attached claims.

Claims

1. A palmprint recognition method based on deep and shallow feature fusion of sliding window transformer, characterized in that: The palmprint recognition method based on deep and shallow feature fusion of sliding window transformer includes: Obtain the preprocessed palmprint image and input it into the trained palmprint recognition model to obtain the features of the palmprint image; The palmprint recognition model includes a Swin Transformer network, a first multi-scale feature enhancement module and a second multi-scale feature enhancement module. A palmprint image is input into the Swin Transformer network to obtain three output features, wherein the first output feature of the Swin Transformer network is fused with the second output feature of the Swin Transformer network after passing through the first multi-scale feature enhancement module to obtain a first fused feature, the first fused feature is fused with the third output feature of the Swin Transformer network after passing through the second multi-scale feature enhancement module to obtain a second fused feature, and the first fused feature, the second fused feature and the first output feature are fused again and passed through the output module to obtain features of the palmprint image; The features of the palmprint image are compared with the features of all reference palmprint images in the database, and the successfully matched reference palmprint images are selected as the successfully matched palmprints; The Swin Transformer network includes a Patch Partition layer, a linear embedding layer, a first-stage module, a second-stage module, a third-stage module, and a fourth-stage module, which are arranged in sequence from data input to output, and the output of the fourth-stage module is the first output feature of the Swin Transformer network, the output of the second-stage module is the second output feature of the Swin Transformer network, and the output of the first-stage module is the third output feature of the Swin Transformer network; The first stage module, the second stage module and the third stage module all include a Swin Transformer Block layer and a Patch Merging layer arranged in sequence from data input to output, and the fourth stage module is a Swin Transformer Block layer; In each of the multi-scale feature enhancement modules, the input features of each multi-scale feature enhancement module are first subjected to three parallel dilated convolution branch operations, and the output results are respectively subjected to batch normalization layers and activation layers in parallel, and then channel dimension fusion is performed to obtain a third fused feature, and then the third fused feature is subjected to an upsampling linear interpolation operation to obtain the output features of each multi-scale feature enhancement module; After the palmprint image is input into the Swin Transformer network to obtain three output features, the first output feature is passed through the first multi-scale feature enhancement module to obtain the fourth output feature, and the second output feature is passed through the first convolution layer and then fused with the fourth output feature to obtain the first fused feature; The first fused feature is passed through a second multi-scale feature enhancement module to obtain a fifth output feature, and the third output feature is passed through a second convolutional layer and then fused with the fifth output feature to obtain the second fused feature; At the same time, the first fusion feature is passed through the first adaptive pooling layer to obtain the sixth output feature, the second fusion feature is passed through the second adaptive pooling layer to obtain the seventh output feature, and then the sixth output feature, the seventh output feature and the first output are fused to obtain the eighth output feature, and finally the eighth output feature is passed through the output module to obtain the feature of the palmprint image.

2. The palmprint recognition method based on the deep and shallow feature fusion of the sliding window transformer as claimed in claim 1 is characterized by: The preprocessing is a clipping operation.

3. The palmprint recognition method based on the deep and shallow feature fusion of the sliding window transformer as claimed in claim 1, characterized in that: The method of comparing the features of the palmprint image with the features of all reference palmprint images in the database and selecting the features of the successfully matched reference palmprint images as the successfully matched palmprints includes: The features of the palmprint image are respectively compared with the features of all reference palmprint images in the database to calculate the Euclidean distance, and the reference palmprint image with the smallest distance in the database is screened out. The distance value is compared with the set threshold. When the minimum distance value is less than the threshold, the screened reference palmprint image is the successfully matched palmprint, otherwise, there is no successfully matched palmprint in the database.

4. The palmprint recognition method based on the deep and shallow feature fusion of the sliding window transformer as claimed in claim 1, characterized in that: The output module includes a normalization layer, an adaptive average pooling layer and a fully connected layer which are arranged in sequence from data input to output.

5. The palmprint recognition method based on the deep and shallow feature fusion of the sliding window transformer as claimed in claim 1, characterized in that: Each of the above fusions is an addition operation.

6. The palmprint recognition method based on the deep and shallow feature fusion of the sliding window transformer as claimed in claim 1, characterized in that: The total loss function in the palmprint recognition model training process The calculation formula is as follows: ; in, represents the triplet loss, represents the center loss, represents the weight parameter of triplet loss, Represents the weight parameter of the center loss; The triplet loss is calculated as follows: ; in, , and represents the anchor samples, positive samples and negative samples in the training dataset respectively. samples, and the anchor sample and the positive sample are from the same category of palmprint images, and the anchor sample and the negative sample are from different categories of palmprint images. represents the embedding function of the embedding space, represents the boundary, is a constant, represents the number of samples in each sample; The calculation formula of center loss is as follows: ; in, Represents the first samples, represents the number of samples in the training data set, Represents the category center of the sample.

Citation Information

Patent Citations

  • High-resolution palmprint recognition method based on multi-input convolutional neural network

    CN114581962A

  • Multi-spectral pedestrian detection method based on cross Transform fusion

    CN116580425A

  • Remote sensing image scene classification method of semantic attention feature embedded Swin Transform network

    CN116863223A

  • Palm print recognition method fusing attention mechanism and residual network

    CN116978075A

  • Thyroid nodule ultrasound image benign and malignant classification method based on deep learning

    CN117197519A