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