PortraitProcessor.maximumHeadHeightRatio Property

Module: PortraitProcessor

Type: int

Definition

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.

maximum_head_height_ratio: int

Exceptions

An error has occurred during Face Library execution.
int get maximumHeadHeightRatio => getMaximumHeadHeightRatio();
set maximumHeadHeightRatio(int value) => setMaximumHeadHeightRatio(value);

Exceptions

An error has occurred during Face Library execution.
public int maximumHeadHeightRatio
{
    get => GetmaximumHeadHeightRatio();
    set => SetmaximumHeadHeightRatio(ref value);
}

Exceptions

An error has occurred during Face Library execution.
public int getMaximumHeadHeightRatio() throws FaceException
public void setMaximumHeadHeightRatio(int maximumHeadHeightRatio) throws FaceException

Exceptions

An error has occurred during Face Library execution.
public var maximumHeadHeightRatio: Int
    get {
        return Int(try! getMaximumHeadHeightRatio())
    }
}

Exceptions

An error has occurred during Face Library execution.
int id3FacePortraitProcessor_GetMaximumHeadHeightRatio (ID3_FACE_PORTRAIT_PROCESSOR hPortraitProcessor, int * maximumHeadHeightRatio)
int id3FacePortraitProcessor_SetMaximumHeadHeightRatio (ID3_FACE_PORTRAIT_PROCESSOR hPortraitProcessor, int maximumHeadHeightRatio)

Returns

int
An error code.
See id3FaceError file for the list of possible error codes.