/sourceafis-net

Fingerprint recognition engine for .NET that takes a pair of human fingerprint images and returns their similarity score. Supports efficient 1:N search.

Primary LanguageC#Apache License 2.0Apache-2.0

SourceAFIS for .NET

Nuget

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 .NET implementation of the SourceAFIS algorithm.

var options = new FingerprintImageOptions { Dpi = 500 };
var probe = new FingerprintTemplate(
    new FingerprintImage(
        332, 533, Files.ReadAllBytes("probe.dat"), options));
var candidate = new FingerprintTemplate(
    new FingerprintImage(
        320, 407, Files.ReadAllBytes("candidate.dat"), options));
double score = new FingerprintMatcher(probe)
    .Match(candidate);
bool matches = score >= 40;