# getNoiseThreshold method

int getNoiseThreshold()

Gets the threshold for confirming the presence of noise in the image. Hint: Default value is 90.

return Threshold for confirming the presence of noise in the image. throws FaceException An error has occurred during Face Library execution.

## Implementation

    int getNoiseThreshold() {
      Pointer<Int> pNoiseThreshold = calloc();
      try {
        var err = faceSDK.id3FacePortraitProcessor_GetNoiseThreshold(_pHandle.value, pNoiseThreshold);
        if (err != FaceError.success.value) {
          throw FaceException(err);
        }
        final vNoiseThreshold = pNoiseThreshold.value;
        return vNoiseThreshold;
      } finally {
        calloc.free(pNoiseThreshold);
      }
    }