Documentation Index
Fetch the complete documentation index at: https://mintlify.com/usnistgov/NFIQ2/llms.txt
Use this file to discover all available pages before exploring further.
Overview
NFIQ2 produces unified quality scores that range from 0 to 100, where higher values indicate better quality fingerprint images. These scores are formally standardized as part of ISO/IEC 29794-4:2024 and provide universally interpretable quality metrics that directly correlate with operational biometric recognition performance.Unified quality scores combine multiple native quality measures using a trained random forest classifier to predict how well a fingerprint image will perform in recognition tasks.
Score Range and Interpretation
NFIQ2 quality scores follow a consistent scale:| Score Range | Quality Level | Recognition Performance |
|---|---|---|
| 81-100 | Excellent | Highest match accuracy |
| 61-80 | Good | Above average performance |
| 41-60 | Fair | Average performance |
| 21-40 | Poor | Below average performance |
| 0-20 | Very Poor | Significant recognition challenges |
ISO/IEC 29794-1:2024 Compliance
NFIQ2 implements the requirements specified in ISO/IEC 29794-1:2024 (and previously 29794-4) for fingerprint image quality assessment:Standardized Quality Scale
The unified quality score uses a 0-100 scale as mandated by the standard:- 100: Perfect quality (theoretical maximum)
- 50: Average quality baseline
- 0: Unusable quality
CBEFF Quality Algorithm Identifiers
NFIQ2 defines version-specific CBEFF quality algorithm identifiers:The current version (NFIQ 2.3) uses
NFIQ2Rev3 as its CBEFF identifier. This ensures compatibility and version tracking in biometric systems.Computing Unified Quality Scores
Basic Usage
The simplest way to compute a unified quality score:Advanced Usage with Native Quality Measures
For applications that need access to individual quality measures:Why compute native quality measures separately?
Why compute native quality measures separately?
Computing native quality measures separately is useful when you need:
- Individual quality measure values for debugging or analysis
- Quality measure computation speeds for performance profiling
- Quality block values for ISO/IEC 39794-2 compliance
- Actionable quality feedback for guiding image capture
Quality Block Values
NFIQ2 can map native quality measures to quality block values ([0, 100]) suitable for inclusion in ISO/IEC 39794-2 quality blocks:Recognition Performance Correlation
How Scores Predict Performance
NFIQ2 quality scores are trained to predict:- Match Accuracy: Higher scores correlate with fewer false non-matches and false matches
- Template Quality: Better images produce more robust and stable templates
- Cross-Sensor Performance: Quality scores help predict how well an image will work across different matchers
Validation and Training Data
The NFIQ2 model is trained on:- Plain optical (total internal reflection) fingerprints
- Scanned ink plain impressions
- 500 PPI resolution images
- Thousands of fingerprint comparisons with known match outcomes
Model Versions and Compatibility
NFIQ2 has evolved through several versions:- Use different training data
- Include refined quality measures
- Produce different score distributions
Always specify which NFIQ2 version you’re using in your system documentation. Scores from different versions are not directly comparable.
Best Practices
Ensure Proper Image Format
Ensure Proper Image Format
- Use decompressed 8-bit grayscale images
- Maintain 500 PPI resolution
- Follow ISO/IEC 39794-4:2019 canonical encoding
- Remove compression artifacts before processing
Set Quality Thresholds
Set Quality Thresholds
Establish minimum quality thresholds based on your application:
- High security: Require scores ≥ 70
- General enrollment: Accept scores ≥ 50
- Forensic applications: May accept lower scores with manual review
Handle Quality Exceptions
Handle Quality Exceptions
NFIQ2 may throw exceptions for:
- Images that are too small after cropping
- Invalid image parameters
- Uninitialized random forest models
Monitor Score Distributions
Monitor Score Distributions
Track quality score distributions over time to:
- Identify sensor degradation
- Detect operator training needs
- Optimize capture workflow
Next Steps
Native Quality Measures
Learn about the individual quality measures that feed into the unified score
Actionable Feedback
Use quality feedback to guide image recapture and improve quality
Random Forest Model
Understand how the ML model combines measures into scores
API Reference
Explore the complete Algorithm API