FaceLibrary.getModelFileName Method¶
Module: FaceLibrary
Definition¶
Retrieves the model file name which is needed in the LoadModel function.
@staticmethod
get_model_file_name(model: FaceModel) -> str
Parameters
modelFaceModelin The Face Model to look for.
Returns
strThe expected file name
Exceptions
An error has occurred during Face Library execution.
static String getModelFileName(FaceModel model)
Parameters
modelFaceModelin The Face Model to look for.
Returns
StringThe expected file name
Exceptions
An error has occurred during Face Library execution.
public static string GetModelFileName(FaceModel model)
Parameters
modelFaceModelin The Face Model to look for.
Returns
stringThe expected file name
Exceptions
An error has occurred during Face Library execution.
public static String getModelFileName(FaceModel model) throws FaceException
Parameters
modelFaceModelin The Face Model to look for.
Returns
StringThe expected file name
Exceptions
An error has occurred during Face Library execution.
public static func getModelFileName(model: FaceModel) throws -> String
Parameters
modelFaceModelin The Face Model to look for.
Returns
StringThe expected file name
Exceptions
An error has occurred during Face Library execution.
int id3FaceLibrary_GetModelFileName (
id3FaceModel eModel,
char * fileName,
int * fileNameSize)
Parameters
eModelid3FaceModelin The Face Model to look for.fileNamechar *out The expected file namefileNameSizeint *in Size of the ‘fileName’ buffer. Receives the minimum required buffer size to hold the ‘fileName’ string if the given one is too small (including the terminating NULL character), otherwise receives the number of characters in ‘fileName’ (excluding terminating NULL character).
Returns