FaceTemplate.fromFile Method

Module: FaceTemplate

Definition

Imports the face template object from a file.

@staticmethod
from_file(path: str) -> FaceTemplate

Parameters

path str
in 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 String
in 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 string
in 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 String
in 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 String
in 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_TEMPLATE
in Handle to the FaceTemplate object.

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

Returns

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