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.
- Documentation: SourceAFIS for Java, Javadoc, SourceAFIS overview, Algorithm
- Download: see SourceAFIS for Java page
- Sources: GitHub, Bitbucket
- Issues: GitHub, Bitbucket
- License: Apache License 2.0
FingerprintTemplate probe = new FingerprintTemplate(
new FingerprintImage(
Files.readAllBytes(Paths.get("probe.jpeg")),
new FingerprintImageOptions()
.dpi(500)));
FingerprintTemplate candidate = new FingerprintTemplate(
new FingerprintImage(
Files.readAllBytes(Paths.get("candidate.jpeg")),
new FingerprintImageOptions()
.dpi(500)));
double score = new FingerprintMatcher(probe)
.match(candidate);
boolean matches = score >= 40;