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.

void addTemplate(FaceTemplate faceTemplate, String? id)

Parameters

faceTemplate FaceTemplate
in Face template to add to the face indexer.

id String
in ID of the added face template.

Exceptions

An error has occurred during Face Library execution.