sourceafis-java /

Filename Size Date modified Message
60 B
Syncthing excludes
733 B
Added tag v2.2.0 for changeset 12aa58ff567b
11.4 KB
Files required by Maven Central
147 B
Files required by Maven Central
1.1 KB
Added download and javadoc links
58 B
Mutable meta-parameters, intermediate data logging
4.2 KB
Release 2.2.0

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(probeImage);
FingerprintTemplate candidate = new FingerprintTemplate(candidateImage);
FingerprintMatcher matcher = new FingerprintMatcher(probe);
double score = matcher.match(candidate);
boolean match = score >= 40;
  • Homepage - Overview, tutorial, contact.
  • Download - Maven package, JAR file, sample fingerprints.
  • Javadoc - API reference documentation.
  • Sources - Primary repository, preferred for pull requests.