Hide navigation sidebar
Hide table of contents sidebar
Skip to content
Back to top
Toggle table of contents sidebar

# FaceTemplateDict.get Method

Module: FaceTemplateDict

## Definition

Gets an item of the FaceTemplateDict object.

Python

    get(self, key: str) -> FaceTemplate

Parameters

> `key` str
> in Unique key of the FaceTemplate item to get.

Returns

> FaceTemplate
> FaceTemplate item to get.

Exceptions

> FaceException
> An error has occurred during Face Library execution.

Dart

    FaceTemplate get(String? key)

Parameters

> `key` String
> in Unique key of the FaceTemplate item to get.

Returns

> FaceTemplate
> FaceTemplate item to get.

Exceptions

> FaceException
> An error has occurred during Face Library execution.

C#

    public FaceTemplate Get(string key)

Parameters

> `key` string
> in Unique key of the FaceTemplate item to get.

Returns

> FaceTemplate
> FaceTemplate item to get.

Exceptions

> FaceException
> An error has occurred during Face Library execution.

Java

    public FaceTemplate get(String key) throws FaceException

Parameters

> `key` String
> in Unique key of the FaceTemplate item to get.

Returns

> FaceTemplate
> FaceTemplate item to get.

Exceptions

> FaceException
> An error has occurred during Face Library execution.

Swift

    public func get(key: String) throws -> FaceTemplate

Parameters

> `key` String
> in Unique key of the FaceTemplate item to get.

Returns

> FaceTemplate
> FaceTemplate item to get.

Exceptions

> FaceException
> An error has occurred during Face Library execution.

C

    int id3FaceTemplateDict_Get (
        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 get.
> `hFaceTemplateItem` ID3_FACE_TEMPLATE
> out FaceTemplate item to get.

Returns

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