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

# Portrait.leftEyeOpening Property

Module: Portrait

Type: int

## Definition

Value estimating the opening of the left eye. -1 if not computed. The range is 0-100, 100 meaning the eye is fully opened.

Python

    left_eye_opening: int

Exceptions

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

Dart

    int get leftEyeOpening => getLeftEyeOpening();

Exceptions

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

C#

    public int leftEyeOpening
    {
        get => GetleftEyeOpening();
    }

Exceptions

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

Java

    public int getLeftEyeOpening() throws FaceException

Exceptions

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

Swift

    public var leftEyeOpening: Int
        get {
            return Int(try! getLeftEyeOpening())
        }
    }

Exceptions

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

C

    int id3FacePortrait_GetLeftEyeOpening (ID3_FACE_PORTRAIT hPortrait, int * leftEyeOpening)

Returns

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