DetectedFaceList Class

Namespace: id3.Face

Definition

Represents a list of detected faces.
class DetectedFaceList
class DetectedFaceList implements Finalizable
public partial class DetectedFaceList
public class DetectedFaceList implements AutoCloseable, Serializable
public class DetectedFaceList
typedef struct id3DetectedFaceList *ID3_DETECTED_FACE_LIST;

Usage

detectedFaceListInstance = DetectedFaceList()
# ...

Explicit destruction

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

Explicit destruction

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

Explicit destruction

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

Explicit destruction

DetectedFaceList detectedFaceListInstance = new DetectedFaceList();
// ...
detectedFaceListInstance.close();
private var detectedFaceListInstance: DetectedFaceList? = nil
detectedFaceListInstance = try DetectedFaceList()
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.