FaceTemplate Class

Namespace: id3.Face

Definition

Represents a face template.
class FaceTemplate
class FaceTemplate implements Finalizable
public partial class FaceTemplate
public class FaceTemplate implements AutoCloseable, Serializable
public class FaceTemplate
typedef struct id3FaceTemplate *ID3_FACE_TEMPLATE;

Usage

faceTemplateInstance = FaceTemplate()
# ...

Explicit destruction

# ...
del faceTemplateInstance
final faceTemplateInstance = sdk.FaceTemplate();
// ...

Explicit destruction

// ...
faceTemplateInstance.dispose()
using (var faceTemplateInstance = new FaceTemplate())
{
   // ...
}

Explicit destruction

var faceTemplateInstance = new FaceTemplate()
// ...
faceTemplateInstance.Dispose()
try (FaceTemplate faceTemplateInstance = new FaceTemplate()) {
// ...
}

Explicit destruction

FaceTemplate faceTemplateInstance = new FaceTemplate();
// ...
faceTemplateInstance.close();
private var faceTemplateInstance: FaceTemplate? = nil
faceTemplateInstance = try FaceTemplate()
ID3_FACE_TEMPLATE hFaceTemplate{};
int err = id3FaceTemplate_Initialize(&hFaceTemplate);
if (err == ID3_SUCCESS) {
    // ...
    id3FaceTemplate_Dispose(&hFaceTemplate);
}

Properties

Name

Type

Description

format

FaceTemplateFormat

Format of the face template.

quality

int

Quality of the face template.

Static Methods

Name

Description

fromBuffer

Imports the face template object from a buffer.

fromFile

Imports the face template object from a file.

Methods

Name

Description

clone

Clones the FaceTemplate object.

toBdt

Exports the face template object to a Biometric Data Template (BDT) buffer.

toBit

Exports the face template as a Biometric Information Template (BIT) for enrolment on a smart card equipped with id3 Match-on-Card technology.

toBuffer

Exports the face template object to a buffer.

toFile

Exports the face template object to a file.

update

Updates the face template by combining it with the specified face template.