FacePad.attackSupportDetectorConfidenceThreshold Property

Module: FacePad

Type: int

Definition

Attack support detector confidence threshold, in the range [0;100].

Hint

Default value is 25.

Note

Setting a high threshold reduces false attack support detections but can increase the number of undetected attack supports.

attack_support_detector_confidence_threshold: int

Exceptions

An error has occurred during Face Library execution.
int get attackSupportDetectorConfidenceThreshold => getAttackSupportDetectorConfidenceThreshold();
set attackSupportDetectorConfidenceThreshold(int value) => setAttackSupportDetectorConfidenceThreshold(value);

Exceptions

An error has occurred during Face Library execution.
public int attackSupportDetectorConfidenceThreshold
{
    get => GetattackSupportDetectorConfidenceThreshold();
    set => SetattackSupportDetectorConfidenceThreshold(ref value);
}

Exceptions

An error has occurred during Face Library execution.
public int getAttackSupportDetectorConfidenceThreshold() throws FaceException
public void setAttackSupportDetectorConfidenceThreshold(int attackSupportDetectorConfidenceThreshold) throws FaceException

Exceptions

An error has occurred during Face Library execution.
public var attackSupportDetectorConfidenceThreshold: Int
    get {
        return Int(try! getAttackSupportDetectorConfidenceThreshold())
    }
}

Exceptions

An error has occurred during Face Library execution.
int id3FacePad_GetAttackSupportDetectorConfidenceThreshold (ID3_FACE_PAD hFacePad, int * attackSupportDetectorConfidenceThreshold)
int id3FacePad_SetAttackSupportDetectorConfidenceThreshold (ID3_FACE_PAD hFacePad, int attackSupportDetectorConfidenceThreshold)

Returns

int
An error code.
See id3FaceError file for the list of possible error codes.