PortraitProcessor.overExposureThreshold Property

Module: PortraitProcessor

Type: int

Definition

Over exposure threshold.

Above this threshold, the ratio of face pixels are over-exposed.

Hint

Default value is 50.

over_exposure_threshold: int

Exceptions

An error has occurred during Face Library execution.
int get overExposureThreshold => getOverExposureThreshold();
set overExposureThreshold(int value) => setOverExposureThreshold(value);

Exceptions

An error has occurred during Face Library execution.
public int overExposureThreshold
{
    get => GetoverExposureThreshold();
    set => SetoverExposureThreshold(ref value);
}

Exceptions

An error has occurred during Face Library execution.
public int getOverExposureThreshold() throws FaceException
public void setOverExposureThreshold(int overExposureThreshold) throws FaceException

Exceptions

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

Exceptions

An error has occurred during Face Library execution.
int id3FacePortraitProcessor_GetOverExposureThreshold (ID3_FACE_PORTRAIT_PROCESSOR hPortraitProcessor, int * overExposureThreshold)
int id3FacePortraitProcessor_SetOverExposureThreshold (ID3_FACE_PORTRAIT_PROCESSOR hPortraitProcessor, int overExposureThreshold)

Returns

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