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

# FaceIndexer.deleteTemplate Method

Module: FaceIndexer

## Definition

Deletes a template from the face indexer.

Python

    delete_template(self, id: str) -> None

Parameters

> `id` str
> in ID of the face template to delete.

Exceptions

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

Dart

    void deleteTemplate(String? id)

Parameters

> `id` String
> in ID of the face template to delete.

Exceptions

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

C#

    public void DeleteTemplate(string id)

Parameters

> `id` string
> in ID of the face template to delete.

Exceptions

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

Java

    public void deleteTemplate(String id) throws FaceException

Parameters

> `id` String
> in ID of the face template to delete.

Exceptions

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

Swift

    public func deleteTemplate(id: String) throws

Parameters

> `id` String
> in ID of the face template to delete.

Exceptions

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

C

    int id3FaceIndexer_DeleteTemplate (
        ID3_FACE_INDEXER hFaceIndexer,
        const char * id)

Parameters

> `hFaceIndexer` ID3_FACE_INDEXER
> in Handle to the FaceIndexer object.
> `id` const char *
> in ID of the face template to delete.

Returns

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