setPadThreshold method
- int padThreshold
Sets the 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.
param padThreshold Presentation attack detection threshold, from 0 to 100. throws FaceException An error has occurred during Face Library execution.
Implementation
void setPadThreshold(int padThreshold) {
var err = faceSDK.id3FacePortraitProcessor_SetPadThreshold(_pHandle.value, padThreshold);
if (err != FaceError.success.value) {
throw FaceException(err);
}
}