TrackedFace.fromFile Method

Module: TrackedFace

Definition

Imports the face object from a file.

@staticmethod
from_file(path: str) -> TrackedFace

Parameters

path str
in 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

path String
in 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

path string
in 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

path String
in 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

path String
in 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

hTrackedFace ID3_TRACKED_FACE
in Handle to the TrackedFace object.

path const char *
in Path to the file to import the face object from.

Returns

int
An error code.
See id3FaceError file for the list of possible error codes.