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_template
FaceTemplatein Face template to add to the face indexer.id
strin ID of the added face template.
Exceptions
An error has occurred during Face Library execution.
void addTemplate(FaceTemplate faceTemplate, String? id)
Parameters
faceTemplate
FaceTemplatein Face template to add to the face indexer.id
Stringin ID of the added face template.
Exceptions
An error has occurred during Face Library execution.
public void AddTemplate(FaceTemplate faceTemplate, string id)
Parameters
faceTemplate
FaceTemplatein Face template to add to the face indexer.id
stringin 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
faceTemplate
FaceTemplatein Face template to add to the face indexer.id
Stringin ID of the added face template.
Exceptions
An error has occurred during Face Library execution.
public func addTemplate(faceTemplate: FaceTemplate, id: String) throws
Parameters
faceTemplate
FaceTemplatein Face template to add to the face indexer.id
Stringin 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
hFaceIndexer
ID3_FACE_INDEXERin Handle to the FaceIndexer object.hFaceTemplate
ID3_FACE_TEMPLATEin Face template to add to the face indexer.id
const char *in ID of the added face template.
Returns