Portrait.expression Property

Module: Portrait

Type: FaceExpression

Definition

Estimated expression of the subject (angriness, disgust, fear, happiness, sadness, surprise, or neutral). Unknown if not computed.

expression: FaceExpression

Exceptions

An error has occurred during Face Library execution.
FaceExpression get expression => getExpression();

Exceptions

An error has occurred during Face Library execution.
public FaceExpression expression
{
    get => Getexpression();
}

Exceptions

An error has occurred during Face Library execution.
public FaceExpression getExpression() throws FaceException

Exceptions

An error has occurred during Face Library execution.
public var expression: FaceExpression
    get {
        return try! getExpression()
    }
}

Exceptions

An error has occurred during Face Library execution.
int id3FacePortrait_GetExpression (ID3_FACE_PORTRAIT hPortrait, id3FaceExpression * eExpression)

Returns

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