setAttackSupportDetectorConfidenceThreshold method

void setAttackSupportDetectorConfidenceThreshold(
  1. int attackSupportDetectorConfidenceThreshold
)

Sets the 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.

param attackSupportDetectorConfidenceThreshold Attack support detector confidence threshold, in the range (0;100). throws FaceException An error has occurred during Face Library execution.

Implementation

void setAttackSupportDetectorConfidenceThreshold(int attackSupportDetectorConfidenceThreshold) {
  var err = faceSDK.id3FacePad_SetAttackSupportDetectorConfidenceThreshold(_pHandle.value, attackSupportDetectorConfidenceThreshold);
  if (err != FaceError.success.value) {
    throw FaceException(err);
  }
}