setResolutionThreshold method

void setResolutionThreshold(
  1. int resolutionThreshold
)

Sets the threshold indicating whether the image resolution is sufficient. Hint: Default value is 90.

param resolutionThreshold Threshold indicating whether the image resolution is sufficient. throws FaceException An error has occurred during Face Library execution.

Implementation

void setResolutionThreshold(int resolutionThreshold) {
  var err = faceSDK.id3FacePortraitProcessor_SetResolutionThreshold(_pHandle.value, resolutionThreshold);
  if (err != FaceError.success.value) {
    throw FaceException(err);
  }
}