FaceIndexer.fromFile Method

Module: FaceIndexer

Definition

Imports the face indexer object from a file.

@staticmethod
from_file(path: str) -> FaceIndexer

Parameters

path str
in Path to the file to import the face indexer object from.

Returns

The newly created face indexer.

Exceptions

An error has occurred during Face Library execution.
static FaceIndexer fromFile(String? path)

Parameters

path String
in Path to the file to import the face indexer object from.

Returns

The newly created face indexer.

Exceptions

An error has occurred during Face Library execution.
public static FaceIndexer FromFile(string path)

Parameters

path string
in Path to the file to import the face indexer object from.

Returns

The newly created face indexer.

Exceptions

An error has occurred during Face Library execution.
public static FaceIndexer fromFile(String path) throws FaceException

Parameters

path String
in Path to the file to import the face indexer object from.

Returns

The newly created face indexer.

Exceptions

An error has occurred during Face Library execution.
public static func fromFile(path: String) throws -> FaceIndexer

Parameters

path String
in Path to the file to import the face indexer object from.

Returns

The newly created face indexer.

Exceptions

An error has occurred during Face Library execution.
int id3FaceIndexer_FromFile (
    ID3_FACE_INDEXER hFaceIndexer,
    const char * path)

Parameters

hFaceIndexer ID3_FACE_INDEXER
in Handle to the FaceIndexer object.

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

Returns

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