From 294f43d7ac580dca000f0915be596f5726e69143 Mon Sep 17 00:00:00 2001 From: Utkarsh Deshmukh Date: Thu, 12 Nov 2020 12:33:59 -0800 Subject: [PATCH] Update README.md --- README.md | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 2797ad9..8956de5 100644 --- a/README.md +++ b/README.md @@ -5,9 +5,24 @@ The important fingerprint minutiae features are the ridge endpoints (a.k.a. Term The feature set for the image consists of the location of Terminations and Bifurcations and their orientations -# Running the source files -- run the file main.py -- the input image is stored in the folder "enhanced". If the input image is not enhanced, the minutiae features will be very noisy +## Installation and Running the tests + + ## method 1 + ``` + pip install fingerprint-feature-extractor + ``` + + **Usage:** + ``` + import fingerprint_feature_extractor + + img = cv2.imread('image_path', 0) # read the input image --> You can enhance the fingerprint image using the "fingerprint_enhancer" library + FeaturesTerminations, FeaturesBifurcations = fingerprint_feature_extractor.extract_minutiae_features(img, showResult=True) + ``` + ## method 2 +- from the src folder, run the file "main.py" +- **the input image is stored in the folder "enhanced".** +***If the input image is not enhanced, the minutiae features will be very noisy*** # Libraries needed: - opencv