# setEqualBrightnessThreshold method

void setEqualBrightnessThreshold(

1. int equalBrightnessThreshold

)

Sets the equal brightness threshold. Above this value, the face is equally exposed. Hint: Default value is 10.

param equalBrightnessThreshold Equal brightness threshold. throws FaceException An error has occurred during Face Library execution.

## Implementation

    void setEqualBrightnessThreshold(int equalBrightnessThreshold) {
      var err = faceSDK.id3FacePortraitProcessor_SetEqualBrightnessThreshold(_pHandle.value, equalBrightnessThreshold);
      if (err != FaceError.success.value) {
        throw FaceException(err);
      }
    }