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

# 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.

Python

    over_exposure_threshold: int

Exceptions

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

Dart

    int get overExposureThreshold => getOverExposureThreshold();
    set overExposureThreshold(int value) => setOverExposureThreshold(value);

Exceptions

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

C#

    public int overExposureThreshold
    {
        get => GetoverExposureThreshold();
        set => SetoverExposureThreshold(ref value);
    }

Exceptions

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

Java

    public int getOverExposureThreshold() throws FaceException
    public void setOverExposureThreshold(int overExposureThreshold) throws FaceException

Exceptions

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

Swift

    public var overExposureThreshold: Int
        get {
            return Int(try! getOverExposureThreshold())
        }
    }

Exceptions

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

C

    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.