# getBackgroundStructureUniformityThreshold method

int getBackgroundStructureUniformityThreshold()

Gets 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.

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

## Implementation

    int getBackgroundStructureUniformityThreshold() {
      Pointer<Int> pBackgroundStructureUniformityThreshold = calloc();
      try {
        var err = faceSDK.id3FacePortraitProcessor_GetBackgroundStructureUniformityThreshold(_pHandle.value, pBackgroundStructureUniformityThreshold);
        if (err != FaceError.success.value) {
          throw FaceException(err);
        }
        final vBackgroundStructureUniformityThreshold = pBackgroundStructureUniformityThreshold.value;
        return vBackgroundStructureUniformityThreshold;
      } finally {
        calloc.free(pBackgroundStructureUniformityThreshold);
      }
    }