ImageDict.add Method

Module: ImageDict

Definition

Adds an item to the ImageDict object.

add(self, key: str, image_item: Image) -> None

Parameters

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

image_item Image
in Image item to add.

Exceptions

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

Parameters

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

imageItem Image
in Image item to add.

Exceptions

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

Parameters

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

imageItem Image
in Image item to add.

Exceptions

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

Parameters

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

imageItem Image
in Image item to add.

Exceptions

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

Parameters

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

imageItem Image
in Image item to add.

Exceptions

An error has occurred during Face Library execution.
int id3FaceImageDict_Add (
    ID3_FACE_IMAGE_DICT hImageDict,
    const char * key,
    ID3_FACE_IMAGE hImageItem)

Parameters

in Handle to the ImageDict object.

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

hImageItem ID3_FACE_IMAGE
in Image item to add.

Returns

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