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

# TrackedFaceList Class

Namespace: id3.Face

## Definition

Represents a list of tracked faces.
Python

    class TrackedFaceList

Dart

    class TrackedFaceList implements Finalizable

C#

    public partial class TrackedFaceList

Java

    public class TrackedFaceList implements AutoCloseable, Serializable

Swift

    public class TrackedFaceList

C

    typedef struct id3TrackedFaceList *ID3_TRACKED_FACE_LIST;

## Usage

Python

    trackedFaceListInstance = id3face.TrackedFaceList()

Explicit destruction

    # ...
    del trackedFaceListInstance

Dart

    final trackedFaceListInstance = sdk.TrackedFaceList();
    // ...

Explicit destruction

    // ...
    trackedFaceListInstance.dispose()

C#

    using (var trackedFaceListInstance = new TrackedFaceList())
    {
       // ...
    }

Explicit destruction

    var trackedFaceListInstance = new TrackedFaceList()
    // ...
    trackedFaceListInstance.Dispose()

Java

    try (TrackedFaceList trackedFaceListInstance = new TrackedFaceList()) {
    // ...
    }

Explicit destruction

    TrackedFaceList trackedFaceListInstance = new TrackedFaceList();
    // ...
    trackedFaceListInstance.close();

Swift

    private var trackedFaceListInstance: TrackedFaceList? = nil
    trackedFaceListInstance = try TrackedFaceList()

C

    ID3_TRACKED_FACE_LIST hTrackedFaceList{};
    int err = id3TrackedFaceList_Initialize(&hTrackedFaceList);
    if (err == ID3_SUCCESS) {
        // ...
        id3TrackedFaceList_Dispose(&hTrackedFaceList);
    }

## Properties

Name | Type | Description
--- | --- | ---
count | int | Gets the number of elements contained in the list
operator [int index] | TrackedFace | Gets or sets the element at the specified index in the list.

## Iteration

This class supports iteration in Dart, C#, Java and Python.

## Methods

Name | Description
--- | ---
add | Adds an item to the TrackedFaceList object.
clear | Clears the TrackedFaceList object.
clone | Clones the TrackedFaceList object.
findTrackedFace | Finds a tracked face by ID.
get | Gets an item of the TrackedFaceList object.
getCount | Gets the number of elements in the TrackedFaceList object.
getIdList | Gets the list of IDs in the list.
getLargestFace | Gets the largest face in the list.
removeAt | Removes an element of the TrackedFaceList object.
rescaleAll | Rescales all tracked faces in the list.
resize | TrackedFaceList object.
set | Sets an item of the TrackedFaceList object.