FaceIndexer.searchTemplate Method

Module: FaceIndexer

Definition

Performs a one-to-many search of a face template probe against a previously initialized face indexer and outputs a candidate list.

This function is thread safe with other SearchTemplate() calls but not with AddTemplate() calls.

FaceCandidateList searchTemplate(FaceTemplate probe, int maxCandidates)

Parameters

in The face template probe.

maxCandidates int
in Maximum number of candidates in the candidate list.

Returns

The list of candidates sorted by decreasing match score.

Exceptions

An error has occurred during Face Library execution.