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

# TrackedFace.id Property

Module: TrackedFace

Type: int

## Definition

ID of the detected face.

Python

    id: int

Exceptions

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

Dart

    int get id => getId();
    set id(int value) => setId(value);

Exceptions

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

C#

    public int id
    {
        get => Getid();
        set => Setid(ref value);
    }

Exceptions

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

Java

    public int getId() throws FaceException
    public void setId(int id) throws FaceException

Exceptions

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

Swift

    public var id: Int
        get {
            return Int(try! getId())
        }
    }

Exceptions

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

C

    int id3TrackedFace_GetId (ID3_TRACKED_FACE hTrackedFace, int * id)
    int id3TrackedFace_SetId (ID3_TRACKED_FACE hTrackedFace, int id)

Returns

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