PortraitProcessor.portraitIodRatio Property¶
Module: PortraitProcessor
Type: float
Definition¶
Ratio between the interocular distance (IOD) and the image width for ICAO portrait cropping. Must be in the range ]0;1[.
Hint
Default value is 0.25.
portrait_iod_ratio: float
Exceptions
An error has occurred during Face Library execution.
double get portraitIodRatio => getPortraitIodRatio();
set portraitIodRatio(double value) => setPortraitIodRatio(value);
Exceptions
An error has occurred during Face Library execution.
public float portraitIodRatio
{
get => GetportraitIodRatio();
set => SetportraitIodRatio(ref value);
}
Exceptions
An error has occurred during Face Library execution.
public float getPortraitIodRatio() throws FaceException
public void setPortraitIodRatio(float portraitIodRatio) throws FaceException
Exceptions
An error has occurred during Face Library execution.
public var portraitIodRatio: Float
get {
return try! getPortraitIodRatio()
}
}
Exceptions
An error has occurred during Face Library execution.
int id3FacePortraitProcessor_GetPortraitIodRatio (ID3_FACE_PORTRAIT_PROCESSOR hPortraitProcessor, float * portraitIodRatio)
int id3FacePortraitProcessor_SetPortraitIodRatio (ID3_FACE_PORTRAIT_PROCESSOR hPortraitProcessor, float portraitIodRatio)
Returns