PortraitProcessor.sharpnessThreshold Property¶
Module: PortraitProcessor
Type: int
Definition¶
Sharpness threshold.
If the sharpness score is above this value, the image sharpness is sufficient.
Hint
Default value is 50.
sharpness_threshold: int
Exceptions
An error has occurred during Face Library execution.
int get sharpnessThreshold => getSharpnessThreshold();
set sharpnessThreshold(int value) => setSharpnessThreshold(value);
Exceptions
An error has occurred during Face Library execution.
public int sharpnessThreshold
{
get => GetsharpnessThreshold();
set => SetsharpnessThreshold(ref value);
}
Exceptions
An error has occurred during Face Library execution.
public int getSharpnessThreshold() throws FaceException
public void setSharpnessThreshold(int sharpnessThreshold) throws FaceException
Exceptions
An error has occurred during Face Library execution.
public var sharpnessThreshold: Int
get {
return Int(try! getSharpnessThreshold())
}
}
Exceptions
An error has occurred during Face Library execution.
int id3FacePortraitProcessor_GetSharpnessThreshold (ID3_FACE_PORTRAIT_PROCESSOR hPortraitProcessor, int * sharpnessThreshold)
int id3FacePortraitProcessor_SetSharpnessThreshold (ID3_FACE_PORTRAIT_PROCESSOR hPortraitProcessor, int sharpnessThreshold)
Returns