PortraitProcessor.naturalSkinColorThreshold Property¶
Module: PortraitProcessor
Type: int
Definition¶
Natural skin color threshold.
Above this threshold, th skin of the person looks natural.
Hint
Default value is 5.
natural_skin_color_threshold: int
Exceptions
An error has occurred during Face Library execution.
int get naturalSkinColorThreshold => getNaturalSkinColorThreshold();
set naturalSkinColorThreshold(int value) => setNaturalSkinColorThreshold(value);
Exceptions
An error has occurred during Face Library execution.
public int naturalSkinColorThreshold
{
get => GetnaturalSkinColorThreshold();
set => SetnaturalSkinColorThreshold(ref value);
}
Exceptions
An error has occurred during Face Library execution.
public int getNaturalSkinColorThreshold() throws FaceException
public void setNaturalSkinColorThreshold(int naturalSkinColorThreshold) throws FaceException
Exceptions
An error has occurred during Face Library execution.
public var naturalSkinColorThreshold: Int
get {
return Int(try! getNaturalSkinColorThreshold())
}
}
Exceptions
An error has occurred during Face Library execution.
int id3FacePortraitProcessor_GetNaturalSkinColorThreshold (ID3_FACE_PORTRAIT_PROCESSOR hPortraitProcessor, int * naturalSkinColorThreshold)
int id3FacePortraitProcessor_SetNaturalSkinColorThreshold (ID3_FACE_PORTRAIT_PROCESSOR hPortraitProcessor, int naturalSkinColorThreshold)
Returns