Search code examples
phpwebserverfingerprintbiometrics

Fingerprint comparison with php


I have a small device which scans fingerprints. There i have an image of the fingerprint. I hope i can get some "Bio-ID" of this fingerprint image and send this id to a server. The server side can only execute php.

There i like to compare this "Bio-ID". In the best case no php libraries are required and the "Bio-ID" just can be compared as a string. I like to authenticate a user, which means i have to compare the fingerprints.

It would work like on this picture described:

enter image description here

Is is important that on the server side it is only possible to use php (no special configuration), so it would be great if the fingerprint could be sent as a string and this string can be compared to other strings without much effort.

Thank you very much


Solution

  • So I am assuming your question is "What are the next steps I need to do in order to get this system to work".

    Well since you already have a scanner (Futronic FS88h), which gives you a bitmap, then you have to pass this bitmap through an algorithm that changes it into a string. You mentioned that in the best case scenario you wish not to use a library, however that will be more complicated for you if you didn't. A library is a collection of code that someone has already developed for a specific purpose. If you don't want to use a function someone else created to get your fingerprint string from your bitmap, you will have to create it yourself, which is a million times more difficult.

    My suggest would be:

    1. find a library that has the algorithm in it to change a fingerprint into a string.
    2. install that library into the server you are using
    3. create the php functions that then
      • Stores these fingerprint values into a database or whichever is your preferred method of storage
      • Compares a users fingerprint with all the fingerprints in storage
      • Deletes fingerprints stored

    That should help you move forward