compareTemplateLists method
- FaceTemplateList referenceList,
- FaceTemplateList probeList,
- PoolingMethod poolingMethod
Compares two template lists and outputs a comparison score.
param referenceList Reference template list. param probeList Probe template list. param poolingMethod Pooling method applied during the match process. return The comparison score, in the range (0;65535). throws FaceException An error has occurred during Face Library execution.
Implementation
int compareTemplateLists(FaceTemplateList referenceList, FaceTemplateList probeList, PoolingMethod poolingMethod) {
Pointer<Int> pScore = calloc();
try {
var err = faceSDK.id3FaceMatcher_CompareTemplateLists(_pHandle.value, referenceList.handle, probeList.handle, poolingMethod.value, pScore);
if (err != FaceError.success.value) {
throw FaceException(err);
}
final vScore = pScore.value;
return vScore;
} finally {
calloc.free(pScore);
}
}