FaceIndexer.create Method

Module: FaceIndexer

Definition

Creates an empty face indexer

@staticmethod
create(maximum_template_count: int, format: FaceTemplateFormat) -> FaceIndexer

Parameters

maximum_template_count int
in Maximum number of templates that this face indexer can hold.

in Face template format accepted by this face indexer.

Returns

The newly created face indexer.

Exceptions

An error has occurred during Face Library execution.
static FaceIndexer create(int maximumTemplateCount, FaceTemplateFormat format)

Parameters

maximumTemplateCount int
in Maximum number of templates that this face indexer can hold.

in Face template format accepted by this face indexer.

Returns

The newly created face indexer.

Exceptions

An error has occurred during Face Library execution.
public static FaceIndexer Create(int maximumTemplateCount, FaceTemplateFormat format)

Parameters

maximumTemplateCount int
in Maximum number of templates that this face indexer can hold.

in Face template format accepted by this face indexer.

Returns

The newly created face indexer.

Exceptions

An error has occurred during Face Library execution.
public static FaceIndexer create(int maximumTemplateCount, FaceTemplateFormat format) throws FaceException

Parameters

maximumTemplateCount int
in Maximum number of templates that this face indexer can hold.

in Face template format accepted by this face indexer.

Returns

The newly created face indexer.

Exceptions

An error has occurred during Face Library execution.
public static func create(maximumTemplateCount: Int32, format: FaceTemplateFormat) throws -> FaceIndexer

Parameters

maximumTemplateCount Int32
in Maximum number of templates that this face indexer can hold.

in Face template format accepted by this face indexer.

Returns

The newly created face indexer.

Exceptions

An error has occurred during Face Library execution.
int id3FaceIndexer_Create (
    ID3_FACE_INDEXER hFaceIndexer,
    int maximumTemplateCount,
    id3FaceTemplateFormat eFormat)

Parameters

hFaceIndexer ID3_FACE_INDEXER
in Handle to the FaceIndexer object.

maximumTemplateCount int
in Maximum number of templates that this face indexer can hold.

in Face template format accepted by this face indexer.

Returns

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