setNoiseThreshold method

void setNoiseThreshold(
  1. int noiseThreshold
)

Sets the threshold for confirming the presence of noise in the image. Hint: Default value is 90.

param noiseThreshold Threshold for confirming the presence of noise in the image. throws FaceException An error has occurred during Face Library execution.

Implementation

void setNoiseThreshold(int noiseThreshold) {
  var err = faceSDK.id3FacePortraitProcessor_SetNoiseThreshold(_pHandle.value, noiseThreshold);
  if (err != FaceError.success.value) {
    throw FaceException(err);
  }
}