getMinimumVerticalPosition method

int getMinimumVerticalPosition()

Gets the minimum 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 30.

return Minimum 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 getMinimumVerticalPosition() {
  Pointer<Int> pMinimumVerticalPosition = calloc();
  try {
    var err = faceSDK.id3FacePortraitProcessor_GetMinimumVerticalPosition(_pHandle.value, pMinimumVerticalPosition);
    if (err != FaceError.success.value) {
      throw FaceException(err);
    }
    final vMinimumVerticalPosition = pMinimumVerticalPosition.value;
    return vMinimumVerticalPosition;
  } finally {
    calloc.free(pMinimumVerticalPosition);
  }
}