/DMD

The code of the paper "Latent Fingerprint Matching via Dense Minutia Descriptor"

Primary LanguagePythonApache License 2.0Apache-2.0

Latent Fingerprint Matching via Dense Minutia Descriptor

Zhiyu Pan    Yongjie Duan    Xiongjun Guan
JianJiang Feng*    Jie Zhou


arXiv


Overview

The code in this repository implements the methods described in the paper to match latent fingerprints using dense minutia descriptors. This method aims to improve the accuracy and efficiency of latent fingerprint matching. This paper has been accepted by IJCB 2024.

News and Update

  • [July 3th] Inference code Release.
    • The basic inference code of DMD.

Requirements

It is recommended to run our code on a Nvidia GPU with a linux system. We have not yet tested on other configurations.

Basic requirements:

  • Python==3.8
  • torch==1.10.1
  • scikit-learn==1.3.0
  • scipy==1.10.1
  • numpy==1.24.4

Download the './fptools', simply run the following commands to download to the root directory of this project.

git clone https://github.com/keyunj/fptools.git

Download Weights

Download the weights trained by NIST SD14, and place it at "./logs/DMD/".

Prepare the Datasets

Place the evaluated dataset in the structure as follows:

TEST_DATA/
│
├── NIST27/                 # Replace to custom dataset
│   ├── image/              # image folder
│        ├── query/         # query images
│            ├── xxxx.bmp
            ......
│        ├── gallery/       # gallery images
│            ├── xxxx.bmp
            ......
│   ├── mnt/                # minutiae folder
│        ├── query/         # query minutiae files
│            ├── xxxx.mnt
            ......
│        ├── gallery/       # gallery minutiae files
│            ├── xxxx.mnt             

Run the script:

python dump_dataset_mnteval.py --prefix /path/to/dataset

Evaluating

Run the script:

python evaluate_mnt.py

License and Usage Restrictions

Code related to the DMD is under Apache 2.0 license.
! ! This project is intended for academic research purposes only and cannot be used for commercial purposes.

Citation

If you find our repo helpful, please consider leaving a star or cite our paper :)

@article{pan2024latent,
  title={Latent Fingerprint Matching via Dense Minutia Descriptor},
  author={Pan, Zhiyu and Duan, Yongjie and Guan, Xiongjun and Feng, Jianjiang and Zhou, Jie},
  journal={arXiv preprint arXiv:2405.01199},
  year={2024}
}