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

# FaceIndexer.maximumTemplateCount Property

Module: FaceIndexer

Type: int

## Definition

Maximum number of templates that this face indexer can hold.

Python

    maximum_template_count: int

Exceptions

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

Dart

    int get maximumTemplateCount => getMaximumTemplateCount();

Exceptions

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

C#

    public int maximumTemplateCount
    {
        get => GetmaximumTemplateCount();
    }

Exceptions

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

Java

    public int getMaximumTemplateCount() throws FaceException

Exceptions

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

Swift

    public var maximumTemplateCount: Int
        get {
            return Int(try! getMaximumTemplateCount())
        }
    }

Exceptions

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

C

    int id3FaceIndexer_GetMaximumTemplateCount (ID3_FACE_INDEXER hFaceIndexer, int * maximumTemplateCount)

Returns

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