FaceMatcher.compareTemplateLists Method¶
Module: FaceMatcher
Definition¶
Compares two template lists and outputs a comparison score.
compare_template_lists(self, reference_list: FaceTemplateList, probe_list: FaceTemplateList, pooling_method: PoolingMethod) -> int
Parameters
reference_listFaceTemplateListin Reference template list.probe_listFaceTemplateListin Probe template list.pooling_methodPoolingMethodin Pooling method applied during the match process.
Returns
intThe comparison score, in the range [0;65535].
Exceptions
An error has occurred during Face Library execution.
int compareTemplateLists(FaceTemplateList referenceList, FaceTemplateList probeList, PoolingMethod poolingMethod)
Parameters
referenceListFaceTemplateListin Reference template list.probeListFaceTemplateListin Probe template list.poolingMethodPoolingMethodin Pooling method applied during the match process.
Returns
intThe comparison score, in the range [0;65535].
Exceptions
An error has occurred during Face Library execution.
public int CompareTemplateLists(FaceTemplateList referenceList, FaceTemplateList probeList, PoolingMethod poolingMethod)
Parameters
referenceListFaceTemplateListin Reference template list.probeListFaceTemplateListin Probe template list.poolingMethodPoolingMethodin Pooling method applied during the match process.
Returns
intThe comparison score, in the range [0;65535].
Exceptions
An error has occurred during Face Library execution.
public int compareTemplateLists(FaceTemplateList referenceList, FaceTemplateList probeList, PoolingMethod poolingMethod) throws FaceException
Parameters
referenceListFaceTemplateListin Reference template list.probeListFaceTemplateListin Probe template list.poolingMethodPoolingMethodin Pooling method applied during the match process.
Returns
intThe comparison score, in the range [0;65535].
Exceptions
An error has occurred during Face Library execution.
public func compareTemplateLists(referenceList: FaceTemplateList, probeList: FaceTemplateList, poolingMethod: PoolingMethod) throws -> Int32
Parameters
referenceListFaceTemplateListin Reference template list.probeListFaceTemplateListin Probe template list.poolingMethodPoolingMethodin Pooling method applied during the match process.
Returns
IntThe comparison score, in the range [0;65535].
Exceptions
An error has occurred during Face Library execution.
int id3FaceMatcher_CompareTemplateLists (
ID3_FACE_MATCHER hFaceMatcher,
ID3_FACE_TEMPLATE_LIST hReferenceList,
ID3_FACE_TEMPLATE_LIST hProbeList,
id3FacePoolingMethod ePoolingMethod,
int * score)
Parameters
hFaceMatcherID3_FACE_MATCHERin Handle to the FaceMatcher object.hReferenceListID3_FACE_TEMPLATE_LISTin Reference template list.hProbeListID3_FACE_TEMPLATE_LISTin Probe template list.ePoolingMethodid3FacePoolingMethodin Pooling method applied during the match process.scoreint *out The comparison score, in the range [0;65535].
Returns