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

# TrackedFaceList.findTrackedFace Method

Module: TrackedFaceList

## Definition

Finds a tracked face by ID.

Python

    find_tracked_face(self, id: int) -> TrackedFace

Parameters

> `id` int
> in ID of the tracked face to find in the list.

Returns

> TrackedFace
> The found tracked face.

Exceptions

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

Dart

    TrackedFace findTrackedFace(int id)

Parameters

> `id` int
> in ID of the tracked face to find in the list.

Returns

> TrackedFace
> The found tracked face.

Exceptions

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

C#

    public TrackedFace FindTrackedFace(int id)

Parameters

> `id` int
> in ID of the tracked face to find in the list.

Returns

> TrackedFace
> The found tracked face.

Exceptions

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

Java

    public TrackedFace findTrackedFace(int id) throws FaceException

Parameters

> `id` int
> in ID of the tracked face to find in the list.

Returns

> TrackedFace
> The found tracked face.

Exceptions

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

Swift

    public func findTrackedFace(id: Int32) throws -> TrackedFace

Parameters

> `id` Int32
> in ID of the tracked face to find in the list.

Returns

> TrackedFace
> The found tracked face.

Exceptions

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

C

    int id3TrackedFaceList_FindTrackedFace (
        ID3_TRACKED_FACE_LIST hTrackedFaceList,
        int id,
        ID3_TRACKED_FACE hTrackedFace)

Parameters

> `hTrackedFaceList` ID3_TRACKED_FACE_LIST
> in Handle to the TrackedFaceList object.
> `id` int
> in ID of the tracked face to find in the list.
> `hTrackedFace` ID3_TRACKED_FACE
> out The found tracked face.

Returns

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