Giter Site home page Giter Site logo

python-fingerprint-recognition's People

Contributors

kjanko avatar ogabriel avatar sashuu69 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

python-fingerprint-recognition's Issues

image_enhance.image_enhance

I try to run the code in terminal but its not running and if I give path then many modules are not present and what do we have to write in os.chdir...please share a screenshot on how to run and does it return feature matrix?

Execution arguments

Can I have the CMD to pass on the terminal so that I can execute the code

error shape

i have the next error in terminal:

Traceback (most recent call last):
File "app.py", line 109, in
main()
File "app.py", line 77, in main
kp1, des1 = get_descriptors(img1)
File "app.py", line 45, in get_descriptors
img = image_enhance.image_enhance(img)
File "C:\Users\Jacozsz\Downloads\python-fingerprint-recognition-master\enhance\i
mage_enhance.py", line 15, in image_enhance
normim,mask = ridge_segment(img,blksze,thresh); # normalise the
image and find a ROI
File "C:\Users\Jacozsz\Downloads\python-fingerprint-recognition-master\enhance\r
idge_segment.py", line 61, in ridge_segment
rows,cols = im.shape;
AttributeError: 'NoneType' object has no attribute 'shape'

exec user process caused: no such file or directory

hi

here is steps i follow:

git clone https://github.com/kjanko/python-fingerprint-recognition.git
cd python-fingerprint-recognition
docker build -t finger:latest .
docker run -it finger:latest 101_1.tif 101_2.tif

this will produce following error:

Traceback (most recent call last):
  File "/app/app.py", line 1, in <module>
    import cv2
  File "/usr/local/lib/python3.7/site-packages/cv2/__init__.py", line 5, in <module>
    from .cv2 import *
ImportError: libGL.so.1: cannot open shared object file: No such file or directory

different result in raspberry pi

I tried to run the code on raspberry pi, the value of score/len(matches) is different there.
when i run this code on anaconda3 the value is 46 but i receive 15 in raspberry pi.

PSA: all the python idle, libraries are same

error... Please share how to pass arguments

Traceback (most recent call last):
File "app.py", line 111, in
main()
File "app.py", line 76, in main
kp1, des1 = get_descriptors(img1)
File "app.py", line 45, in get_descriptors
img = image_enhance.image_enhance(img)
File "C:\Users\Pavilion\Downloads\python-fingerprint-recognition-master\python-fingerprint-recognition-master\enhance\image_enhance.py", line 15, in image_enhance
normim,mask = ridge_segment(img,blksze,thresh); # normalise the image and find a ROI
File "C:\Users\Pavilion\Downloads\python-fingerprint-recognition-master\python-fingerprint-recognition-master\enhance\ridge_segment.py", line 61, in ridge_segment
rows,cols = im.shape;
AttributeError: 'NoneType' object has no attribute 'shape'

Terminal input

I am getting a error I think its related with input , how did you define your image selecting . I am trying in terminal python3 --101_1.tif
File "C:/Users/BBO/Desktop/python-fingerprint-recognition-master/app.py", line 44
img = clahe.apply(img)
^

Unable to resolve this please help

File "app.py", line 45, in get_descriptors
img = image_enhance.image_enhance(img)
File "C:\Users\Pavilion\Downloads\python-fingerprint-recognition-master\python-fingerprint-recognition-master\enhance\image_enhance.py", line 35,
in image_enhance
newim = ridge_filter(normim, orientim, freq, kx, ky); # create gabor filter and do the actual filtering
File "C:\Users\Pavilion\Downloads\python-fingerprint-recognition-master\python-fingerprint-recognition-master\enhance\ridge_filter.py", line 83,
in ridge_filter
x,y = np.meshgrid(np.linspace(-sze,sze,(2sze + 1)),np.linspace(-sze,sze,(2sze + 1)));
File "<array_function internals>", line 6, in linspace
File "C:\Users\Pavilion\PycharmProjects\office\venv\lib\site-packages\numpy\core\function_base.py", line 121, in linspace
.format(type(num)))
TypeError: object of type <class 'numpy.float64'> cannot be safely interpreted as an integer.

Matching Score

Can you please explain how can I get the percentage of matching score?
And also how much is the accuracy of your method?

Failed to match fingerprint keep getting this error when i run cmd python app.py 101_1.tif 101_2.tif

x, y = np.meshgrid(np.linspace(-sze, sze, (2 * sze + 1)), np.linspace(-sze, sze, (2 * sze + 1)))
File "<array_function internals>", line 6, in linspace
File "C:\Users\ICY media\AppData\Local\Programs\Python\Python37\lib\site-packages\numpy\core\function_base.py", line 121, in linspace
.format(type(num)))
TypeError: object of type <class 'numpy.float64'> cannot be safely interpreted as an integer.

understanding ridge_orient

def ridge_orient(im, gradientsigma, blocksigma, orientsmoothsigma):
Could you please explain in more details about the parameters that are being passed in this function or can you provide any documentation related to this topic .
Thanking you..

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.