getQuality method
Gets the quality of the face template.
return Quality of the face template. throws FaceException An error has occurred during Face Library execution.
Implementation
int getQuality() {
Pointer<Int> pQuality = calloc();
try {
var err = faceSDK.id3FaceTemplate_GetQuality(_pHandle.value, pQuality);
if (err != FaceError.success.value) {
throw FaceException(err);
}
final vQuality = pQuality.value;
return vQuality;
} finally {
calloc.free(pQuality);
}
}