PortraitProcessor.checkBackgroundUniformity Method

Module: PortraitProcessor

Definition

Checks the background uniformity of the specified portrait.

Important

This option requires the FaceBackgroundUniformityEstimator1A model to be loaded.

check_background_uniformity(self, portrait: Portrait) -> None

Parameters

portrait Portrait
in The portrait.

Exceptions

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

Parameters

portrait Portrait
in The portrait.

Exceptions

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

Parameters

portrait Portrait
in The portrait.

Exceptions

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

Parameters

portrait Portrait
in The portrait.

Exceptions

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

Parameters

portrait Portrait
in The portrait.

Exceptions

An error has occurred during Face Library execution.
int id3FacePortraitProcessor_CheckBackgroundUniformity (
    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.