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

# TrackedFaceList.add Method

Module: TrackedFaceList

## Definition

Adds an item to the TrackedFaceList object.

Python

    add(self, tracked_face_item: TrackedFace) -> None

Parameters

> `tracked_face_item` TrackedFace
> in TrackedFace item to add.

Exceptions

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

Dart

    void add(TrackedFace trackedFaceItem)

Parameters

> `trackedFaceItem` TrackedFace
> in TrackedFace item to add.

Exceptions

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

C#

    public void Add(TrackedFace trackedFaceItem)

Parameters

> `trackedFaceItem` TrackedFace
> in TrackedFace item to add.

Exceptions

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

Java

    public void add(TrackedFace trackedFaceItem) throws FaceException

Parameters

> `trackedFaceItem` TrackedFace
> in TrackedFace item to add.

Exceptions

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

Swift

    public func add(trackedFaceItem: TrackedFace) throws

Parameters

> `trackedFaceItem` TrackedFace
> in TrackedFace item to add.

Exceptions

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

C

    int id3TrackedFaceList_Add (
        ID3_TRACKED_FACE_LIST hTrackedFaceList,
        ID3_TRACKED_FACE hTrackedFaceItem)

Parameters

> `hTrackedFaceList` ID3_TRACKED_FACE_LIST
> in Handle to the TrackedFaceList object.
> `hTrackedFaceItem` ID3_TRACKED_FACE
> in TrackedFace item to add.

Returns

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