Portrait.subjectPosition Property

Module: Portrait

Type: SubjectPosition

Definition

Position of the subject in the image.

subject_position: SubjectPosition

Exceptions

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

Exceptions

An error has occurred during Face Library execution.
public SubjectPosition subjectPosition
{
    get => GetsubjectPosition();
}

Exceptions

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

Exceptions

An error has occurred during Face Library execution.
public var subjectPosition: SubjectPosition
    get {
        return try! getSubjectPosition()
    }
}

Exceptions

An error has occurred during Face Library execution.
int id3FacePortrait_GetSubjectPosition (ID3_FACE_PORTRAIT hPortrait, id3FaceSubjectPosition * eSubjectPosition)

Returns

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