FaceIndexer Class

Namespace: id3.Face

Definition

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

Properties

Name

Type

Description

format

FaceTemplateFormat

Face template format accepted by this face indexer. Supports only 10A, 10B, 9A, 9B.

maximumUserCount

int

Maximum number of templates that this face indexer can hold.

userCount

int

Current number of indexed templates.

Static Methods

Name

Description

create

Creates an empty face indexer

fromBuffer

Imports the face indexer object from a buffer.

fromFile

Imports the face indexer object from a file.

Methods

Name

Description

add

Adds a user to the Face Indexer.

getTemplate

Retrieves a template from the face indexer by ID.

remove

Remove a template from the face indexer.

resize

Resizes the maximum number of users that the face indexer can hold.

search

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

toBuffer

Exports the face indexer object to a buffer.

toFile

Saves the face indexer object to a file.

update

Update a user’s template into the Face Indexer.