TrackedFace.fromFile Method¶
Module: TrackedFace
Definition¶
Imports the face object from a file.
@staticmethod
from_file(path: str) -> TrackedFace
Parameters
pathstrin Path to the file to import the face object from.
Returns
The newly created tracked face.
Exceptions
An error has occurred during Face Library execution.
static TrackedFace fromFile(String? path)
Parameters
pathStringin Path to the file to import the face object from.
Returns
The newly created tracked face.
Exceptions
An error has occurred during Face Library execution.
public static TrackedFace FromFile(string path)
Parameters
pathstringin Path to the file to import the face object from.
Returns
The newly created tracked face.
Exceptions
An error has occurred during Face Library execution.
public static TrackedFace fromFile(String path) throws FaceException
Parameters
pathStringin Path to the file to import the face object from.
Returns
The newly created tracked face.
Exceptions
An error has occurred during Face Library execution.
public static func fromFile(path: String) throws -> TrackedFace
Parameters
pathStringin Path to the file to import the face object from.
Returns
The newly created tracked face.
Exceptions
An error has occurred during Face Library execution.
int id3TrackedFace_FromFile (
ID3_TRACKED_FACE hTrackedFace,
const char * path)
Parameters
hTrackedFaceID3_TRACKED_FACEin Handle to the TrackedFace object.pathconst char *in Path to the file to import the face object from.
Returns