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

# FaceIndexer.resize Method

Module: FaceIndexer

## Definition

Resizes the maximum number of templates that the face indexer can hold.

Python

    resize(self, maximum_count: int) -> None

Parameters

> `maximum_count` int
> in Maximum number of templates that this face indexer can hold.

Exceptions

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

Dart

    void resize(int maximumCount)

Parameters

> `maximumCount` int
> in Maximum number of templates that this face indexer can hold.

Exceptions

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

C#

    public void Resize(int maximumCount)

Parameters

> `maximumCount` int
> in Maximum number of templates that this face indexer can hold.

Exceptions

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

Java

    public void resize(int maximumCount) throws FaceException

Parameters

> `maximumCount` int
> in Maximum number of templates that this face indexer can hold.

Exceptions

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

Swift

    public func resize(maximumCount: Int32) throws

Parameters

> `maximumCount` Int32
> in Maximum number of templates that this face indexer can hold.

Exceptions

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

C

    int id3FaceIndexer_Resize (
        ID3_FACE_INDEXER hFaceIndexer,
        int maximumCount)

Parameters

> `hFaceIndexer` ID3_FACE_INDEXER
> in Handle to the FaceIndexer object.
> `maximumCount` int
> in Maximum number of templates that this face indexer can hold.

Returns

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