Yes, you're right, fp_print_data_get_data() is the correct way. What you get back is a binary blob and if you need a string-safe representation of it, you better encode it via base64-encoding or similar. On the other hand, most databases handle binary blobs nowadays, so I don't see a problem.
The size of the data blob will vary with the scanner hardware, I think. Maybe Daniel would have an estimate of it's maximum size. Also, bear in mind that the data you get from the function mentioned above is hardware-specific. There is no way to get fingerprint data that is compatible with both Microsoft fullfingerprint scanner and, for example, Upeks Touchstrip scanner. Regards, Artem On Fri, Nov 21, 2008 at 1:10 AM, Zé Carlos <[EMAIL PROTECTED]> wrote: > Hello there, i'm new to fingerprints systems, i'm developing an > authentication system and i would like to add fingerprint authentication > using libfprint, but all data would be stored on a database, my > authentication system would be distributed among some terminals, and > connectivity to the central database probably wont be the best and fastest. > So, if possible, I would like to convert fingerprint to a database storable > string which could be compared for identification and verification. > I saw on the API that exists fp_print_data_get_data which can convert a > struct fp_print_data into an array of chars representation, i didnt tested > (because of some impossibilities libfprint yet, are these string > representations suitable for database storage? and for identification > through a database system query like" "select * from user where > fingerprint='some-fingerprint-data'"? what size can that string reach ? > Sorry by bothering with these kind of questions, if someone could help me i > would apreciate it very much! :-) > > my best regards, > > José Trancas > > _______________________________________________ > fprint mailing list > [email protected] > http://lists.reactivated.net/mailman/listinfo/fprint > >
_______________________________________________ fprint mailing list [email protected] http://lists.reactivated.net/mailman/listinfo/fprint
