PortraitProcessor.enableEyeGazeDetection Property

Module: PortraitProcessor

Type: bool

Definition

Value indicating whether eye gaze detection is enabled.

Important

This option requires the EyeGazeEstimator2A model to be loaded.

enable_eye_gaze_detection: bool

Exceptions

An error has occurred during Face Library execution.
bool get enableEyeGazeDetection => getEnableEyeGazeDetection();
set enableEyeGazeDetection(bool value) => setEnableEyeGazeDetection(value);

Exceptions

An error has occurred during Face Library execution.
public bool enableEyeGazeDetection
{
    get => GetenableEyeGazeDetection();
    set => SetenableEyeGazeDetection(ref value);
}

Exceptions

An error has occurred during Face Library execution.
public boolean getEnableEyeGazeDetection() throws FaceException
public void setEnableEyeGazeDetection(boolean enableEyeGazeDetection) throws FaceException

Exceptions

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

Exceptions

An error has occurred during Face Library execution.
int id3FacePortraitProcessor_GetEnableEyeGazeDetection (ID3_FACE_PORTRAIT_PROCESSOR hPortraitProcessor, bool * enableEyeGazeDetection)
int id3FacePortraitProcessor_SetEnableEyeGazeDetection (ID3_FACE_PORTRAIT_PROCESSOR hPortraitProcessor, bool enableEyeGazeDetection)

Returns

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