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

# DetectedFace.clone Method

Module: DetectedFace

## Definition

Clones the DetectedFace object.

Python

    clone(self) -> DetectedFace

Returns

> DetectedFace
> The newly created detected face.

Exceptions

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

Dart

    DetectedFace clone()

Returns

> DetectedFace
> The newly created detected face.

Exceptions

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

C#

    public DetectedFace Clone()

Returns

> DetectedFace
> The newly created detected face.

Exceptions

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

Java

    public DetectedFace clone() throws FaceException

Returns

> DetectedFace
> The newly created detected face.

Exceptions

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

Swift

    public func clone() throws -> DetectedFace

Returns

> DetectedFace
> The newly created detected face.

Exceptions

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

C

    int id3DetectedFace_CopyTo (
        ID3_DETECTED_FACE hDetectedFace,
        ID3_DETECTED_FACE hDetectedFaceDst)

Parameters

> `hDetectedFace` ID3_DETECTED_FACE
> in Handle to the DetectedFace object.
> `hDetectedFaceDst` ID3_DETECTED_FACE
> out The newly created detected face.

Returns

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