# setOverExposureThreshold method

void setOverExposureThreshold(

1. int overExposureThreshold

)

Sets the over exposure threshold. Above this threshold, the ratio of face pixels are over-exposed. Hint: Default value is 50.

param overExposureThreshold Over exposure threshold. throws FaceException An error has occurred during Face Library execution.

## Implementation

    void setOverExposureThreshold(int overExposureThreshold) {
      var err = faceSDK.id3FacePortraitProcessor_SetOverExposureThreshold(_pHandle.value, overExposureThreshold);
      if (err != FaceError.success.value) {
        throw FaceException(err);
      }
    }