-
Notifications
You must be signed in to change notification settings - Fork 25
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
image_enhance attributte not present #5
Comments
same issue |
Same Issue |
So, here is the issue .. this repo uses this repo for enhancing the fingerprint. As it is suggested, you have to clone the repo in src/fprmodules/enhancement folder. But the problem is I believe enhancement repo is since been updated so that it doesn't have function image_enhance. You can try the following:
Though right now I am seeing some decrease in performance as well as seeing different outcome for enhanced_image. |
Thanks but i have already solved this problem
…On Mon, 21 Jun 2021, 12:16 Tawhid Wasik, ***@***.***> wrote:
So, here is the issue .. this repo uses this
<https://github.com/Utkarsh-Deshmukh/Fingerprint-Enhancement-Python> repo
for enhancing the fingerprint. As it is suggested, you have to clone the
repo in *src/fprmodules/enhancement* folder. But the problem is I believe
enhancement repo is since been updated so that it doesn't have function
image_enhance.
You can try the following:
1. copy FingerprintImageEnhancer.py from src/ folder of the
enhancement repo to src/fprmodules/enhancement/ folder
2. In utils.py add from
fprmodules.enhancement.FingerprintImageEnhancer import
FingerprintImageEnhancer
3. In utils.py rewrite def enhance_image add image_enhancer =
FingerprintImageEnhancer() img_e = image_enhancer.enhance(image) img_e =
np.asarray(img_e, dtype="uint8")
Right now I see some decrease in performance though after this.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#5 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AQ6GGU6VZWEDV5MFPMHV5ULTT3N3VANCNFSM4YCJSGAQ>
.
|
Nice ! |
Yes, i am using the same dataset. You can check my github profile for
accuracy
…On Mon, 21 Jun 2021, 16:26 Tawhid Wasik, ***@***.***> wrote:
Nice !
Did you use the mentioned dataset ? If yes, could you kindly tell me how
much accuracy you are getting in identification and verification scenarios ?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#5 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AQ6GGUYL3UROFCAEU3FC573TT4LHVANCNFSM4YCJSGAQ>
.
|
it's saying module 'fprmodules.enhancement' has no attribute 'image_enhance'
The text was updated successfully, but these errors were encountered: