PortraitProcessor.backgroundStructureUniformityThreshold Property

Module: PortraitProcessor

Type: int

Definition

Background structure uniformity threshold.

If the score is above this value, the background structure of the image is definitely uniform.

Hint

Default value is 80.

background_structure_uniformity_threshold: int

Exceptions

An error has occurred during Face Library execution.
int get backgroundStructureUniformityThreshold => getBackgroundStructureUniformityThreshold();
set backgroundStructureUniformityThreshold(int value) => setBackgroundStructureUniformityThreshold(value);

Exceptions

An error has occurred during Face Library execution.
public int backgroundStructureUniformityThreshold
{
    get => GetbackgroundStructureUniformityThreshold();
    set => SetbackgroundStructureUniformityThreshold(ref value);
}

Exceptions

An error has occurred during Face Library execution.
public int getBackgroundStructureUniformityThreshold() throws FaceException
public void setBackgroundStructureUniformityThreshold(int backgroundStructureUniformityThreshold) throws FaceException

Exceptions

An error has occurred during Face Library execution.
public var backgroundStructureUniformityThreshold: Int
    get {
        return Int(try! getBackgroundStructureUniformityThreshold())
    }
}

Exceptions

An error has occurred during Face Library execution.
int id3FacePortraitProcessor_GetBackgroundStructureUniformityThreshold (ID3_FACE_PORTRAIT_PROCESSOR hPortraitProcessor, int * backgroundStructureUniformityThreshold)
int id3FacePortraitProcessor_SetBackgroundStructureUniformityThreshold (ID3_FACE_PORTRAIT_PROCESSOR hPortraitProcessor, int backgroundStructureUniformityThreshold)

Returns

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