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