FaceIndexer Class¶
Namespace: id3.Face
Definition¶
Performs a one-to-many search on a large number of face templates.
class FaceIndexer
class FaceIndexer implements Finalizable
public partial class FaceIndexer
public class FaceIndexer implements AutoCloseable, Serializable
public class FaceIndexer
typedef struct id3FaceIndexer *ID3_FACE_INDEXER;
Usage¶
faceIndexerInstance = FaceIndexer()
# ...
Explicit destruction
# ...
del faceIndexerInstance
final faceIndexerInstance = sdk.FaceIndexer();
// ...
Explicit destruction
// ...
faceIndexerInstance.dispose()
using (var faceIndexerInstance = new FaceIndexer())
{
// ...
}
Explicit destruction
var faceIndexerInstance = new FaceIndexer()
// ...
faceIndexerInstance.Dispose()
try (FaceIndexer faceIndexerInstance = new FaceIndexer()) {
// ...
}
Explicit destruction
FaceIndexer faceIndexerInstance = new FaceIndexer();
// ...
faceIndexerInstance.close();
private var faceIndexerInstance: FaceIndexer? = nil
faceIndexerInstance = try FaceIndexer()
ID3_FACE_INDEXER hFaceIndexer{};
int err = id3FaceIndexer_Initialize(&hFaceIndexer);
if (err == ID3_SUCCESS) {
// ...
id3FaceIndexer_Dispose(&hFaceIndexer);
}
Properties¶
Name |
Type |
Description |
---|---|---|
Face template format accepted by this face indexer. |
||
int |
Maximum number of templates that this face indexer can hold. |
|
int |
Current number of indexed templates. |
Static Methods¶
Methods¶
Name |
Description |
---|---|
Adds a template to the Face Indexer. |
|
Deletes a template from the face indexer. |
|
Retrieves a template from the face indexer by ID. |
|
Resizes the maximum number of templates that the face indexer can hold. |
|
Performs a one-to-many search of a face template probe against a previously initialized face indexer and outputs a candidate list. |
|
Saves the face indexer object to a file. |