biometrics icon indicating copy to clipboard operation
biometrics copied to clipboard

Thinning.py and Sobel.py leads to an error: SystemError: new style getargs format but argument is not a tuple

Open Khaalidi opened this issue 6 years ago • 4 comments

$ python gabor.py images/ppf1.png 16 --save calculating orientation done smoothing angles done computing local ridge frequency done Traceback (most recent call last): File "gabor.py", line 71, in result = gabor(im, W, angles) File "gabor.py", line 45, in gabor j * W + l) SystemError: new style getargs format but argument is not a tuple

And

$ python thining.py images/ppf1_enhanced.gif --save loading phase done single thining phase done single thining phase done single thining phase done single thining phase done single thining phase done single thining phase done single thining phase done thining done Traceback (most recent call last): File "thining.py", line 77, in make_thin(im) File "thining.py", line 59, in make_thin utils.load_pixels(im, loaded) File "/home/habib/Documents/Projects/biometrics/utils.py", line 111, in load_pixels im_load[i, j] = pixels[i][j] SystemError: new style getargs format but argument is not a tuple

Khaalidi avatar Sep 03 '18 07:09 Khaalidi

HI @Khaalidi did you resolve this issue?

Saranyamadhanagopal avatar Feb 28 '19 05:02 Saranyamadhanagopal

@Saranyamadhanagopal No, I just forgot about this issue, and I found it Python was not a good decision for this computational intentisive task, and I decided to reinvent the wheel in OpenCV C++.

If you working on some fingerprint biometric verification system, I would strongly suggest you to go for SourceAFIS, it is an open source fingerprints verification framework, purely written in Java and have .NET port too.

Khaalidi avatar Mar 01 '19 19:03 Khaalidi

@Khaalidi thanks for your suggestion.

Saranyamadhanagopal avatar Mar 02 '19 07:03 Saranyamadhanagopal

@Saranyamadhanagopal You're Welcome

Khaalidi avatar Mar 11 '19 06:03 Khaalidi