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

# DetectedFaceList Class

Namespace: id3.Face

## Definition

Represents a list of detected faces.
Python

    class DetectedFaceList

Dart

    class DetectedFaceList implements Finalizable

C#

    public partial class DetectedFaceList

Java

    public class DetectedFaceList implements AutoCloseable, Serializable

Swift

    public class DetectedFaceList

C

    typedef struct id3DetectedFaceList *ID3_DETECTED_FACE_LIST;

## Usage

Python

    detectedFaceListInstance = id3face.DetectedFaceList()

Explicit destruction

    # ...
    del detectedFaceListInstance

Dart

    final detectedFaceListInstance = sdk.DetectedFaceList();
    // ...

Explicit destruction

    // ...
    detectedFaceListInstance.dispose()

C#

    using (var detectedFaceListInstance = new DetectedFaceList())
    {
       // ...
    }

Explicit destruction

    var detectedFaceListInstance = new DetectedFaceList()
    // ...
    detectedFaceListInstance.Dispose()

Java

    try (DetectedFaceList detectedFaceListInstance = new DetectedFaceList()) {
    // ...
    }

Explicit destruction

    DetectedFaceList detectedFaceListInstance = new DetectedFaceList();
    // ...
    detectedFaceListInstance.close();

Swift

    private var detectedFaceListInstance: DetectedFaceList? = nil
    detectedFaceListInstance = try DetectedFaceList()

C

    ID3_DETECTED_FACE_LIST hDetectedFaceList{};
    int err = id3DetectedFaceList_Initialize(&hDetectedFaceList);
    if (err == ID3_SUCCESS) {
        // ...
        id3DetectedFaceList_Dispose(&hDetectedFaceList);
    }

## Properties

Name | Type | Description
--- | --- | ---
count | int | Gets the number of elements contained in the list
operator [int index] | DetectedFace | 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 DetectedFaceList object.
clear | Clears the DetectedFaceList object.
clone | Clones the DetectedFaceList object.
findDetectedFace | Finds a detected face by ID.
get | Gets an item of the DetectedFaceList object.
getCount | Gets the number of elements in the DetectedFaceList object.
getIdList | Gets the list of IDs in the list.
getLargestFace | Gets the largest face in the list.
removeAt | Removes an element of the DetectedFaceList object.
rescaleAll | Rescales all detected faces in the list.
resize | DetectedFaceList object.
set | Sets an item of the DetectedFaceList object.