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

# PortraitProcessor.trackerMaximumFaceAge Property

Module: PortraitProcessor

Type: int

## Definition

Maximum number of consecutive non-detections to be reached before deleting a tracked face.

Hint

Default value is 2. One must adapt this value to its needs in terms of tracker identity memory (in seconds) and measured frame rate on target platform.

Python

    tracker_maximum_face_age: int

Exceptions

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

Dart

    int get trackerMaximumFaceAge => getTrackerMaximumFaceAge();
    set trackerMaximumFaceAge(int value) => setTrackerMaximumFaceAge(value);

Exceptions

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

C#

    public int trackerMaximumFaceAge
    {
        get => GettrackerMaximumFaceAge();
        set => SettrackerMaximumFaceAge(ref value);
    }

Exceptions

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

Java

    public int getTrackerMaximumFaceAge() throws FaceException
    public void setTrackerMaximumFaceAge(int trackerMaximumFaceAge) throws FaceException

Exceptions

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

Swift

    public var trackerMaximumFaceAge: Int
        get {
            return Int(try! getTrackerMaximumFaceAge())
        }
    }

Exceptions

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

C

    int id3FacePortraitProcessor_GetTrackerMaximumFaceAge (ID3_FACE_PORTRAIT_PROCESSOR hPortraitProcessor, int * trackerMaximumFaceAge)
    int id3FacePortraitProcessor_SetTrackerMaximumFaceAge (ID3_FACE_PORTRAIT_PROCESSOR hPortraitProcessor, int trackerMaximumFaceAge)

Returns

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