FaceTemplate.toBuffer Method¶
Module: FaceTemplate
Definition¶
Exports the face template object to a buffer.
to_buffer(self) -> bytearray
Returns
bytearrayThe buffer that receives the face template.
Exceptions
An error has occurred during Face Library execution.
Uint8List toBuffer()
Returns
Uint8ListThe buffer that receives the face template.
Exceptions
An error has occurred during Face Library execution.
public byte[] ToBuffer()
Returns
byte[]The buffer that receives the face template.
Exceptions
An error has occurred during Face Library execution.
public byte[] toBuffer() throws FaceException
Returns
byte[]The buffer that receives the face template.
Exceptions
An error has occurred during Face Library execution.
public func toBuffer() throws -> [UInt8]
Returns
[UInt8]The buffer that receives the face template.
Exceptions
An error has occurred during Face Library execution.
int id3FaceTemplate_ToBuffer (
ID3_FACE_TEMPLATE hFaceTemplate,
unsigned char * data,
int * dataSize)
Parameters
hFaceTemplateID3_FACE_TEMPLATEin Handle to the FaceTemplate object.dataunsigned char *out The buffer that receives the face template.dataSizeint *in Size of the ‘data’ buffer. Receives the number of elements in the ‘data’ array.
Returns