PortraitProcessor.estimateBackgroundUniformity Method

Module: PortraitProcessor

Definition

Checks the background uniformity of the specified portrait.

Important

This method requires the FaceBackgroundUniformityEstimator1A model to be loaded.

estimate_background_uniformity(self, portrait: Portrait) -> None

Parameters

portrait Portrait
in The portrait.

Exceptions

An error has occurred during Face Library execution.
void estimateBackgroundUniformity(Portrait portrait)

Parameters

portrait Portrait
in The portrait.

Exceptions

An error has occurred during Face Library execution.
public void EstimateBackgroundUniformity(Portrait portrait)

Parameters

portrait Portrait
in The portrait.

Exceptions

An error has occurred during Face Library execution.
public void estimateBackgroundUniformity(Portrait portrait) throws FaceException

Parameters

portrait Portrait
in The portrait.

Exceptions

An error has occurred during Face Library execution.
public func estimateBackgroundUniformity(portrait: Portrait) throws

Parameters

portrait Portrait
in The portrait.

Exceptions

An error has occurred during Face Library execution.
int id3FacePortraitProcessor_EstimateBackgroundUniformity (
    ID3_FACE_PORTRAIT_PROCESSOR hPortraitProcessor,
    ID3_FACE_PORTRAIT hPortrait)

Parameters

hPortraitProcessor ID3_FACE_PORTRAIT_PROCESSOR
in Handle to the PortraitProcessor object.

in The portrait.

Returns

int
An error code.
See id3FaceError file for the list of possible error codes.