pravin joshi
pravin joshi

Reputation: 1

Compare 2 Fingerprint templates generated from mantra scanner

I have a Mantra Fingerprint Scanner using which I can store fingerprint details in various formats (i.e. ISO, ANCII, RAW Data). I also stored PNG image from base64 output. Everything is working perfectly.
Now I want to compare fingerprint templates and match them and allocate access to the login page. I searched for many things but did not get anything.

My project platform is Java. I want to compare fingerprint templates using Java.

Upvotes: -1

Views: 1787

Answers (3)

Deepak Chaudhary
Deepak Chaudhary

Reputation: 486

Few general approaches which would apply to all fingerprint reading devices that one can take to achieve this -

  1. Store the fingerprint template retrieved during registration in a database/file, in the format you feel comfortable. Eg. Binary Blob, Binary File, Base64 String, etc. Usually the devices would output an ISO/ANSI FMR template in a byte-array.
  2. While authenticating, compare the fingerprints in the Application Server using Java libraries like SourceAFIS. The library would provide you a large matching score, arrive at some reasonable match threshold based on your use case. Note - I'd strongly suggest this approach against the fingerprint comparison in the fingerprint device, as it would involve you to share the fingerprint data with the client device.
  3. The fingerprint comparison is compute expensive operation. So in case you are going to authenticate the users solely based on fingerprint, take into consideration the worst-case runtime. Suggested approach would be Username + Fingerprint or Username + Password + Fingerprint(2FA).
  4. You might need to implement some mechanism to prevent fingerprint-replay attempts. i.e. An advanced user might just intercept-observe the request-response between the UI and the Application, and would save fingerprint ISO/ANSI fmr template for later use(even during person's absence). One may consider timestamp based tokens.
  5. Try to keep the code modules and fingerprint data-formats loosely coupled. So that in case you needed to migrate from one hardware to other, you don't end up rewriting the whole thing again. In future, be able to support multiple hardwares at the same time.

Upvotes: 0

Ravanan
Ravanan

Reputation: 586

In order to integrate the Mantra MFS100 fingerprint scanner with a Java application, you will need to use Javascript-supported APIs. One such API is available at https://camsunit.com/product/javascript-api-for-zk-fingerprint-scanner-zk4500-zk9500-MFS100.html.

To implement this integration, you can utilize the scanner directly on the client-side of your application using Javascript. The data captured by the scanner on the client page can then be sent to the server-side (Java component) for further processing and storage.

By following this approach, you can seamlessly communicate between the client-side and server-side components, enabling efficient fingerprint scanning and data handling in your Java application.

Upvotes: 0

Germanus Xavier
Germanus Xavier

Reputation: 33

int ret =mfs100.MatchISO(template1,template2);

Here, template1 and template2 are the templates that you want to compare, and these templates are of ISO1974(2005) works.

Upvotes: -1

Related Questions