setMaleThreshold method
- int maleThreshold
Sets the male gender detection threshold. If the score is higher than this value, the person is probably male. Hint: Default value is 50.
param maleThreshold Male gender detection threshold. throws FaceException An error has occurred during Face Library execution.
Implementation
void setMaleThreshold(int maleThreshold) {
var err = faceSDK.id3FacePortraitProcessor_SetMaleThreshold(_pHandle.value, maleThreshold);
if (err != FaceError.success.value) {
throw FaceException(err);
}
}