PortraitProcessor.maximumHeadWidthRatio Property¶
Module: PortraitProcessor
Type: int
Definition¶
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 75.
maximum_head_width_ratio: int
Exceptions
An error has occurred during Face Library execution.
int get maximumHeadWidthRatio => getMaximumHeadWidthRatio();
set maximumHeadWidthRatio(int value) => setMaximumHeadWidthRatio(value);
Exceptions
An error has occurred during Face Library execution.
public int maximumHeadWidthRatio
{
get => GetmaximumHeadWidthRatio();
set => SetmaximumHeadWidthRatio(ref value);
}
Exceptions
An error has occurred during Face Library execution.
public int getMaximumHeadWidthRatio() throws FaceException
public void setMaximumHeadWidthRatio(int maximumHeadWidthRatio) throws FaceException
Exceptions
An error has occurred during Face Library execution.
public var maximumHeadWidthRatio: Int
get {
return Int(try! getMaximumHeadWidthRatio())
}
}
Exceptions
An error has occurred during Face Library execution.
int id3FacePortraitProcessor_GetMaximumHeadWidthRatio (ID3_FACE_PORTRAIT_PROCESSOR hPortraitProcessor, int * maximumHeadWidthRatio)
int id3FacePortraitProcessor_SetMaximumHeadWidthRatio (ID3_FACE_PORTRAIT_PROCESSOR hPortraitProcessor, int maximumHeadWidthRatio)
Returns