Portrait.fromBuffer Method

Module: Portrait

Definition

Imports the portrait object from a buffer.

static Portrait fromBuffer(Uint8List? data)

Parameters

data Uint8List
in Buffer to import the portrait object from.

Returns

The newly created portrait.

Exceptions

An error has occurred during Face Library execution.