public class FaceMatcher
extends java.lang.Object
implements java.lang.AutoCloseable, java.io.Serializable
| Constructor and Description |
|---|
FaceMatcher()
Creates a new instance of the FaceMatcher class.
|
FaceMatcher(long handle)
Creates a new instance of the FaceMatcher class.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Releases all resources used by this FaceMatcher.
|
int |
compareTemplateLists(FaceTemplateList referenceList,
FaceTemplateList probeList,
PoolingMethod poolingMethod)
Compares two template lists and outputs a comparison score.
|
int |
compareTemplates(FaceTemplate reference,
FaceTemplate probe)
Compares two templates and outputs a comparison score.
|
protected void |
finalize()
Finalizer for this class.
|
long |
getHandle()
Gets the native handle.
|
void |
searchTemplate(FaceTemplateDict referenceDict,
FaceTemplate probe,
int maxCandidates,
FaceCandidateList candidateList)
Performs a one-to-many search of a biometric probe against a previously initialized dictionary of biometric references and outputs a candidate list.
|
public FaceMatcher()
throws FaceException
FaceException - An error has occurred during Face Library execution.public FaceMatcher(long handle)
throws FaceException
handle - Handle to the FaceMatcher.FaceException - An error has occurred during Face Library execution.public void close()
close in interface java.lang.AutoCloseableprotected void finalize()
finalize in class java.lang.Objectpublic long getHandle()
public int compareTemplateLists(FaceTemplateList referenceList, FaceTemplateList probeList, PoolingMethod poolingMethod) throws FaceException
referenceList - Reference template list.probeList - Probe template list.poolingMethod - Pooling method applied during the match process.FaceException - An error has occurred during Face Library execution.public int compareTemplates(FaceTemplate reference, FaceTemplate probe) throws FaceException
reference - Reference template.probe - Probe template.FaceException - An error has occurred during Face Library execution.public void searchTemplate(FaceTemplateDict referenceDict, FaceTemplate probe, int maxCandidates, FaceCandidateList candidateList) throws FaceException
referenceDict - Reference template dictionary.probe - Probe template.maxCandidates - Maximum number of candidates to output.candidateList - List of candidates sorted by decreasing match score.FaceException - An error has occurred during Face Library execution.Copyright © id3 Technologies. All rights reserved. eu.id3.face