PortraitProcessor.maximumTrackedFaceAge Property

Module: PortraitProcessor

Type: int

Definition

Maximum number of consecutive non-detections to reach 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.

maximum_tracked_face_age: int

Exceptions

An error has occurred during Face Library execution.
int get maximumTrackedFaceAge => getMaximumTrackedFaceAge();
set maximumTrackedFaceAge(int value) => setMaximumTrackedFaceAge(value);

Exceptions

An error has occurred during Face Library execution.
public int maximumTrackedFaceAge
{
    get => GetmaximumTrackedFaceAge();
    set => SetmaximumTrackedFaceAge(ref value);
}

Exceptions

An error has occurred during Face Library execution.
public int getMaximumTrackedFaceAge() throws FaceException
public void setMaximumTrackedFaceAge(int maximumTrackedFaceAge) throws FaceException

Exceptions

An error has occurred during Face Library execution.
public var maximumTrackedFaceAge: Int
    get {
        return Int(try! getMaximumTrackedFaceAge())
    }
}

Exceptions

An error has occurred during Face Library execution.
int id3FacePortraitProcessor_GetMaximumTrackedFaceAge (ID3_FACE_PORTRAIT_PROCESSOR hPortraitProcessor, int * maximumTrackedFaceAge)
int id3FacePortraitProcessor_SetMaximumTrackedFaceAge (ID3_FACE_PORTRAIT_PROCESSOR hPortraitProcessor, int maximumTrackedFaceAge)

Returns

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