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

# DetectedFaceList.add Method

Module: DetectedFaceList

## Definition

Adds an item to the DetectedFaceList object.

Python

    add(self, detected_face_item: DetectedFace) -> None

Parameters

> `detected_face_item` DetectedFace
> in DetectedFace item to add.

Exceptions

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

Dart

    void add(DetectedFace detectedFaceItem)

Parameters

> `detectedFaceItem` DetectedFace
> in DetectedFace item to add.

Exceptions

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

C#

    public void Add(DetectedFace detectedFaceItem)

Parameters

> `detectedFaceItem` DetectedFace
> in DetectedFace item to add.

Exceptions

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

Java

    public void add(DetectedFace detectedFaceItem) throws FaceException

Parameters

> `detectedFaceItem` DetectedFace
> in DetectedFace item to add.

Exceptions

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

Swift

    public func add(detectedFaceItem: DetectedFace) throws

Parameters

> `detectedFaceItem` DetectedFace
> in DetectedFace item to add.

Exceptions

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

C

    int id3DetectedFaceList_Add (
        ID3_DETECTED_FACE_LIST hDetectedFaceList,
        ID3_DETECTED_FACE hDetectedFaceItem)

Parameters

> `hDetectedFaceList` ID3_DETECTED_FACE_LIST
> in Handle to the DetectedFaceList object.
> `hDetectedFaceItem` ID3_DETECTED_FACE
> in DetectedFace item to add.

Returns

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