setBackgroundColorUniformityThreshold method
- int backgroundColorUniformityThreshold
Sets the background color uniformity threshold. If the score is above this value, the background color of the image is definitely uniform. Hint: Default value is 80.
param backgroundColorUniformityThreshold Background color uniformity threshold. throws FaceException An error has occurred during Face Library execution.
Implementation
void setBackgroundColorUniformityThreshold(int backgroundColorUniformityThreshold) {
var err = faceSDK.id3FacePortraitProcessor_SetBackgroundColorUniformityThreshold(_pHandle.value, backgroundColorUniformityThreshold);
if (err != FaceError.success.value) {
throw FaceException(err);
}
}