FaceMatcher.compareTemplates Method¶
Module: FaceMatcher
Definition¶
Compares two templates and outputs a comparison score.
compare_templates(self, reference: FaceTemplate, probe: FaceTemplate) -> int
Parameters
Returns
int
The comparison score, in the range [0;65535].
Exceptions
An error has occurred during Face Library execution.
int compareTemplates(FaceTemplate reference, FaceTemplate probe)
Parameters
Returns
int
The comparison score, in the range [0;65535].
Exceptions
An error has occurred during Face Library execution.
public int CompareTemplates(FaceTemplate reference, FaceTemplate probe)
Parameters
Returns
int
The comparison score, in the range [0;65535].
Exceptions
An error has occurred during Face Library execution.
public int compareTemplates(FaceTemplate reference, FaceTemplate probe) throws FaceException
Parameters
Returns
int
The comparison score, in the range [0;65535].
Exceptions
An error has occurred during Face Library execution.
public func compareTemplates(reference: FaceTemplate, probe: FaceTemplate) throws -> Int32
Parameters
Returns
Int
The comparison score, in the range [0;65535].
Exceptions
An error has occurred during Face Library execution.
int id3FaceMatcher_CompareTemplates (
ID3_FACE_MATCHER hFaceMatcher,
ID3_FACE_TEMPLATE hReference,
ID3_FACE_TEMPLATE hProbe,
int * score)
Parameters
hFaceMatcher
ID3_FACE_MATCHERin Handle to the FaceMatcher object.hReference
ID3_FACE_TEMPLATEin Reference template.hProbe
ID3_FACE_TEMPLATEin Probe template.score
int *out The comparison score, in the range [0;65535].
Returns