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!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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!
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.
So there is no way to use this Java API for fingerprint comparison?
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.
Java port has been officially released:
https://sourceafis.machinezoo.com/java