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

# FaceIndexer.templateCount Property

Module: FaceIndexer

Type: int

## Definition

Current number of indexed templates.

Python

    template_count: int

Exceptions

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

Dart

    int get templateCount => getTemplateCount();

Exceptions

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

C#

    public int templateCount
    {
        get => GettemplateCount();
    }

Exceptions

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

Java

    public int getTemplateCount() throws FaceException

Exceptions

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

Swift

    public var templateCount: Int
        get {
            return Int(try! getTemplateCount())
        }
    }

Exceptions

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

C

    int id3FaceIndexer_GetTemplateCount (ID3_FACE_INDEXER hFaceIndexer, int * templateCount)

Returns

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