PortraitProcessor.enableEyeOpeningDetection Property

Module: PortraitProcessor

Type: bool

Definition

Value indicating whether eye opening detection is enabled.

Important

This option requires the EyeOpennessDetector1A model to be loaded.

enable_eye_opening_detection: bool

Exceptions

An error has occurred during Face Library execution.
bool get enableEyeOpeningDetection => getEnableEyeOpeningDetection();
set enableEyeOpeningDetection(bool value) => setEnableEyeOpeningDetection(value);

Exceptions

An error has occurred during Face Library execution.
public bool enableEyeOpeningDetection
{
    get => GetenableEyeOpeningDetection();
    set => SetenableEyeOpeningDetection(ref value);
}

Exceptions

An error has occurred during Face Library execution.
public boolean getEnableEyeOpeningDetection() throws FaceException
public void setEnableEyeOpeningDetection(boolean enableEyeOpeningDetection) throws FaceException

Exceptions

An error has occurred during Face Library execution.
public var enableEyeOpeningDetection: Bool
    get {
        return try! getEnableEyeOpeningDetection()
    }
}

Exceptions

An error has occurred during Face Library execution.
int id3FacePortraitProcessor_GetEnableEyeOpeningDetection (ID3_FACE_PORTRAIT_PROCESSOR hPortraitProcessor, bool * enableEyeOpeningDetection)
int id3FacePortraitProcessor_SetEnableEyeOpeningDetection (ID3_FACE_PORTRAIT_PROCESSOR hPortraitProcessor, bool enableEyeOpeningDetection)

Returns

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