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 FaceTemplateList
in Reference template list.

probe_list FaceTemplateList
in Probe template list.

pooling_method PoolingMethod
in 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 FaceTemplateList
in Reference template list.

in Probe template list.

poolingMethod PoolingMethod
in 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 FaceTemplateList
in Reference template list.

in Probe template list.

poolingMethod PoolingMethod
in 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 FaceTemplateList
in Reference template list.

in Probe template list.

poolingMethod PoolingMethod
in 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 FaceTemplateList
in Reference template list.

in Probe template list.

poolingMethod PoolingMethod
in 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_MATCHER
in Handle to the FaceMatcher object.

hReferenceList ID3_FACE_TEMPLATE_LIST
in Reference template list.

in Probe template list.

ePoolingMethod id3FacePoolingMethod
in Pooling method applied during the match process.

score int *
out The comparison score, in the range [0;65535].

Returns

int
An error code.
See id3FaceError file for the list of possible error codes.