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

Verify result always returning "verify-no-match" #9

Open
ov1d1u opened this Issue Jan 21, 2014 · 17 comments

Comments

Projects
None yet
@ov1d1u

ov1d1u commented Jan 21, 2014

Hi,

Thank you for this driver, I got my fingerprint scanner on a Lenovo M5400 working on Linux. Unfortunately I cannot get the sensor to validate my fingerprint, everytime I get "Verify result: verify-no-match (done)" when I run "fprintd-verify" (of course, I enrolled my fingertip before doing this).

fprint_demo shows a distorted image (http://i.imgur.com/eltf3k4.png) every time I do a fingertip scanning, so I'm asking if not this is the issue.

Anyway, thanks for your work!

@ars3niy

This comment has been minimized.

Owner

ars3niy commented Jan 21, 2014

Hi,

Thank you for testing the driver. This distortion is, of course, sufficient reason for it to never match.

Can you please run fprint_demo with environment variable VFS5011_DEBUGPATH set to some existing directory, something like

mkdir $HOME/vfs5011debug
VFS5011_DEBUGPATH=$HOME/vfs5011debug fprint_demo

then scan the finger several times so that this distortion occurs, and then send me the content of that directory (you can e-mail to ars3n at yandex.ru, for example)?

Arseniy

@andyboeh

This comment has been minimized.

andyboeh commented Mar 31, 2014

I'm experiencing the same symptoms. Have you already got the debug trace? If not, let me know and I'll send you the debug output.

@sniper7kills

This comment has been minimized.

sniper7kills commented Sep 16, 2014

Anyone have an update on this by chance?

I was playing around with the vfs5011.c driver, and changed the follow:

RESOLUTION = 5,
MEDIAN_FILTER_SIZE = 13,
MAX_OFFSET = 1,
GOOD_OFFSETS_CRITERION = 20,
GOOD_OFFSETS_THRESHOLD = 3

And its working MUCH better for me now.

@Eugeny

This comment has been minimized.

Eugeny commented Jan 14, 2015

For me, increasing MAX_OFFSET has removed fingerprint image distortions but I still couldn't achieve reliable verification.

@Vince-vd

This comment has been minimized.

Vince-vd commented Feb 15, 2015

Have you guys ever found a good solution for this? I have the same problem with my lenovo t440s and the fingerprint reader is probably the only thing I really miss since switching to ubuntu a few months ago.

Eugeny what did you change the MAX_OFFSET to? Because I don't really see any difference when playing around with the values.

@Eugeny

This comment has been minimized.

Eugeny commented Feb 15, 2015

@Vince-vd I tried values up to 1000, and it improved the image, but I can't say that it had any effect on the recognition quality

@Vince-vd

This comment has been minimized.

Vince-vd commented Feb 15, 2015

Ok thank you @Eugeny , I'll just keep typing my password then I guess :)

@EAnushan

This comment has been minimized.

EAnushan commented Apr 23, 2015

I can confirm that this issue is still present. The image is distorted and I can only match every 1/25 attempts.

@elder

This comment has been minimized.

elder commented Apr 23, 2015

The same problem on Dell Vostro 5470. I can't authenticate using my fingerprint reader.

@ptonelli

This comment has been minimized.

ptonelli commented Aug 5, 2015

same issue for lenovo x1 carbon gen3

EDIT: actually it matches a few fingerprint if you swype the finger really fast (tried with fprint_demo to see how the fingerprints looked). If the swype is too slow, the image is distorted vertically (the height is a lot bigger than the width)

@marcocamma

This comment has been minimized.

marcocamma commented Sep 2, 2015

Hi same observation as ptonelli (on the same machine, running debian sid)

@Nestorfish

This comment has been minimized.

Nestorfish commented Nov 24, 2015

With my T550, I noticed the distortion is created by vfs5011_rescale_image(). As I understand it, it tries to compensate for finger swipe speed variation by doing a correlation between the left and right sections of the capture.
Replacing the function with a simple data copy avoids the distortion and allows slow swipe.
@ars3niy Do you have the datasheet or other information to understand what data is effectively present on the "right side" of the capture ?

@ercoppa

This comment has been minimized.

ercoppa commented Dec 4, 2015

@ars3niy logs with distortions: https://www.dropbox.com/s/1udq3hxg1rmncm5/vfs5011debug.tar.gz
@Nestorfish can you please make a fork with your changes?

@Nestorfish

This comment has been minimized.

Nestorfish commented Dec 4, 2015

@ercoppa Done. As said in the commit message, other tests must be done to try to get better results.

@ercoppa

This comment has been minimized.

ercoppa commented Dec 4, 2015

Since the driver has been included upstream (https://bugs.freedesktop.org/show_bug.cgi?id=61692), maybe we should move our discussion there. I agree with you that without a datasheet is hard to understand what it is the right fix that needs to be implemented. Right now, at least for me, the driver is not reliable.

@IvanFrederiks

This comment has been minimized.

IvanFrederiks commented Feb 25, 2016

@ars3niy
Looks like this issue was fixed in upstream repository. fprint-enroll, fprint-verify and fprint_demo work fine with latest ppa build of libfprint (1:0.6.0-git20151216-1-0ppa1~trusty1). Tested on ThinkPad Edge E540.

P.S.
Fingerprint GUI still crashes during enroll after first swipe.

@andyboeh

This comment has been minimized.

andyboeh commented Feb 25, 2016

You're right, thanks for reporting it here! It works fine on my Arch Linux with libfprint-git. It was actually fixed by this commit: https://cgit.freedesktop.org/libfprint/libfprint/commit/?id=6e8d5cd6a199f83fb5f862a8421f8582608032f5 so it's going to take some time until it reaches stable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment