National Institute of Standards and Technology (NIST) Fingerprint Image Quality (NFIQ) is software that links image quality of optical and ink plain impression 500 pixel per inch fingerprints to operational recognition performance. This allows quality values to be tightly defined and then numerically calibrated, which in turn allows for the standardization needed to support a worldwide deployment of fingerprint sensors with universally-interpretable image qualities. NFIQ 2 quality features are formally standardized as part of ISO/IEC 29794-4. This repository serves as a formally-recognized reference implementation of the 2024 international standard.
Pre-built versions of the NFIQ 2 library and standalone executable for many platforms are available to download on the GitHub Releases page.
Building the NFIQ 2 library requires the following dependencies, included in this repository as git submodules:
If building the standalone command-line executable, additional dependencies are required, included in this repository as git submodules:
- Biometric Evaluation Framework (public domain license)
- Requires other non-bundled dependencies, please see the README.
- NIST Fingerprint Image Resampler (public domain license)
- Requires OpenCV, which is required by NFIQ 2 library.
Important
Unless you are actively developing code for NFIQ 2, we highly suggest you download from Releases instead of attempting to compile.
Note
You must recursively clone the repository to retrieve git submodules (i.e., do not use the GitHub ZIP file download).
git clone --recursive https://github.com/usnistgov/NFIQ2.git
cd NFIQ2
mkdir build
cd build
cmake .. -DBUILD_NFIQ2_CLI=OFF
cmake --build .
cd ..
mv NFIQ_Python_Module/* build/install_staging/nfiq2/bin/ && rmdir NFIQ_Python_Module
cd build/install_staging/nfiq2/bin/
python3 nfiqmod.py
Important
Unless you are actively developing code for NFIQ 2, we highly suggest you download from Releases instead of attempting to compile.
Note
You must recursively clone the repository to retrieve git submodules (i.e., do not use the GitHub ZIP file download).
git clone --recursive https://github.com/MuhammadBilal848/NFIQ2-Python.git
cd NFIQ2-Python
mkdir build
cd build
cmake ..
cmake --build .
cd ..
mv NFIQ_Python_Module/* build/install_staging/nfiq2/bin/ && rmdir NFIQ_Python_Module
cd build/install_staging/nfiq2/bin/
python3 nfiqmod.py