FaceMatcher.compareTemplates Method¶
Module: FaceMatcher
Definition¶
Compares two templates and outputs a comparison score.
compare_templates(self, reference: FaceTemplate, probe: FaceTemplate) -> int
Parameters
Returns
intThe comparison score, in the range [0;65535].
Exceptions
An error has occurred during Face Library execution.
int compareTemplates(FaceTemplate reference, FaceTemplate probe)
Parameters
Returns
intThe 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
intThe 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
intThe 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
IntThe 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
hFaceMatcherID3_FACE_MATCHERin Handle to the FaceMatcher object.hReferenceID3_FACE_TEMPLATEin Reference template.hProbeID3_FACE_TEMPLATEin Probe template.scoreint *out The comparison score, in the range [0;65535].
Returns