FaceIndexer.create Method¶
Module: FaceIndexer
Definition¶
Creates an empty face indexer
@staticmethod
create(maximum_template_count: int, format: FaceTemplateFormat) -> FaceIndexer
Parameters
maximum_template_count
intin Maximum number of templates that this face indexer can hold.format
FaceTemplateFormatin 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
intin Maximum number of templates that this face indexer can hold.format
FaceTemplateFormatin 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
intin Maximum number of templates that this face indexer can hold.format
FaceTemplateFormatin 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
intin Maximum number of templates that this face indexer can hold.format
FaceTemplateFormatin 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
Int32in Maximum number of templates that this face indexer can hold.format
FaceTemplateFormatin 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_INDEXERin Handle to the FaceIndexer object.maximumTemplateCount
intin Maximum number of templates that this face indexer can hold.eFormat
id3FaceTemplateFormatin Face template format accepted by this face indexer.
Returns