setNoFlashReflectionThreshold method

void setNoFlashReflectionThreshold(
  1. int noFlashReflectionThreshold
)

Sets the flash reflexion detection threshold. Above this threshold, the flash reflexion is probably present on the face. Hint: Default value is 70.

param noFlashReflectionThreshold Flash reflexion detection threshold. throws FaceException An error has occurred during Face Library execution.

Implementation

void setNoFlashReflectionThreshold(int noFlashReflectionThreshold) {
  var err = faceSDK.id3FacePortraitProcessor_SetNoFlashReflectionThreshold(_pHandle.value, noFlashReflectionThreshold);
  if (err != FaceError.success.value) {
    throw FaceException(err);
  }
}