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

# TrackedFace.getAsDetectedFace Method

Module: TrackedFace

## Definition

Gets the tracked face as a detected face.

Python

    get_as_detected_face(self) -> DetectedFace

Returns

> DetectedFace
> The tracked face as a detected face.

Exceptions

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

Dart

    DetectedFace getAsDetectedFace()

Returns

> DetectedFace
> The tracked face as a detected face.

Exceptions

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

C#

    public DetectedFace GetAsDetectedFace()

Returns

> DetectedFace
> The tracked face as a detected face.

Exceptions

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

Java

    public DetectedFace getAsDetectedFace() throws FaceException

Returns

> DetectedFace
> The tracked face as a detected face.

Exceptions

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

Swift

    public func getAsDetectedFace() throws -> DetectedFace

Returns

> DetectedFace
> The tracked face as a detected face.

Exceptions

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

C

    int id3TrackedFace_GetAsDetectedFace (
        ID3_TRACKED_FACE hTrackedFace,
        ID3_DETECTED_FACE hDetectedFace)

Parameters

> `hTrackedFace` ID3_TRACKED_FACE
> in Handle to the TrackedFace object.
> `hDetectedFace` ID3_DETECTED_FACE
> out The tracked face as a detected face.

Returns

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