setNaturalSkinColorThreshold method
- int naturalSkinColorThreshold
Sets the natural skin color threshold. Above this threshold, th skin of the person looks natural. Hint: Default value is 5.
param naturalSkinColorThreshold Natural skin color threshold. throws FaceException An error has occurred during Face Library execution.
Implementation
void setNaturalSkinColorThreshold(int naturalSkinColorThreshold) {
var err = faceSDK.id3FacePortraitProcessor_SetNaturalSkinColorThreshold(_pHandle.value, naturalSkinColorThreshold);
if (err != FaceError.success.value) {
throw FaceException(err);
}
}