- conda create -n ridgeformer python=3.8.19
- conda activate ridgeformer
- pip install -r requirements.txt
It requires timm version 0.5.0 and can be installed with the given .whl file. We used pytorch>=2.2.2 for CUDA=12.2
- Ridgebase(RB)
- The Hong Kong Polytechnic University Contactless 2D to Contact-based 2D Fingerprint Images Database Version 1.0
- IIITD SmartPhone Fingerphoto Database V1 (ISPFDv1)
- IIITD SmartPhone Finger-Selfie Database V2 (ISPFDv2)
- The Hong Kong Polytechnic University Contactless 2D to Contact-based 2D Fingerprint Images Database Version 1.0 (HKPolyU)
- Ridgebase (RB)
- scipts in ISPFD_preprocessing directory are used to segment out contactless images in ISPFD dataset
- requires SAM checkpoint and openai clip
- can be used after installing segment-anything and downloading SAM checkpoint
- For more information, refer to SAM's official repository Link
- script data_folder_creation.py in datasets directory is used to arrange the datasets in a specific folder structure
Subject --------->
finger ---------->
background and instances
- script manifest_file_creation.py in datasets directory is used to create manifest files used in dataloaders. The manifest file structure will be as follows:
{
Unique_finger_id_1:{
'Contactless': ( list of paths of all contactless images )
'Contactbased': ( list of paths of all contactbased images )
},
Unique_finger_id_2:{
'Contactless': ( list of paths of all contactless images )
'Contactbased': ( list of paths of all contactbased images )
}
......}
Download the zip file from Link and unzip the contents in ridgeformer_checkpoints directory to use in evaluation and training scripts
Stage 1 - train_combined.py is used to train the model on Stage 1 of our architecture
Stage 2 - train_combined_fusion.py is used to train the model on Stage 2 of our architecture
All the performance ROCs and matrices are saved in combined_models_scores directory
All tensorboard logs are saved in experiment_logs directory
- Evaluation of HKPolyU testing dataset on finetuned checkpoint from Stage 1 can be done using hkpoly_evaluation_phase1.py
- Evaluation of HKPolyU testing dataset on finetuned checkpoint from Stage 2 can be done using hkpoly_evaluation_phase2.py
- Evaluation of ridgebase testing dataset on pretrained checkpoint from Stage 1 can be done using rb_evaluation_phase1.py
- Evaluation of ridgebase testing dataset on pretrained checkpoint from Stage 2 can be done using rb_evaluation_phase1.py
Method | Probe | Gallery | EER(%) | TAR(%)@FAR=.01 |
---|---|---|---|---|
Verifinger | CL | CB | 19.31 | 76.00 |
RTPS+DCM | CL | CB | 14.33 | 50.50 |
Multi-Siamese | CL | CB | 7.93 | 54.00 |
MANet | CL | CB | 4.13 | 88.50 |
ML Fusion | CL | CB | 4.07 | 94.40 |
Ridgeformer (Ours) | CL | CB | 2.83 | 89.34 |
Method | Probe | Gallery | R@1 | R@10 |
---|---|---|---|---|
Verifinger | CL | CB | 80.73 | 91.00 |
RTPS+DCM | CL | CB | 66.67 | 83.00 |
Multi-Siamese | CL | CB | 64.59 | 91.00 |
MANet | CL | CB | 83.54 | 97.00 |
Ridgeformer (Ours) | CL | CB | 87.40 | 98.23 |
Method | Probe | Gallery | EER(%) | TAR(%)@FAR=.01 |
---|---|---|---|---|
Verifinger | CL | CB | 18.90 | 57.60 |
Ridgeformer (Ours) | CL | CB | 5.25 | 82.23 |
AdaCos(CNN) | CL | CL | 21.30 | 61.20 |
Verifinger | CL | CL | 19.70 | 63.30 |
Ridgeformer (Ours) | CL | CL | 7.60 | 85.14 |
Method | Probe | Gallery | R@1 | R@10 |
---|---|---|---|---|
Verifinger | CL | CB | 72.50 | 89.20 |
Ridgeformer (Ours) | CL | CB | 69.90 | 92.64 |
Verifinger | CL | CL | 85.20 | 91.40 |
AdaCos(CNN) | CL | CL | 81.90 | 89.50 |
Ridgeformer (Ours) | CL | CL | 100.00 | 100.00 |
B. Jawade, D. Mohan, S. Setlur, N. Ratha and V. Govindaraju "RidgeBase: A Cross-Sensor Multi-Finger Contactless Fingerprint Dataset," 2022 IEEE International Joint Conference on Biometrics (IJCB), 2022
@book{jawade2022ridgebase,
author = "B. Jawade and D. Mohan and S. Setlur and N. Ratha and V. Govindaraju",
title = "RidgeBase: A Cross-Sensor Multi-Finger Contactless Fingerprint Dataset",
publisher = "2022 {IEEE} International Joint Conference on Biometrics ({IJCB})",
year = 2022
}
Chenhao Lin, Ajay Kumar, “Matching Contactless and Contact-based Conventional Fingerprint Images for Biometrics Identification”, IEEE Transactions on Image Processing, vol. 27, pp. 2008-2021, April 2018.
@ARTICLE{8244291,
author={Lin, Chenhao and Kumar, Ajay},
journal={IEEE Transactions on Image Processing},
title={Matching Contactless and Contact-Based Conventional Fingerprint Images for Biometrics Identification},
year={2018},
volume={27},
number={4},
pages={2008-2021},
keywords={Sensors;Strain;Deformable models;Image sensors;Interoperability;Databases;Splines (mathematics);Contactless fingerprint sensor interoperability;biometrics;deformation correction model (DCM)},
doi={10.1109/TIP.2017.2788866}}
For more information or any questions, feel free to reach us at spandey8@buffalo.edu
Ridgeformer is CC-BY-NC 4.0 licensed, as found in the LICENSE file. It is released for academic research / non-commercial use only.