setMaximumHeadHeightRatio method

void setMaximumHeadHeightRatio(
  1. int maximumHeadHeightRatio
)

Sets the maximum distance between the base of the chin and the crown is less than 80% of the total height of the image. For ICAO compliance, this distance must be in the range 60 to 90. Hint: Default value is 90.

param maximumHeadHeightRatio Maximum distance between the base of the chin and the crown is less than 80% of the total height of the image. throws FaceException An error has occurred during Face Library execution.

Implementation

void setMaximumHeadHeightRatio(int maximumHeadHeightRatio) {
  var err = faceSDK.id3FacePortraitProcessor_SetMaximumHeadHeightRatio(_pHandle.value, maximumHeadHeightRatio);
  if (err != FaceError.success.value) {
    throw FaceException(err);
  }
}