# setMinimumHeadHeightRatio method

void setMinimumHeadHeightRatio(

1. int minimumHeadHeightRatio

)

Sets the minimum 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 60.

param minimumHeadHeightRatio Minimum 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 setMinimumHeadHeightRatio(int minimumHeadHeightRatio) {
      var err = faceSDK.id3FacePortraitProcessor_SetMinimumHeadHeightRatio(_pHandle.value, minimumHeadHeightRatio);
      if (err != FaceError.success.value) {
        throw FaceException(err);
      }
    }