DetectedFace.toBuffer Method¶
Module: DetectedFace
Definition¶
Exports the face object to a buffer.
to_buffer(self) -> bytearray
Returns
bytearray
The buffer to which the face object is exported.
Exceptions
An error has occurred during Face Library execution.
Uint8List toBuffer()
Returns
Uint8List
The buffer to which the face object is exported.
Exceptions
An error has occurred during Face Library execution.
public byte[] ToBuffer()
Returns
byte[]
The buffer to which the face object is exported.
Exceptions
An error has occurred during Face Library execution.
public byte[] toBuffer() throws FaceException
Returns
byte[]
The buffer to which the face object is exported.
Exceptions
An error has occurred during Face Library execution.
public func toBuffer() throws -> [UInt8]
Returns
[UInt8]
The buffer to which the face object is exported.
Exceptions
An error has occurred during Face Library execution.
int id3DetectedFace_ToBuffer (
ID3_DETECTED_FACE hDetectedFace,
unsigned char * data,
int * dataSize)
Parameters
hDetectedFace
ID3_DETECTED_FACEin Handle to the DetectedFace object.data
unsigned char *out The buffer to which the face object is exported.dataSize
int *in Size of the ‘data’ buffer. Receives the number of elements in the ‘data’ array.
Returns