FaceLibrary.loadModel Method

Module: FaceLibrary

Definition

Loads a specified AI model into memory from the specified directory.

static void loadModel(String? modelPath, FaceModel faceModel, ProcessingUnit processingUnit)

Parameters

modelPath String
in The path to directory containing the AI model files.

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.