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

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

    right_eye_opening: int

Exceptions

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

Dart

    int get rightEyeOpening => getRightEyeOpening();

Exceptions

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

C#

    public int rightEyeOpening
    {
        get => GetrightEyeOpening();
    }

Exceptions

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

Java

    public int getRightEyeOpening() throws FaceException

Exceptions

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

Swift

    public var rightEyeOpening: Int
        get {
            return Int(try! getRightEyeOpening())
        }
    }

Exceptions

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

C

    int id3FacePortrait_GetRightEyeOpening (ID3_FACE_PORTRAIT hPortrait, int * rightEyeOpening)

Returns

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