<div dir="ltr"><div>I ask because I have a bunch of fingerprints already stored using the DigitalPersona drivers, and need to be able to compare them to prints taken with libfprint. I've converted from one data structure to the other, but they're not matching properly because the distances between corresponding minutiae differ by so much. The rotating of fingers was to show that the issue is with libfprint, rather than the DP drivers.<br><br></div><div>I see a mention on the uru4000 wiki page to Paulo Marques' anti-distortion code, but the link is dead. A Google search for ["paulo marques" fingerprint distortion] doesn't turn up anything else obviously relevant. Is there another copy of that code somewhere?<br></div><div><br></div> - Alan<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Sep 23, 2016 at 3:37 PM, Martin Hejnfelt <span dir="ltr"><<a href="mailto:martin@duffman.dk" target="_blank">martin@duffman.dk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Alan,<br>
<span class=""><br>
On Fri, 2016-09-23 at 14:23 -0400, Alan Davidson wrote:<br>
> Hi libfprint folks -<br>
><br>
> I've got a U.are.U 4500 reader. I see in libfprint/drivers/uru4000.c<br>
> that the image dimensions are hardcoded to 290x384 pixels. However,<br>
> that doesn't appear to be the right aspect ratio for my hardware.<br>
> Running fprint_demo, I can see 5 scans side-by-side by enrolling a<br>
> print. If I rotate my finger 90 degrees between these scans, I see<br>
> that the horizontal axis is stretched out compared to the vertical<br>
> one (features that are left-to-right of each other in one image are<br>
> noticeably further apart than those same features in another image<br>
> where they're up-and-down). If I enroll my finger vertically and then<br>
> scan it sideways, the scans don't match.<br>
><br>
<br>
</span>I think this is what is mentioned on the (rather old) URU4000 drivers (<br>
<a href="https://www.freedesktop.org/wiki/Software/fprint/libfprint/uru4000/" rel="noreferrer" target="_blank">https://www.freedesktop.org/<wbr>wiki/Software/fprint/<wbr>libfprint/uru4000/</a>)<br>
page, which also mentions some anti distortion code to deal with this.<br>
<br>
However isn't this a rather "thought up" issue, as the unit really<br>
seems meant to be used in one direction only. I would however think it<br>
would make a (small?) difference in minutiae detection if the finger is<br>
not placed straight in the oval direction of the sensor pad.<br>
<span class=""><br>
> I've also been using the closed source drivers from DigitalPersona<br>
> themselves, which do not have this problem: the distances between<br>
> corresponding minutiae don't vary as I rotate my finger, and it has<br>
> no trouble matching fingers that have been rotated. I believe the DP<br>
> drivers think the resolution of the reader is 354x391 (found by<br>
> comparing the bytes it records when you save fingerprints to a file<br>
> with Slide 10 of [1]).<br>
><br>
> Has anyone else seen this? Is there a way to query the hardware to<br>
> see what resolution images it thinks it records? How can I adjust the<br>
> libfprint scans so they match fingerprints regardless of orientation?<br>
><br>
<br>
</span>I am using the unit without issues in a 1:n scenario. I must admit I<br>
have not tried rotating my finger. Question is if one could find the<br>
anti-distortion code mentioned (or if it is already there, I have not<br>
gone through the git history).<br>
<br>
Regards,<br>
Martin<br>
<br>
</blockquote></div><br></div>