FaceTemplate.toBdt Method

Module: FaceTemplate

Definition

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

This buffer can only be used with id3 Face Match on Card specific implementations to verify a face template.

to_bdt(self) -> bytearray

Returns

bytearray
A buffer that receives the biometric data template.

Exceptions

An error has occurred during Face Library execution.
Uint8List toBdt()

Returns

Uint8List
A buffer that receives the biometric data template.

Exceptions

An error has occurred during Face Library execution.
public byte[] ToBdt()

Returns

byte[]
A buffer that receives the biometric data template.

Exceptions

An error has occurred during Face Library execution.
public byte[] toBdt() throws FaceException

Returns

byte[]
A buffer that receives the biometric data template.

Exceptions

An error has occurred during Face Library execution.
public func toBdt() throws -> [UInt8]

Returns

[UInt8]
A buffer that receives the biometric data template.

Exceptions

An error has occurred during Face Library execution.
int id3FaceTemplate_ToBdt (
    ID3_FACE_TEMPLATE hFaceTemplate,
    unsigned char * data,
    int * dataSize)

Parameters

hFaceTemplate ID3_FACE_TEMPLATE
in Handle to the FaceTemplate object.

data unsigned char *
out A buffer that receives the biometric data template.

dataSize int *
in Size of the ‘data’ buffer. Receives the number of elements in the ‘data’ array.

Returns

int
An error code.
See id3FaceError file for the list of possible error codes.