PortraitProcessor.redEyeThreshold Property¶
Module: PortraitProcessor
Type: int
Definition¶
Threshold for confirming the presence of red eyes.
Hint
Default value is 10.
red_eye_threshold: int
Exceptions
An error has occurred during Face Library execution.
int get redEyeThreshold => getRedEyeThreshold();
set redEyeThreshold(int value) => setRedEyeThreshold(value);
Exceptions
An error has occurred during Face Library execution.
public int redEyeThreshold
{
get => GetredEyeThreshold();
set => SetredEyeThreshold(ref value);
}
Exceptions
An error has occurred during Face Library execution.
public int getRedEyeThreshold() throws FaceException
public void setRedEyeThreshold(int redEyeThreshold) throws FaceException
Exceptions
An error has occurred during Face Library execution.
public var redEyeThreshold: Int
get {
return Int(try! getRedEyeThreshold())
}
}
Exceptions
An error has occurred during Face Library execution.
int id3FacePortraitProcessor_GetRedEyeThreshold (ID3_FACE_PORTRAIT_PROCESSOR hPortraitProcessor, int * redEyeThreshold)
int id3FacePortraitProcessor_SetRedEyeThreshold (ID3_FACE_PORTRAIT_PROCESSOR hPortraitProcessor, int redEyeThreshold)
Returns