FaceTemplateDict.add Method

Module: FaceTemplateDict

Definition

Adds an item to the FaceTemplateDict object.

add(self, key: str, face_template_item: FaceTemplate) -> None

Parameters

key str
in Unique key of the FaceTemplate item to add.

face_template_item FaceTemplate
in FaceTemplate item to add.

Exceptions

An error has occurred during Face Library execution.
void add(String? key, FaceTemplate faceTemplateItem)

Parameters

key String
in Unique key of the FaceTemplate item to add.

faceTemplateItem FaceTemplate
in FaceTemplate item to add.

Exceptions

An error has occurred during Face Library execution.
public void Add(string key, FaceTemplate faceTemplateItem)

Parameters

key string
in Unique key of the FaceTemplate item to add.

faceTemplateItem FaceTemplate
in FaceTemplate item to add.

Exceptions

An error has occurred during Face Library execution.
public void add(String key, FaceTemplate faceTemplateItem) throws FaceException

Parameters

key String
in Unique key of the FaceTemplate item to add.

faceTemplateItem FaceTemplate
in FaceTemplate item to add.

Exceptions

An error has occurred during Face Library execution.
public func add(key: String, faceTemplateItem: FaceTemplate) throws

Parameters

key String
in Unique key of the FaceTemplate item to add.

faceTemplateItem FaceTemplate
in FaceTemplate item to add.

Exceptions

An error has occurred during Face Library execution.
int id3FaceTemplateDict_Add (
    ID3_FACE_TEMPLATE_DICT hFaceTemplateDict,
    const char * key,
    ID3_FACE_TEMPLATE hFaceTemplateItem)

Parameters

hFaceTemplateDict ID3_FACE_TEMPLATE_DICT
in Handle to the FaceTemplateDict object.

key const char *
in Unique key of the FaceTemplate item to add.

hFaceTemplateItem ID3_FACE_TEMPLATE
in FaceTemplate item to add.

Returns

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