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
model
FaceModelin The Face Model to look for.
Returns
str
The expected file name
Exceptions
An error has occurred during Face Library execution.
static String getModelFileName(FaceModel model)
Parameters
model
FaceModelin The Face Model to look for.
Returns
String
The expected file name
Exceptions
An error has occurred during Face Library execution.
public static string GetModelFileName(FaceModel model)
Parameters
model
FaceModelin The Face Model to look for.
Returns
string
The expected file name
Exceptions
An error has occurred during Face Library execution.
public static String getModelFileName(FaceModel model) throws FaceException
Parameters
model
FaceModelin The Face Model to look for.
Returns
String
The expected file name
Exceptions
An error has occurred during Face Library execution.
public static func getModelFileName(model: FaceModel) throws -> String
Parameters
model
FaceModelin The Face Model to look for.
Returns
String
The expected file name
Exceptions
An error has occurred during Face Library execution.
int id3FaceLibrary_GetModelFileName (
id3FaceModel eModel,
char * fileName,
int * fileNameSize)
Parameters
eModel
id3FaceModelin The Face Model to look for.fileName
char *out The expected file namefileNameSize
int *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