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

# FaceTemplate.clone Method

Module: FaceTemplate

## Definition

Clones the FaceTemplate object.

Python

    clone(self) -> FaceTemplate

Returns

> FaceTemplate
> The newly created face template.

Exceptions

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

Dart

    FaceTemplate clone()

Returns

> FaceTemplate
> The newly created face template.

Exceptions

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

C#

    public FaceTemplate Clone()

Returns

> FaceTemplate
> The newly created face template.

Exceptions

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

Java

    public FaceTemplate clone() throws FaceException

Returns

> FaceTemplate
> The newly created face template.

Exceptions

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

Swift

    public func clone() throws -> FaceTemplate

Returns

> FaceTemplate
> The newly created face template.

Exceptions

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

C

    int id3FaceTemplate_CopyTo (
        ID3_FACE_TEMPLATE hFaceTemplate,
        ID3_FACE_TEMPLATE hFaceTemplateDst)

Parameters

> `hFaceTemplate` ID3_FACE_TEMPLATE
> in Handle to the FaceTemplate object.
> `hFaceTemplateDst` ID3_FACE_TEMPLATE
> out The newly created face template.

Returns

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