-
Notifications
You must be signed in to change notification settings - Fork 118
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to resolve this please help #21
Comments
Hi, i think this is due to a numpy documentation misleading. Numpy's round function doesn't cast to int. |
@loreloc Thanks for suggestion Its Resolved . |
Traceback (most recent call last): |
@adrianodisam comment that line out |
"C:\Users\akank\PycharmProjects\new file.venv\Scripts\python.exe" "C:\Users\akank\PycharmProjects\new file\app.py" Process finished with exit code 1 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.
The text was updated successfully, but these errors were encountered: