Skip to main content

Classical AFIS library: minutiae extraction, matching, and quality (Python + optional native NBIS)

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

Quickstart

from afis import FingerprintProcessor, match_templates

proc = FingerprintProcessor(backend="auto")
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="bozorth3",
    height_a=a.header.height,
    height_b=b.header.height,
)
print(result.score, result.decision)

CLI

uv run afis extract finger.png finger.xyt
uv run afis match a.xyt b.xyt --method 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.0.3.tar.gz (733.6 kB view details)

Uploaded Source

Built Distribution

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

afis-1.0.3-py3-none-any.whl (92.0 kB view details)

Uploaded Python 3

File details

Details for the file afis-1.0.3.tar.gz.

File metadata

  • Download URL: afis-1.0.3.tar.gz
  • Upload date:
  • Size: 733.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for afis-1.0.3.tar.gz
Algorithm Hash digest
SHA256 98ca46d45fa10d92f46cd0fcfa5e58205466d84a4565b03a9cbde629c3c46d1d
MD5 83747692f56087d64479c3a1402eacd1
BLAKE2b-256 62073930165bba2375a51cc8fcc55b8ff80366084e339d57a988fe3f8870a1ba

See more details on using hashes here.

Provenance

The following attestation bundles were made for afis-1.0.3.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.0.3-py3-none-any.whl.

File metadata

  • Download URL: afis-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 92.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for afis-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 15d7950dffd2f56137acd7147f466a2598801ced9a20de21c0d89c3d1d554786
MD5 3f564f5debb6b550a8902f197c51cbcb
BLAKE2b-256 cab92474446c42e2dd6dc14ee7172a476b17bfe1207cef9865e91b12a8ae5809

See more details on using hashes here.

Provenance

The following attestation bundles were made for afis-1.0.3-py3-none-any.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