# FaceIndexer class

Performs a one-to-many search on a large number of face templates.

Implemented types
  - Finalizable

## Constructors

FaceIndexer()
  Creates a new instance of the FaceIndexer class.
FaceIndexer.fromHandle(Pointer<id3FaceIndexer> handle)
  Creates a new instance of the FaceIndexer class.

## Properties

format → FaceTemplateFormat
  Face template format accepted by this face indexer.
  no setter
handle → Pointer<id3FaceIndexer>
  Gets the native handle. return The native handle.
  no setter
hashCode → int
  The hash code for this object.
  no setter inherited
maximumTemplateCount → int
  Maximum number of templates that this face indexer can hold.
  no setter
runtimeType → Type
  A representation of the runtime type of the object.
  no setter inherited
templateCount → int
  Current number of indexed templates.
  no setter

## Methods

addTemplate(FaceTemplate faceTemplate, String? id) → void
  Adds a template to the Face Indexer. Note: This function is thread safe with other AddTemplate() calls but not with SearchTemplates() calls.
deleteTemplate(String? id) → void
  Deletes a template from the face indexer.
dispose() → void
  Releases all resources used by this FaceIndexer.
getFormat() → FaceTemplateFormat
  Gets the face template format accepted by this face indexer.
getMaximumTemplateCount() → int
  Gets the maximum number of templates that this face indexer can hold.
getTemplate(String? id) → FaceTemplate
  Retrieves a template from the face indexer by ID.
getTemplateCount() → int
  Gets the current number of indexed templates.
noSuchMethod(Invocation invocation) → dynamic
  Invoked when a nonexistent method or property is accessed.
  inherited
resize(int maximumCount) → void
  Resizes the maximum number of templates that the face indexer can hold.
searchTemplate(FaceTemplate probe, int maxCandidates) → FaceCandidateList
  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.
toFile(String? path) → void
  Saves the face indexer object to a file.
toString() → String
  A string representation of this object.
  inherited

## Operators

operator ==(Object other) → bool
  The equality operator.
  inherited

## Static Methods

create(int maximumTemplateCount, FaceTemplateFormat format) → FaceIndexer
  Creates an empty face indexer
fromFile(String? path) → FaceIndexer
  Imports the face indexer object from a file.