FaceLibrary.unloadModel Method¶
Module: FaceLibrary
Definition¶
Unloads a model from memory.
@staticmethod
unload_model(face_model: FaceModel, processing_unit: ProcessingUnit) -> None
Parameters
face_model
FaceModelin The AI model to be unloaded.processing_unit
ProcessingUnitin The processing unit used for the model.
Exceptions
An error has occurred during Face Library execution.
static void unloadModel(FaceModel faceModel, ProcessingUnit processingUnit)
Parameters
faceModel
FaceModelin The AI model to be unloaded.processingUnit
ProcessingUnitin The processing unit used for the model.
Exceptions
An error has occurred during Face Library execution.
public static void UnloadModel(FaceModel faceModel, ProcessingUnit processingUnit)
Parameters
faceModel
FaceModelin The AI model to be unloaded.processingUnit
ProcessingUnitin The processing unit used for the model.
Exceptions
An error has occurred during Face Library execution.
public static void unloadModel(FaceModel faceModel, ProcessingUnit processingUnit) throws FaceException
Parameters
faceModel
FaceModelin The AI model to be unloaded.processingUnit
ProcessingUnitin The processing unit used for the model.
Exceptions
An error has occurred during Face Library execution.
public static func unloadModel(faceModel: FaceModel, processingUnit: ProcessingUnit) throws
Parameters
faceModel
FaceModelin The AI model to be unloaded.processingUnit
ProcessingUnitin The processing unit used for the model.
Exceptions
An error has occurred during Face Library execution.
int id3FaceLibrary_UnloadModel (
id3FaceModel eFaceModel,
id3FaceProcessingUnit eProcessingUnit)
Parameters
eFaceModel
id3FaceModelin The AI model to be unloaded.eProcessingUnit
id3FaceProcessingUnitin The processing unit used for the model.
Returns