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

# PortraitProcessor.underExposureThreshold Property

Module: PortraitProcessor

Type: int

## Definition

Under exposure threshold.

Above this threshold, the face is probably under-exposed.

Hint

Default value is 50.

Python

    under_exposure_threshold: int

Exceptions

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

Dart

    int get underExposureThreshold => getUnderExposureThreshold();
    set underExposureThreshold(int value) => setUnderExposureThreshold(value);

Exceptions

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

C#

    public int underExposureThreshold
    {
        get => GetunderExposureThreshold();
        set => SetunderExposureThreshold(ref value);
    }

Exceptions

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

Java

    public int getUnderExposureThreshold() throws FaceException
    public void setUnderExposureThreshold(int underExposureThreshold) throws FaceException

Exceptions

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

Swift

    public var underExposureThreshold: Int
        get {
            return Int(try! getUnderExposureThreshold())
        }
    }

Exceptions

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

C

    int id3FacePortraitProcessor_GetUnderExposureThreshold (ID3_FACE_PORTRAIT_PROCESSOR hPortraitProcessor, int * underExposureThreshold)
    int id3FacePortraitProcessor_SetUnderExposureThreshold (ID3_FACE_PORTRAIT_PROCESSOR hPortraitProcessor, int underExposureThreshold)

Returns

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