getNoseOcclusionThreshold method
Gets the nose occlusion threshold. If the score is above this value, the nose is probably occluded. Hint: Default value 50.
return Nose occlusion threshold. throws FaceException An error has occurred during Face Library execution.
Implementation
int getNoseOcclusionThreshold() {
Pointer<Int> pNoseOcclusionThreshold = calloc();
try {
var err = faceSDK.id3FacePortraitProcessor_GetNoseOcclusionThreshold(_pHandle.value, pNoseOcclusionThreshold);
if (err != FaceError.success.value) {
throw FaceException(err);
}
final vNoseOcclusionThreshold = pNoseOcclusionThreshold.value;
return vNoseOcclusionThreshold;
} finally {
calloc.free(pNoseOcclusionThreshold);
}
}