estimateBackgroundUniformity method
- Portrait portrait
Checks the background uniformity of the specified portrait.
Important: This method requires the FaceBackgroundUniformityEstimator1A model to be loaded.
param portrait The portrait. throws FaceException An error has occurred during Face Library execution.
Implementation
void estimateBackgroundUniformity(Portrait portrait) {
var err = faceSDK.id3FacePortraitProcessor_EstimateBackgroundUniformity(_pHandle.value, portrait.handle);
if (err != FaceError.success.value) {
throw FaceException(err);
}
}