FaceIndexer.addTemplate Method¶
Module: FaceIndexer
Definition¶
Adds a template to the Face Indexer.
Note
This function is thread safe with other AddTemplate() calls but not with SearchTemplates() calls.
add_template(self, face_template: FaceTemplate, id: str) -> None
Parameters
face_templateFaceTemplatein Face template to add to the face indexer.idstrin ID of the added face template.
Exceptions
An error has occurred during Face Library execution.
void addTemplate(FaceTemplate faceTemplate, String? id)
Parameters
faceTemplateFaceTemplatein Face template to add to the face indexer.idStringin ID of the added face template.
Exceptions
An error has occurred during Face Library execution.
public void AddTemplate(FaceTemplate faceTemplate, string id)
Parameters
faceTemplateFaceTemplatein Face template to add to the face indexer.idstringin ID of the added face template.
Exceptions
An error has occurred during Face Library execution.
public void addTemplate(FaceTemplate faceTemplate, String id) throws FaceException
Parameters
faceTemplateFaceTemplatein Face template to add to the face indexer.idStringin ID of the added face template.
Exceptions
An error has occurred during Face Library execution.
public func addTemplate(faceTemplate: FaceTemplate, id: String) throws
Parameters
faceTemplateFaceTemplatein Face template to add to the face indexer.idStringin ID of the added face template.
Exceptions
An error has occurred during Face Library execution.
int id3FaceIndexer_AddTemplate (
ID3_FACE_INDEXER hFaceIndexer,
ID3_FACE_TEMPLATE hFaceTemplate,
const char * id)
Parameters
hFaceIndexerID3_FACE_INDEXERin Handle to the FaceIndexer object.hFaceTemplateID3_FACE_TEMPLATEin Face template to add to the face indexer.idconst char *in ID of the added face template.
Returns