getQualityCheckpoints method
Gets the quality check points of the portrait.
return Quality check points of the portrait. throws FaceException An error has occurred during Face Library execution.
Implementation
PortraitQualityCheckpoints getQualityCheckpoints() {
Pointer<id3FacePortraitQualityCheckpoints> pQualityCheckpoints = calloc();
var err = faceSDK.id3FacePortrait_GetQualityCheckpoints(_pHandle.value, pQualityCheckpoints);
if (err != FaceError.success.value) {
calloc.free(pQualityCheckpoints);
throw FaceException(err);
}
return PortraitQualityCheckpoints(pQualityCheckpoints);
}