# getMinimumIod method

int getMinimumIod()

Gets the minimum intra-occular distance, in pixels. This parameter is used to the limit the distance from the subject to the camera. Hint: Default value is 0.

return Minimum intra-occular distance, in pixels. throws FaceException An error has occurred during Face Library execution.

## Implementation

    int getMinimumIod() {
      Pointer<Int> pMinimumIod = calloc();
      try {
        var err = faceSDK.id3FacePortraitProcessor_GetMinimumIod(_pHandle.value, pMinimumIod);
        if (err != FaceError.success.value) {
          throw FaceException(err);
        }
        final vMinimumIod = pMinimumIod.value;
        return vMinimumIod;
      } finally {
        calloc.free(pMinimumIod);
      }
    }