# setMinimumHeadWidthRatio method

void setMinimumHeadWidthRatio(

1. int minimumHeadWidthRatio

)

Sets the value indicating if the image width is conform to the (image width / head width) ratio of 7:5. The head width is defined as the distance between the left and right ears. For ICAO compliance, the value must be in the range 50 to 75. Hint: Default value is 50.

param minimumHeadWidthRatio Value indicating if the image width is conform to the (image width / head width) ratio of 7:5. throws FaceException An error has occurred during Face Library execution.

## Implementation

    void setMinimumHeadWidthRatio(int minimumHeadWidthRatio) {
      var err = faceSDK.id3FacePortraitProcessor_SetMinimumHeadWidthRatio(_pHandle.value, minimumHeadWidthRatio);
      if (err != FaceError.success.value) {
        throw FaceException(err);
      }
    }