PortraitProcessor.padThreshold Property¶
Module: PortraitProcessor
Type: int
Definition¶
Presentation attack detection threshold, from 0 to 100.
Higher values enable more attacks to be detected, but may reduce ease of use.
Hint
Default value 95.
int get padThreshold => getPadThreshold();
set padThreshold(int value) => setPadThreshold(value);
Exceptions
An error has occurred during Face Library execution.
public int padThreshold
{
get => GetpadThreshold();
set => SetpadThreshold(ref value);
}
Exceptions
An error has occurred during Face Library execution.
public int getPadThreshold() throws FaceException
public void setPadThreshold(int padThreshold) throws FaceException
Exceptions
An error has occurred during Face Library execution.
public var padThreshold: Int
get {
return Int(try! getPadThreshold())
}
}
Exceptions
An error has occurred during Face Library execution.
int id3FacePortraitProcessor_GetPadThreshold (ID3_FACE_PORTRAIT_PROCESSOR hPortraitProcessor, int * padThreshold)
int id3FacePortraitProcessor_SetPadThreshold (ID3_FACE_PORTRAIT_PROCESSOR hPortraitProcessor, int padThreshold)
Returns