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_list
FaceTemplateListin Reference template list.probe_list
FaceTemplateListin Probe template list.pooling_method
PoolingMethodin Pooling method applied during the match process.
Returns
int
The 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
referenceList
FaceTemplateListin Reference template list.probeList
FaceTemplateListin Probe template list.poolingMethod
PoolingMethodin Pooling method applied during the match process.
Returns
int
The 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
referenceList
FaceTemplateListin Reference template list.probeList
FaceTemplateListin Probe template list.poolingMethod
PoolingMethodin Pooling method applied during the match process.
Returns
int
The 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
referenceList
FaceTemplateListin Reference template list.probeList
FaceTemplateListin Probe template list.poolingMethod
PoolingMethodin Pooling method applied during the match process.
Returns
int
The 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
referenceList
FaceTemplateListin Reference template list.probeList
FaceTemplateListin Probe template list.poolingMethod
PoolingMethodin Pooling method applied during the match process.
Returns
Int
The 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
hFaceMatcher
ID3_FACE_MATCHERin Handle to the FaceMatcher object.hReferenceList
ID3_FACE_TEMPLATE_LISTin Reference template list.hProbeList
ID3_FACE_TEMPLATE_LISTin Probe template list.ePoolingMethod
id3FacePoolingMethodin Pooling method applied during the match process.score
int *out The comparison score, in the range [0;65535].
Returns