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

# TrackedFaceList.getLargestFace Method

Module: TrackedFaceList

## Definition

Gets the largest face in the list.

Python

    get_largest_face(self) -> TrackedFace

Returns

> TrackedFace
> The largest tracked face in the list.

Exceptions

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

Dart

    TrackedFace getLargestFace()

Returns

> TrackedFace
> The largest tracked face in the list.

Exceptions

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

C#

    public TrackedFace GetLargestFace()

Returns

> TrackedFace
> The largest tracked face in the list.

Exceptions

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

Java

    public TrackedFace getLargestFace() throws FaceException

Returns

> TrackedFace
> The largest tracked face in the list.

Exceptions

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

Swift

    public func getLargestFace() throws -> TrackedFace

Returns

> TrackedFace
> The largest tracked face in the list.

Exceptions

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

C

    int id3TrackedFaceList_GetLargestFace (
        ID3_TRACKED_FACE_LIST hTrackedFaceList,
        ID3_TRACKED_FACE hLargestFace)

Parameters

> `hTrackedFaceList` ID3_TRACKED_FACE_LIST
> in Handle to the TrackedFaceList object.
> `hLargestFace` ID3_TRACKED_FACE
> out The largest tracked face in the list.

Returns

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