FaceTemplate.fromFile Method¶
Module: FaceTemplate
Definition¶
Imports the face template object from a file.
@staticmethod
from_file(path: str) -> FaceTemplate
Parameters
path
strin Path to the file to import the face template object from.
Returns
The newly created face template.
Exceptions
An error has occurred during Face Library execution.
static FaceTemplate fromFile(String? path)
Parameters
path
Stringin Path to the file to import the face template object from.
Returns
The newly created face template.
Exceptions
An error has occurred during Face Library execution.
public static FaceTemplate FromFile(string path)
Parameters
path
stringin Path to the file to import the face template object from.
Returns
The newly created face template.
Exceptions
An error has occurred during Face Library execution.
public static FaceTemplate fromFile(String path) throws FaceException
Parameters
path
Stringin Path to the file to import the face template object from.
Returns
The newly created face template.
Exceptions
An error has occurred during Face Library execution.
public static func fromFile(path: String) throws -> FaceTemplate
Parameters
path
Stringin Path to the file to import the face template object from.
Returns
The newly created face template.
Exceptions
An error has occurred during Face Library execution.
int id3FaceTemplate_FromFile (
ID3_FACE_TEMPLATE hFaceTemplate,
const char * path)
Parameters
hFaceTemplate
ID3_FACE_TEMPLATEin Handle to the FaceTemplate object.path
const char *in Path to the file to import the face template object from.
Returns