DetectedFace.fromFile Method¶
Module: DetectedFace
Definition¶
Imports the face object from a file.
@staticmethod
from_file(path: str) -> DetectedFace
Parameters
path
strin 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
path
Stringin 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
path
stringin 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
path
Stringin 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
path
Stringin 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
hDetectedFace
ID3_DETECTED_FACEin Handle to the DetectedFace object.path
const char *in Path to the file to import the face object from.
Returns