Portrait.lookStraightScore Property

Module: Portrait

Type: int

Definition

Value estimating if the user is looking straight towards the camera. -1 if not computed. The range is 0-100, 100 meaning the look is straight.

look_straight_score: int

Exceptions

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

Exceptions

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

Exceptions

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

Exceptions

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

Exceptions

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

Returns

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