# setBackgroundStructureUniformityThreshold method

void setBackgroundStructureUniformityThreshold(

1. int backgroundStructureUniformityThreshold

)

Sets the background structure uniformity threshold. If the score is above this value, the background structure of the image is definitely uniform. Hint: Default value is 80.

param backgroundStructureUniformityThreshold Background structure uniformity threshold. throws FaceException An error has occurred during Face Library execution.

## Implementation

    void setBackgroundStructureUniformityThreshold(int backgroundStructureUniformityThreshold) {
      var err = faceSDK.id3FacePortraitProcessor_SetBackgroundStructureUniformityThreshold(_pHandle.value, backgroundStructureUniformityThreshold);
      if (err != FaceError.success.value) {
        throw FaceException(err);
      }
    }