FaceIndexer.getTemplate Method

Module: FaceIndexer

Definition

Retrieves a template from the face indexer by ID.

get_template(self, id: str) -> FaceTemplate

Parameters

id str
in ID of the required face template.

Returns

The face template.

Exceptions

An error has occurred during Face Library execution.
FaceTemplate getTemplate(String? id)

Parameters

id String
in ID of the required face template.

Returns

The face template.

Exceptions

An error has occurred during Face Library execution.
public FaceTemplate GetTemplate(string id)

Parameters

id string
in ID of the required face template.

Returns

The face template.

Exceptions

An error has occurred during Face Library execution.
public FaceTemplate getTemplate(String id) throws FaceException

Parameters

id String
in ID of the required face template.

Returns

The face template.

Exceptions

An error has occurred during Face Library execution.
public func getTemplate(id: String) throws -> FaceTemplate

Parameters

id String
in ID of the required face template.

Returns

The face template.

Exceptions

An error has occurred during Face Library execution.
int id3FaceIndexer_GetTemplate (
    ID3_FACE_INDEXER hFaceIndexer,
    const char * id,
    ID3_FACE_TEMPLATE hFaceTemplate)

Parameters

hFaceIndexer ID3_FACE_INDEXER
in Handle to the FaceIndexer object.

id const char *
in ID of the required face template.

hFaceTemplate ID3_FACE_TEMPLATE
out The face template.

Returns

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