FaceLibrary.loadModelBuffer Method

Module: FaceLibrary

Definition

Loads a model into memory from the specified buffer.

static void loadModelBuffer(Uint8List? modelBuffer, FaceModel faceModel, ProcessingUnit processingUnit)

Parameters

modelBuffer Uint8List
in A buffer containing the AI model to be loaded.

faceModel FaceModel
in The AI model to be loaded.

processingUnit ProcessingUnit
in The processing unit to be used.

Exceptions

An error has occurred during Face Library execution.