TrackedFace.fromBuffer Method

Module: TrackedFace

Definition

Imports the face object from a buffer.

@staticmethod
from_buffer(data: bytearray) -> TrackedFace

Parameters

data bytearray
in Buffer to import the face object from.

Returns

The newly created tracked face.

Exceptions

An error has occurred during Face Library execution.
static TrackedFace fromBuffer(Uint8List? data)

Parameters

data Uint8List
in Buffer to import the face object from.

Returns

The newly created tracked face.

Exceptions

An error has occurred during Face Library execution.
public static TrackedFace FromBuffer(byte[] data)

Parameters

data byte[]
in Buffer to import the face object from.

Returns

The newly created tracked face.

Exceptions

An error has occurred during Face Library execution.
public static TrackedFace fromBuffer(byte[] data) throws FaceException

Parameters

data byte[]
in Buffer to import the face object from.

Returns

The newly created tracked face.

Exceptions

An error has occurred during Face Library execution.
public static func fromBuffer(data: [UInt8]) throws -> TrackedFace

Parameters

data [UInt8]
in Buffer to import the face object from.

Returns

The newly created tracked face.

Exceptions

An error has occurred during Face Library execution.
int id3TrackedFace_FromBuffer (
    ID3_TRACKED_FACE hTrackedFace,
    unsigned char * data,
    int dataSize)

Parameters

hTrackedFace ID3_TRACKED_FACE
in Handle to the TrackedFace object.

data unsigned char *
in Buffer to import the face object from.

dataSize int
in Size of the ‘data’ buffer.

Returns

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