Portrait.smile Property

Module: Portrait

Type: int

Definition

Value indicating whether the subject is smiling. -1 if not computed. The range is 0-100, 100 meaning the person is smiling.

smile: int

Exceptions

An error has occurred during Face Library execution.
int get smile => getSmile();

Exceptions

An error has occurred during Face Library execution.
public int smile
{
    get => Getsmile();
}

Exceptions

An error has occurred during Face Library execution.
public int getSmile() throws FaceException

Exceptions

An error has occurred during Face Library execution.
public var smile: Int
    get {
        return Int(try! getSmile())
    }
}

Exceptions

An error has occurred during Face Library execution.
int id3FacePortrait_GetSmile (ID3_FACE_PORTRAIT hPortrait, int * smile)

Returns

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