PortraitProcessor.eyeOcclusionThreshold Property¶
Module: PortraitProcessor
Type: int
Definition¶
Visible eye threshold.
If the score is above this value, the eye is probably occluded.
Hint
Default value 80.
eye_occlusion_threshold: int
Exceptions
An error has occurred during Face Library execution.
int get eyeOcclusionThreshold => getEyeOcclusionThreshold();
set eyeOcclusionThreshold(int value) => setEyeOcclusionThreshold(value);
Exceptions
An error has occurred during Face Library execution.
public int eyeOcclusionThreshold
{
get => GeteyeOcclusionThreshold();
set => SeteyeOcclusionThreshold(ref value);
}
Exceptions
An error has occurred during Face Library execution.
public int getEyeOcclusionThreshold() throws FaceException
public void setEyeOcclusionThreshold(int eyeOcclusionThreshold) throws FaceException
Exceptions
An error has occurred during Face Library execution.
public var eyeOcclusionThreshold: Int
get {
return Int(try! getEyeOcclusionThreshold())
}
}
Exceptions
An error has occurred during Face Library execution.
int id3FacePortraitProcessor_GetEyeOcclusionThreshold (ID3_FACE_PORTRAIT_PROCESSOR hPortraitProcessor, int * eyeOcclusionThreshold)
int id3FacePortraitProcessor_SetEyeOcclusionThreshold (ID3_FACE_PORTRAIT_PROCESSOR hPortraitProcessor, int eyeOcclusionThreshold)
Returns