getMouthOcclusionThreshold method
Gets the mouth occlusion threshold. If the mouth occlusion score is above this value, the mouth is probably occluded. Hint: Default value 70.
return Mouth occlusion threshold. throws FaceException An error has occurred during Face Library execution.
Implementation
int getMouthOcclusionThreshold() {
Pointer<Int> pMouthOcclusionThreshold = calloc();
try {
var err = faceSDK.id3FacePortraitProcessor_GetMouthOcclusionThreshold(_pHandle.value, pMouthOcclusionThreshold);
if (err != FaceError.success.value) {
throw FaceException(err);
}
final vMouthOcclusionThreshold = pMouthOcclusionThreshold.value;
return vMouthOcclusionThreshold;
} finally {
calloc.free(pMouthOcclusionThreshold);
}
}