PortraitProcessor.eyeOpeningThreshold Property¶
Module: PortraitProcessor
Type: int
Definition¶
Eye opening threshold.
If the score is above this value, the eyes are definitely open.
Hint
Default value is 5.
eye_opening_threshold: int
Exceptions
An error has occurred during Face Library execution.
int get eyeOpeningThreshold => getEyeOpeningThreshold();
set eyeOpeningThreshold(int value) => setEyeOpeningThreshold(value);
Exceptions
An error has occurred during Face Library execution.
public int eyeOpeningThreshold
{
get => GeteyeOpeningThreshold();
set => SeteyeOpeningThreshold(ref value);
}
Exceptions
An error has occurred during Face Library execution.
public int getEyeOpeningThreshold() throws FaceException
public void setEyeOpeningThreshold(int eyeOpeningThreshold) throws FaceException
Exceptions
An error has occurred during Face Library execution.
public var eyeOpeningThreshold: Int
get {
return Int(try! getEyeOpeningThreshold())
}
}
Exceptions
An error has occurred during Face Library execution.
int id3FacePortraitProcessor_GetEyeOpeningThreshold (ID3_FACE_PORTRAIT_PROCESSOR hPortraitProcessor, int * eyeOpeningThreshold)
int id3FacePortraitProcessor_SetEyeOpeningThreshold (ID3_FACE_PORTRAIT_PROCESSOR hPortraitProcessor, int eyeOpeningThreshold)
Returns