ars3niy / fprint_vfs5011

The code has been merged upstream so it doesn't really need to be here
48 stars 25 forks source link

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

Open ov1d1u opened 10 years ago

ov1d1u commented 10 years ago

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 commented 10 years ago

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 commented 10 years ago

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 commented 10 years ago

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 commented 9 years ago

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

Vince-vd commented 9 years ago

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 commented 9 years ago

@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 commented 9 years ago

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

EAnushan commented 9 years ago

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

elder commented 9 years ago

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

ptonelli commented 9 years ago

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 commented 9 years ago

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

Nestorfish commented 8 years ago

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 commented 8 years ago

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

Nestorfish commented 8 years ago

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

ercoppa commented 8 years ago

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 commented 8 years ago

@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 commented 8 years ago

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.

dr3mro commented 5 years ago

I am facing same issue now on Thinkpad x250 with arch linux

CheesecakeCG commented 5 years ago

@dr3mro Yeah, same here on the T450S, I find it really surprising that the sensitivity options are not exposed in a config file.

Mdubois12 commented 5 years ago

I am also experiencing this issue on a Thinkpad T450s, anyone have a solution?

Toxblh commented 4 years ago

Maybe too late. But main knowledge here - https://github.com/iafilatov/libfprint#common-problems You should swipe your finger instead of touch. fprintd used "long" image for that. So as write - guys also provide "touch" version the driver

andirsun commented 3 years ago

Maybe too late. But main knowledge here - https://github.com/iafilatov/libfprint#common-problems You should swipe your finger instead of touch. fprintd used "long" image for that. So as write - guys also provide "touch" version the driver

How can I install the touch version of the driver ?