setUnderExposureThreshold method

void setUnderExposureThreshold(
  1. int underExposureThreshold
)

Sets the under exposure threshold. Above this threshold, the face is probably under-exposed. Hint: Default value is 50.

param underExposureThreshold Under exposure threshold. throws FaceException An error has occurred during Face Library execution.

Implementation

void setUnderExposureThreshold(int underExposureThreshold) {
  var err = faceSDK.id3FacePortraitProcessor_SetUnderExposureThreshold(_pHandle.value, underExposureThreshold);
  if (err != FaceError.success.value) {
    throw FaceException(err);
  }
}