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

# TrackedFace.clone Method

Module: TrackedFace

## Definition

Clones the TrackedFace object.

Python

    clone(self) -> TrackedFace

Returns

> TrackedFace
> The newly created tracked face.

Exceptions

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

Dart

    TrackedFace clone()

Returns

> TrackedFace
> The newly created tracked face.

Exceptions

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

C#

    public TrackedFace Clone()

Returns

> TrackedFace
> The newly created tracked face.

Exceptions

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

Java

    public TrackedFace clone() throws FaceException

Returns

> TrackedFace
> The newly created tracked face.

Exceptions

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

Swift

    public func clone() throws -> TrackedFace

Returns

> TrackedFace
> The newly created tracked face.

Exceptions

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

C

    int id3TrackedFace_CopyTo (
        ID3_TRACKED_FACE hTrackedFace,
        ID3_TRACKED_FACE hTrackedFaceDst)

Parameters

> `hTrackedFace` ID3_TRACKED_FACE
> in Handle to the TrackedFace object.
> `hTrackedFaceDst` ID3_TRACKED_FACE
> out The newly created tracked face.

Returns

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