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

# FaceTemplateList.add Method

Module: FaceTemplateList

## Definition

Adds an item to the FaceTemplateList object.

Python

    add(self, face_template_item: FaceTemplate) -> None

Parameters

> `face_template_item` FaceTemplate
> in FaceTemplate item to add.

Exceptions

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

Dart

    void add(FaceTemplate faceTemplateItem)

Parameters

> `faceTemplateItem` FaceTemplate
> in FaceTemplate item to add.

Exceptions

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

C#

    public void Add(FaceTemplate faceTemplateItem)

Parameters

> `faceTemplateItem` FaceTemplate
> in FaceTemplate item to add.

Exceptions

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

Java

    public void add(FaceTemplate faceTemplateItem) throws FaceException

Parameters

> `faceTemplateItem` FaceTemplate
> in FaceTemplate item to add.

Exceptions

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

Swift

    public func add(faceTemplateItem: FaceTemplate) throws

Parameters

> `faceTemplateItem` FaceTemplate
> in FaceTemplate item to add.

Exceptions

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

C

    int id3FaceTemplateList_Add (
        ID3_FACE_TEMPLATE_LIST hFaceTemplateList,
        ID3_FACE_TEMPLATE hFaceTemplateItem)

Parameters

> `hFaceTemplateList` ID3_FACE_TEMPLATE_LIST
> in Handle to the FaceTemplateList object.
> `hFaceTemplateItem` ID3_FACE_TEMPLATE
> in FaceTemplate item to add.

Returns

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