getExpressionSensibility method
Gets the sensibility of the expression classifier. The higher the value, the more sensitive the algorithm will be, meaning that it will be less likely to estimate neutral expression out of the detected face. Hint: Default value is 60.
return Sensibility of the expression classifier. throws FaceException An error has occurred during Face Library execution.
Implementation
int getExpressionSensibility() {
Pointer<Int> pExpressionSensibility = calloc();
try {
var err = faceSDK.id3FacePortraitProcessor_GetExpressionSensibility(_pHandle.value, pExpressionSensibility);
if (err != FaceError.success.value) {
throw FaceException(err);
}
final vExpressionSensibility = pExpressionSensibility.value;
return vExpressionSensibility;
} finally {
calloc.free(pExpressionSensibility);
}
}