Classical AFIS library: minutiae extraction, matching, and quality
Project description
afis
Classical AFIS toolkit for fingerprint minutiae extraction, matching, and quality assessment.
Install
make install
Uses uv. Equivalent:
uv sync --all-extras --group dev
make native
Install from pypi:
pip install afis
or
uv add afis
Quickstart
from afis import FingerprintProcessor, match_templates
proc = FingerprintProcessor() # nbis_mindtct + nbis_bozorth3
a = proc.process("finger_a.png")
b = proc.process("finger_b.png")
print(a.n_minutiae, a.header.image_quality)
result = match_templates(
a.minutiae, b.minutiae,
method="nbis_bozorth3",
height_a=a.header.height,
height_b=b.header.height,
)
print(result.score, result.decision)
Use mindtct / bozorth3 for python only.
CLI
uv run afis extract finger.png finger.xyt
uv run afis match a.xyt b.xyt --method nbis_bozorth3 --height 480
uv run afis quality finger.png
Develop
make test
make build
License
MIT. Copyright (c) 2026 Ashok Pant.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file afis-1.1.0.tar.gz.
File metadata
- Download URL: afis-1.1.0.tar.gz
- Upload date:
- Size: 731.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4afab26fd47ef1690730662a3a71cbd394615de5b0b7908c095a2aebf80eac50
|
|
| MD5 |
c971b0a4632ea88e2c6c33213520186d
|
|
| BLAKE2b-256 |
a040da42b8e02729beb548dee67427ad2fc17597c9212d5d87acab19bf8bf192
|
Provenance
The following attestation bundles were made for afis-1.1.0.tar.gz:
Publisher:
publish.yml on ashokpant/afis
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
afis-1.1.0.tar.gz -
Subject digest:
4afab26fd47ef1690730662a3a71cbd394615de5b0b7908c095a2aebf80eac50 - Sigstore transparency entry: 2257484170
- Sigstore integration time:
-
Permalink:
ashokpant/afis@07b6b28d60afbb399a097e6f1d27074fcf3246fb -
Branch / Tag:
refs/heads/main - Owner: https://github.com/ashokpant
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@07b6b28d60afbb399a097e6f1d27074fcf3246fb -
Trigger Event:
push
-
Statement type:
File details
Details for the file afis-1.1.0-py3-none-manylinux_2_38_x86_64.whl.
File metadata
- Download URL: afis-1.1.0-py3-none-manylinux_2_38_x86_64.whl
- Upload date:
- Size: 181.3 kB
- Tags: Python 3, manylinux: glibc 2.38+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
26a8ba16e193992ba30e7fbe5f09da71321ee8b96afd36f7b7f000fca0537070
|
|
| MD5 |
1f1a33ed2781a41030c0bfd35aae0b1a
|
|
| BLAKE2b-256 |
564c929d958705b7057ac8a974286d04bf3585600058b663fd2ce42b4a8b9f69
|
Provenance
The following attestation bundles were made for afis-1.1.0-py3-none-manylinux_2_38_x86_64.whl:
Publisher:
publish.yml on ashokpant/afis
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
afis-1.1.0-py3-none-manylinux_2_38_x86_64.whl -
Subject digest:
26a8ba16e193992ba30e7fbe5f09da71321ee8b96afd36f7b7f000fca0537070 - Sigstore transparency entry: 2257484186
- Sigstore integration time:
-
Permalink:
ashokpant/afis@07b6b28d60afbb399a097e6f1d27074fcf3246fb -
Branch / Tag:
refs/heads/main - Owner: https://github.com/ashokpant
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@07b6b28d60afbb399a097e6f1d27074fcf3246fb -
Trigger Event:
push
-
Statement type:
File details
Details for the file afis-1.1.0-py3-none-macosx_11_0_arm64.whl.
File metadata
- Download URL: afis-1.1.0-py3-none-macosx_11_0_arm64.whl
- Upload date:
- Size: 169.9 kB
- Tags: Python 3, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2bc97403c6dbb077224966f2bdf3191bef79de28d08aaced8f717ba1a00960e6
|
|
| MD5 |
edbcf7ab4b284d7b72276df6bcd2da16
|
|
| BLAKE2b-256 |
b287304b19a4cb782de93d2964cfd2375cfe6ef6f5a9927ba37982e32ed124d7
|
Provenance
The following attestation bundles were made for afis-1.1.0-py3-none-macosx_11_0_arm64.whl:
Publisher:
publish.yml on ashokpant/afis
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
afis-1.1.0-py3-none-macosx_11_0_arm64.whl -
Subject digest:
2bc97403c6dbb077224966f2bdf3191bef79de28d08aaced8f717ba1a00960e6 - Sigstore transparency entry: 2257484179
- Sigstore integration time:
-
Permalink:
ashokpant/afis@07b6b28d60afbb399a097e6f1d27074fcf3246fb -
Branch / Tag:
refs/heads/main - Owner: https://github.com/ashokpant
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@07b6b28d60afbb399a097e6f1d27074fcf3246fb -
Trigger Event:
push
-
Statement type: