Fingerprint recognition engine for Java that takes a pair of human fingerprint images and returns their similarity score. Supports efficient 1:N search.
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src Fix and tests for ArrayIndexOutOfBoundsException bug in image scaling Oct 23, 2018
.hgignore Syncthing excludes May 8, 2017
.hgtags Added tag v3.4.1 for changeset 19597b5502f8 Oct 23, 2018
LICENSE Files required by Maven Central Aug 11, 2017
NOTICE Files required by Maven Central Aug 11, 2017
README.md Links to top Mar 10, 2018
pom.xml Release 3.4.1 Oct 23, 2018

README.md

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()
	.dpi(500)
	.create(probeImage);
FingerprintTemplate candidate = new FingerprintTemplate()
	.dpi(500)
	.create(candidateImage);
double score = new FingerprintMatcher()
	.index(probe)
	.match(candidate);
boolean matches = score >= 40;