setRedEyeThreshold method
- int redEyeThreshold
Sets the threshold for confirming the presence of red eyes. Hint: Default value is 10.
param redEyeThreshold Threshold for confirming the presence of red eyes. throws FaceException An error has occurred during Face Library execution.
Implementation
void setRedEyeThreshold(int redEyeThreshold) {
var err = faceSDK.id3FacePortraitProcessor_SetRedEyeThreshold(_pHandle.value, redEyeThreshold);
if (err != FaceError.success.value) {
throw FaceException(err);
}
}