setExpressionSensibility method

void setExpressionSensibility(
  1. int expressionSensibility
)

Sets 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.

param expressionSensibility Sensibility of the expression classifier. throws FaceException An error has occurred during Face Library execution.

Implementation

void setExpressionSensibility(int expressionSensibility) {
  var err = faceSDK.id3FaceAnalyser_SetExpressionSensibility(_pHandle.value, expressionSensibility);
  if (err != FaceError.success.value) {
    throw FaceException(err);
  }
}