Menu

Steps to get two fingerprints (tiff) compared by using Java API

YZhou
2014-05-23
2018-03-16
  • YZhou

    YZhou - 2014-05-23

    Hi, I'm new to this project and trying to use Java API to compare fp1.tiff and fp2.tiff, and get a comparison score. By reading the API doc, I'm thinking to first use Fingerprint to get image loaded and extracted to template for comparison. But the method setImage(bytes[][] image) requires an image in 2D array of bytes. Can anyone tell me how to get this 2D array?

    Is there a sample code for simple comparison scenario?

    Thanks!

     
  • Robert Važan

    Robert Važan - 2014-05-23

    I think those are rows and columns of the pixel array. I don't know how are grayscale pixel values translated to java bytes. Java port is pending my review as it's contributed code.

     
  • YZhou

    YZhou - 2014-05-28

    So there is no way to use this Java API for fingerprint comparison?

     
  • Robert Važan

    Robert Važan - 2014-05-29

    There likely is a way, but it's likely non-trivial. The problem is that Java API is a prototype submitted by two contributors. You are on your own.

     
  • Robert Važan

    Robert Važan - 2018-03-16

    Java port has been officially released:

    https://sourceafis.machinezoo.com/java

     

Log in to post a comment.

MongoDB Logo MongoDB