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

# Portrait.faceId Property

Module: Portrait

Type: int

## Definition

Unique face ID.

Python

    face_id: int

Exceptions

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

Dart

    int get faceId => getFaceId();

Exceptions

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

C#

    public int faceId
    {
        get => GetfaceId();
    }

Exceptions

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

Java

    public int getFaceId() throws FaceException

Exceptions

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

Swift

    public var faceId: Int
        get {
            return Int(try! getFaceId())
        }
    }

Exceptions

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

C

    int id3FacePortrait_GetFaceId (ID3_FACE_PORTRAIT hPortrait, int * faceId)

Returns

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