Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

afis-1.1.0.tar.gz (731.4 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

afis-1.1.0-py3-none-manylinux_2_38_x86_64.whl (181.3 kB view details)

Uploaded Python 3manylinux: glibc 2.38+ x86-64

afis-1.1.0-py3-none-macosx_11_0_arm64.whl (169.9 kB view details)

Uploaded Python 3macOS 11.0+ ARM64

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

Hashes for afis-1.1.0.tar.gz
Algorithm Hash digest
SHA256 4afab26fd47ef1690730662a3a71cbd394615de5b0b7908c095a2aebf80eac50
MD5 c971b0a4632ea88e2c6c33213520186d
BLAKE2b-256 a040da42b8e02729beb548dee67427ad2fc17597c9212d5d87acab19bf8bf192

See more details on using hashes here.

Provenance

The following attestation bundles were made for afis-1.1.0.tar.gz:

Publisher: publish.yml on ashokpant/afis

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for afis-1.1.0-py3-none-manylinux_2_38_x86_64.whl
Algorithm Hash digest
SHA256 26a8ba16e193992ba30e7fbe5f09da71321ee8b96afd36f7b7f000fca0537070
MD5 1f1a33ed2781a41030c0bfd35aae0b1a
BLAKE2b-256 564c929d958705b7057ac8a974286d04bf3585600058b663fd2ce42b4a8b9f69

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for afis-1.1.0-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 2bc97403c6dbb077224966f2bdf3191bef79de28d08aaced8f717ba1a00960e6
MD5 edbcf7ab4b284d7b72276df6bcd2da16
BLAKE2b-256 b287304b19a4cb782de93d2964cfd2375cfe6ef6f5a9927ba37982e32ed124d7

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page