sourceafis-java /

Filename Size Date modified Message
60 B
Syncthing excludes
1.1 KB
Added tag v3.1.1 for changeset 2a806a46f037
11.4 KB
Files required by Maven Central
147 B
Files required by Maven Central
1.1 KB
Links to top
4.1 KB
Release 3.1.1

SourceAFIS for Java

SourceAFIS is a fingerprint recognition engine that takes a pair of human fingerprint images and returns their similarity score. It can do 1:1 comparisons as well as efficient 1:N search. This is the Java implementation of the SourceAFIS algorithm.

byte[] probeImage = Files.readAllBytes(Paths.get("probe.jpeg"));
byte[] candidateImage = Files.readAllBytes(Paths.get("candidate.jpeg"));
FingerprintTemplate probe = new FingerprintTemplate()
FingerprintTemplate candidate = new FingerprintTemplate()
double score = new FingerprintMatcher()
boolean matches = score >= 40;