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

# FaceCandidate.clone Method

Module: FaceCandidate

## Definition

Clones the FaceCandidate object.

Python

    clone(self) -> FaceCandidate

Returns

> FaceCandidate
> The newly created face candidate.

Exceptions

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

Dart

    FaceCandidate clone()

Returns

> FaceCandidate
> The newly created face candidate.

Exceptions

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

C#

    public FaceCandidate Clone()

Returns

> FaceCandidate
> The newly created face candidate.

Exceptions

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

Java

    public FaceCandidate clone() throws FaceException

Returns

> FaceCandidate
> The newly created face candidate.

Exceptions

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

Swift

    public func clone() throws -> FaceCandidate

Returns

> FaceCandidate
> The newly created face candidate.

Exceptions

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

C

    int id3FaceCandidate_CopyTo (
        ID3_FACE_CANDIDATE hFaceCandidate,
        ID3_FACE_CANDIDATE hFaceCandidateDst)

Parameters

> `hFaceCandidate` ID3_FACE_CANDIDATE
> in Handle to the FaceCandidate object.
> `hFaceCandidateDst` ID3_FACE_CANDIDATE
> out The newly created face candidate.

Returns

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