searchTemplate method
- 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.
param referenceDict Reference template dictionary. param probe Probe template. param maxCandidates Maximum number of candidates to output. param candidateList List of candidates sorted by decreasing match score. throws FaceException An error has occurred during Face Library execution.
Implementation
void searchTemplate(FaceTemplateDict referenceDict, FaceTemplate probe, int maxCandidates, FaceCandidateList candidateList) {
var err = faceSDK.id3FaceMatcher_SearchTemplate(_pHandle.value, referenceDict.handle, probe.handle, maxCandidates, candidateList.handle);
if (err != FaceError.success.value) {
throw FaceException(err);
}
}