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

# Portrait.mouthOpening Property

Module: Portrait

Type: int

## Definition

Value indicating estimating the opening of the mouth. -1 if not computed. The range is 0-100, 100 meaning the mouth is fully open.

Python

    mouth_opening: int

Exceptions

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

Dart

    int get mouthOpening => getMouthOpening();

Exceptions

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

C#

    public int mouthOpening
    {
        get => GetmouthOpening();
    }

Exceptions

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

Java

    public int getMouthOpening() throws FaceException

Exceptions

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

Swift

    public var mouthOpening: Int
        get {
            return Int(try! getMouthOpening())
        }
    }

Exceptions

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

C

    int id3FacePortrait_GetMouthOpening (ID3_FACE_PORTRAIT hPortrait, int * mouthOpening)

Returns

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