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 Stringin The path to directory containing the AI model files.
faceModel FaceModelin The AI model to be loaded.
processingUnit ProcessingUnitin The processing unit to be used.
Exceptions
An error has occurred during Face Library execution.