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

# PortraitProcessor.trackerMinimumFaceAge Property

Module: PortraitProcessor

Type: int

## Definition

Minimum number of consecutive detections to reach before creating a tracked face.

Hint

Default value is 1 for `FaceDetector4B` since the false detection rate is low enough. If using a less accurate detector (such as FaceDetector3C) one might consider increasing a bit this value to avoid false tracks.

Python

    tracker_minimum_face_age: int

Exceptions

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

Dart

    int get trackerMinimumFaceAge => getTrackerMinimumFaceAge();
    set trackerMinimumFaceAge(int value) => setTrackerMinimumFaceAge(value);

Exceptions

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

C#

    public int trackerMinimumFaceAge
    {
        get => GettrackerMinimumFaceAge();
        set => SettrackerMinimumFaceAge(ref value);
    }

Exceptions

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

Java

    public int getTrackerMinimumFaceAge() throws FaceException
    public void setTrackerMinimumFaceAge(int trackerMinimumFaceAge) throws FaceException

Exceptions

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

Swift

    public var trackerMinimumFaceAge: Int
        get {
            return Int(try! getTrackerMinimumFaceAge())
        }
    }

Exceptions

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

C

    int id3FacePortraitProcessor_GetTrackerMinimumFaceAge (ID3_FACE_PORTRAIT_PROCESSOR hPortraitProcessor, int * trackerMinimumFaceAge)
    int id3FacePortraitProcessor_SetTrackerMinimumFaceAge (ID3_FACE_PORTRAIT_PROCESSOR hPortraitProcessor, int trackerMinimumFaceAge)

Returns

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