All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.machinezoo.sourceafis.engine.transparency.ConsistentPairingGraph Maven / Gradle / Ivy

Go to download

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

There is a newer version: 3.18.1
Show newest version
// Part of SourceAFIS for Java: https://sourceafis.machinezoo.com/java
package com.machinezoo.sourceafis.engine.transparency;

import static java.util.stream.Collectors.*;
import java.util.*;
import com.machinezoo.sourceafis.engine.matcher.*;

public class ConsistentPairingGraph {
	public ConsistentMinutiaPair root;
	public List tree;
	public List support;
	public ConsistentPairingGraph(PairingGraph pairing) {
		root = new ConsistentMinutiaPair(pairing.tree[0].probe, pairing.tree[0].candidate);
		tree = Arrays.stream(pairing.tree).limit(pairing.count).skip(1).map(ConsistentEdgePair::new).collect(toList());
		this.support = pairing.support.stream().map(ConsistentEdgePair::new).collect(toList());
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy