FaceIndexer.create Method¶
Module: FaceIndexer
Definition¶
Creates an empty face indexer
@staticmethod
create(maximum_template_count: int, format: FaceTemplateFormat) -> FaceIndexer
Parameters
maximum_template_countintin Maximum number of templates that this face indexer can hold.formatFaceTemplateFormatin 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
maximumTemplateCountintin Maximum number of templates that this face indexer can hold.formatFaceTemplateFormatin 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
maximumTemplateCountintin Maximum number of templates that this face indexer can hold.formatFaceTemplateFormatin 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
maximumTemplateCountintin Maximum number of templates that this face indexer can hold.formatFaceTemplateFormatin 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
maximumTemplateCountInt32in Maximum number of templates that this face indexer can hold.formatFaceTemplateFormatin 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
hFaceIndexerID3_FACE_INDEXERin Handle to the FaceIndexer object.maximumTemplateCountintin Maximum number of templates that this face indexer can hold.eFormatid3FaceTemplateFormatin Face template format accepted by this face indexer.
Returns