FaceMatcher.searchTemplate Method¶
Module: FaceMatcher
Definition¶
Performs a one-to-many search of a biometric probe against a previously initialized dictionary of biometric references and outputs a candidate list.
search_template(self, reference_dict: FaceTemplateDict, probe: FaceTemplate, max_candidates: int, candidate_list: FaceCandidateList) -> None
Parameters
reference_dictFaceTemplateDictin Reference template dictionary.probeFaceTemplatein Probe template.max_candidatesintin Maximum number of candidates to output.candidate_listFaceCandidateListin List of candidates sorted by decreasing match score.
Exceptions
An error has occurred during Face Library execution.
void searchTemplate(FaceTemplateDict referenceDict, FaceTemplate probe, int maxCandidates, FaceCandidateList candidateList)
Parameters
referenceDictFaceTemplateDictin Reference template dictionary.probeFaceTemplatein Probe template.maxCandidatesintin Maximum number of candidates to output.candidateListFaceCandidateListin List of candidates sorted by decreasing match score.
Exceptions
An error has occurred during Face Library execution.
public void SearchTemplate(FaceTemplateDict referenceDict, FaceTemplate probe, int maxCandidates, FaceCandidateList candidateList)
Parameters
referenceDictFaceTemplateDictin Reference template dictionary.probeFaceTemplatein Probe template.maxCandidatesintin Maximum number of candidates to output.candidateListFaceCandidateListin List of candidates sorted by decreasing match score.
Exceptions
An error has occurred during Face Library execution.
public void searchTemplate(FaceTemplateDict referenceDict, FaceTemplate probe, int maxCandidates, FaceCandidateList candidateList) throws FaceException
Parameters
referenceDictFaceTemplateDictin Reference template dictionary.probeFaceTemplatein Probe template.maxCandidatesintin Maximum number of candidates to output.candidateListFaceCandidateListin List of candidates sorted by decreasing match score.
Exceptions
An error has occurred during Face Library execution.
public func searchTemplate(referenceDict: FaceTemplateDict, probe: FaceTemplate, maxCandidates: Int32, candidateList: FaceCandidateList) throws
Parameters
referenceDictFaceTemplateDictin Reference template dictionary.probeFaceTemplatein Probe template.maxCandidatesInt32in Maximum number of candidates to output.candidateListFaceCandidateListin List of candidates sorted by decreasing match score.
Exceptions
An error has occurred during Face Library execution.
int id3FaceMatcher_SearchTemplate (
ID3_FACE_MATCHER hFaceMatcher,
ID3_FACE_TEMPLATE_DICT hReferenceDict,
ID3_FACE_TEMPLATE hProbe,
int maxCandidates,
ID3_FACE_CANDIDATE_LIST hCandidateList)
Parameters
hFaceMatcherID3_FACE_MATCHERin Handle to the FaceMatcher object.hReferenceDictID3_FACE_TEMPLATE_DICTin Reference template dictionary.hProbeID3_FACE_TEMPLATEin Probe template.maxCandidatesintin Maximum number of candidates to output.hCandidateListID3_FACE_CANDIDATE_LISTin List of candidates sorted by decreasing match score.
Returns