Skip to main content

Fingerprint-Enhancement-Python

Uses oriented gabor filter bank to enhance the fingerprint image. The orientation of the gabor filters is decided by the orientation of ridges in the input image.

Installation and Running the tests

method 1 - use the library

pip install fingerprint_enhancer

Usage:

import fingerprint_enhancer								# Load the library
import cv2

img = cv2.imread('image_path', 0)						# read input image
out = fingerprint_enhancer.enhance_fingerprint(img)		# enhance the fingerprint image
cv2.imshow('enhanced_image', out);						# display the result
cv2.waitKey(0)											# hold the display window
  • Alternatively, the script "src/example.py" can be used to run the example for this library.

method 2 - use the source codes

  1. go into the src folder
  • if on "develop" branch, run the file "example.py"
  • if on "master" branch, run the file file "main_enhancement.py"
  1. The sample images are stored in the "images" folder

  2. The enhanced image will be stored in the "enhanced" folder

Linter check:

run the command python devtool.py run to run linter checks.

important note:

The Develop Branch is what is up to date. Other branches might not be up to date.

Results

temp

Theory

  • We use oriented gabor filters to enhance a fingerprint image. The orientation of the gabor filters are based on the orientation of the ridges. the shape of the gabor filter is based on the frequency and wavelength of the ridges.

License

  • This project is licensed under the BSD 2 License - see the LICENSE.md file for details

Acknowledgements

  • This program is based on the paper: Hong, L., Wan, Y., and Jain, A. K. 'Fingerprint image enhancement: Algorithm and performance evaluation'. IEEE Transactions on Pattern Analysis and Machine Intelligence 20, 8 (1998), pp 777-789.

  • The author would like to thank Dr. Peter Kovesi (This code is a python implementation of his work)

Metadata

Release files for fingerprint-enhancer 0.0.14

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fingerprint-enhancer 0.0.14
File Size Uploaded Provenance Actions
fingerprint_enhancer-0.0.14.tar.gz 11.2 kB Without provenance Details for fingerprint_enhancer-0.0.14.tar.gz

Release files / fingerprint_enhancer-0.0.14.tar.gz

Download URL fingerprint_enhancer-0.0.14.tar.gz
Size 11.2 kB
Tags Source
SHA-256 checksum
How to use checksums
d033eaafd3332e783539e50b2643ee29da065cc2025a26a85d41e04239847840
BLAKE2b-256 checksum
How to use checksums
fb382394cad384cb1837f1cbae86964c2fc3918f34e2e5fa3d39ffea2c75b858
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.2

Security for fingerprint-enhancer 0.0.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page