# getPixelationThreshold method

int getPixelationThreshold()

Gets the pixelation detection threshold. Above this threshold, the image is probably pixelated. Hint: Default value is 90.

return Pixelation detection threshold. throws FaceException An error has occurred during Face Library execution.

## Implementation

    int getPixelationThreshold() {
      Pointer<Int> pPixelationThreshold = calloc();
      try {
        var err = faceSDK.id3FacePortraitProcessor_GetPixelationThreshold(_pHandle.value, pPixelationThreshold);
        if (err != FaceError.success.value) {
          throw FaceException(err);
        }
        final vPixelationThreshold = pPixelationThreshold.value;
        return vPixelationThreshold;
      } finally {
        calloc.free(pPixelationThreshold);
      }
    }