FaceTemplate.fromBuffer Method¶
Module: FaceTemplate
Definition¶
Imports the face template object from a buffer.
@staticmethod
from_buffer(data: bytearray) -> FaceTemplate
Parameters
databytearrayin Buffer to import the face template object from.
Returns
The newly created face template.
Exceptions
An error has occurred during Face Library execution.
static FaceTemplate fromBuffer(Uint8List? data)
Parameters
dataUint8Listin Buffer to import the face template object from.
Returns
The newly created face template.
Exceptions
An error has occurred during Face Library execution.
public static FaceTemplate FromBuffer(byte[] data)
Parameters
databyte[]in Buffer to import the face template object from.
Returns
The newly created face template.
Exceptions
An error has occurred during Face Library execution.
public static FaceTemplate fromBuffer(byte[] data) throws FaceException
Parameters
databyte[]in Buffer to import the face template object from.
Returns
The newly created face template.
Exceptions
An error has occurred during Face Library execution.
public static func fromBuffer(data: [UInt8]) throws -> FaceTemplate
Parameters
data[UInt8]in Buffer to import the face template object from.
Returns
The newly created face template.
Exceptions
An error has occurred during Face Library execution.
int id3FaceTemplate_FromBuffer (
ID3_FACE_TEMPLATE hFaceTemplate,
unsigned char * data,
int dataSize)
Parameters
hFaceTemplateID3_FACE_TEMPLATEin Handle to the FaceTemplate object.dataunsigned char *in Buffer to import the face template object from.dataSizeintin Size of the ‘data’ buffer.
Returns