getMouthOpenThreshold method
Gets the mouth opening threshold. If the mouth opening score is above this value, the mouth of detected face is definitely open. Hint: Default value is 35.
return Mouth opening threshold. throws FaceException An error has occurred during Face Library execution.
Implementation
int getMouthOpenThreshold() {
Pointer<Int> pMouthOpenThreshold = calloc();
try {
var err = faceSDK.id3FacePortraitProcessor_GetMouthOpenThreshold(_pHandle.value, pMouthOpenThreshold);
if (err != FaceError.success.value) {
throw FaceException(err);
}
final vMouthOpenThreshold = pMouthOpenThreshold.value;
return vMouthOpenThreshold;
} finally {
calloc.free(pMouthOpenThreshold);
}
}