PortraitProcessor.equalBrightnessThreshold Property

Module: PortraitProcessor

Type: int

Definition

Equal brightness threshold.

Above this value, the face is equally exposed.

Hint

Default value is 10.

equal_brightness_threshold: int

Exceptions

An error has occurred during Face Library execution.
int get equalBrightnessThreshold => getEqualBrightnessThreshold();
set equalBrightnessThreshold(int value) => setEqualBrightnessThreshold(value);

Exceptions

An error has occurred during Face Library execution.
public int equalBrightnessThreshold
{
    get => GetequalBrightnessThreshold();
    set => SetequalBrightnessThreshold(ref value);
}

Exceptions

An error has occurred during Face Library execution.
public int getEqualBrightnessThreshold() throws FaceException
public void setEqualBrightnessThreshold(int equalBrightnessThreshold) throws FaceException

Exceptions

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

Exceptions

An error has occurred during Face Library execution.
int id3FacePortraitProcessor_GetEqualBrightnessThreshold (ID3_FACE_PORTRAIT_PROCESSOR hPortraitProcessor, int * equalBrightnessThreshold)
int id3FacePortraitProcessor_SetEqualBrightnessThreshold (ID3_FACE_PORTRAIT_PROCESSOR hPortraitProcessor, int equalBrightnessThreshold)

Returns

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