getMaximumVerticalPosition method

int getMaximumVerticalPosition()

Gets the maximum distance from the bottom edge of the image to the imaginary line passing through the center of the eyes is between 50% - 70% of the total vertical length of the image. For ICAO compliance, the value must be in the range 30 to 50. Hint: Default value is 50.

return Maximum distance from the bottom edge of the image to the imaginary line passing through the center of the eyes is between 50% - 70% of the total vertical length of the image. throws FaceException An error has occurred during Face Library execution.

Implementation

int getMaximumVerticalPosition() {
  Pointer<Int> pMaximumVerticalPosition = calloc();
  try {
    var err = faceSDK.id3FacePortraitProcessor_GetMaximumVerticalPosition(_pHandle.value, pMaximumVerticalPosition);
    if (err != FaceError.success.value) {
      throw FaceException(err);
    }
    final vMaximumVerticalPosition = pMaximumVerticalPosition.value;
    return vMaximumVerticalPosition;
  } finally {
    calloc.free(pMaximumVerticalPosition);
  }
}