Not sure I understand what you're trying to do, but if you want a cli tool to compare fingerprint images, you could write one using some functions in img.c. But you might need to normalize your images first.<div><br></div><div><br><div class="gmail_quote"><div dir="ltr">On Tue, 19 Jun 2018, 16:08 Bastien Nocera, <<a href="mailto:hadess@hadess.net">hadess@hadess.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Tue, 2018-06-19 at 12:49 +0200, Péter Gönczöl wrote:<br>
> Hi,<br>
> <br>
> Is it possible to enroll and verify fingerprint images (bmp format,<br>
> grayscale) with libfprint?<br>
> I've been reading the API docs and fprint.h but every functionality<br>
> I'd need appears to be hidden from the applications.<br>
> <br>
> It seems to me that the only option is to use the lib internal<br>
> functionality like fp_async_verify_start() and do it manually. Did I<br>
> miss something? Could you help me on how I should get started?<br>
> <br>
> Sorry if this is an amateur question, I'm new to native development.<br>
> Thanks in advance!<br>
<br>
We don't support it, we only support enrollment and verification from<br>
an actual physical device.<br>
<br>
If you really wanted the feature (it would be good to explain why<br>
though), you could create a driver that can take images from the disk,<br>
to enroll them.<br>
<br>
This might be helpful, although the patch needs updating:<br>
<a href="https://gitlab.freedesktop.org/libfprint/libfprint/issues/44" rel="noreferrer" target="_blank">https://gitlab.freedesktop.org/libfprint/libfprint/issues/44</a><br>
<br>
Cheers<br>
_______________________________________________<br>
fprint mailing list<br>
<a href="mailto:fprint@lists.freedesktop.org" target="_blank">fprint@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/fprint" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/fprint</a><br>
</blockquote></div></div>