PortraitProcessor.smileThreshold Property¶
Module: PortraitProcessor
Type: int
Definition¶
Smile threshold.
If the Smile score is above this value, the detected face is definitely smiling.
Hint
Default value is 75.
int get smileThreshold => getSmileThreshold();
set smileThreshold(int value) => setSmileThreshold(value);
Exceptions
An error has occurred during Face Library execution.
public int smileThreshold
{
get => GetsmileThreshold();
set => SetsmileThreshold(ref value);
}
Exceptions
An error has occurred during Face Library execution.
public int getSmileThreshold() throws FaceException
public void setSmileThreshold(int smileThreshold) throws FaceException
Exceptions
An error has occurred during Face Library execution.
public var smileThreshold: Int
get {
return Int(try! getSmileThreshold())
}
}
Exceptions
An error has occurred during Face Library execution.
int id3FacePortraitProcessor_GetSmileThreshold (ID3_FACE_PORTRAIT_PROCESSOR hPortraitProcessor, int * smileThreshold)
int id3FacePortraitProcessor_SetSmileThreshold (ID3_FACE_PORTRAIT_PROCESSOR hPortraitProcessor, int smileThreshold)
Returns