Hide navigation sidebar
Hide table of contents sidebar
Skip to content
Back to top
Toggle table of contents sidebar

# Portrait.backgroundUniformity Property

Module: Portrait

Type: BackgroundUniformity

## Definition

Result of the background uniformity computation.

Python

    background_uniformity: BackgroundUniformity

Exceptions

> FaceException
> An error has occurred during Face Library execution.

Dart

    BackgroundUniformity get backgroundUniformity => getBackgroundUniformity();

Exceptions

> FaceException
> An error has occurred during Face Library execution.

C#

    public BackgroundUniformity backgroundUniformity
    {
        get => GetbackgroundUniformity();
    }

Exceptions

> FaceException
> An error has occurred during Face Library execution.

Java

    public BackgroundUniformity getBackgroundUniformity() throws FaceException

Exceptions

> FaceException
> An error has occurred during Face Library execution.

Swift

    public var backgroundUniformity: BackgroundUniformity
        get {
            return try! getBackgroundUniformity()
        }
    }

Exceptions

> FaceException
> An error has occurred during Face Library execution.

C

    int id3FacePortrait_GetBackgroundUniformity (ID3_FACE_PORTRAIT hPortrait, id3FaceBackgroundUniformity * sBackgroundUniformity)

Returns

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