PortraitProcessor.minimumTrackedFaceAge 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.

minimum_tracked_face_age: int

Exceptions

An error has occurred during Face Library execution.
int get minimumTrackedFaceAge => getMinimumTrackedFaceAge();
set minimumTrackedFaceAge(int value) => setMinimumTrackedFaceAge(value);

Exceptions

An error has occurred during Face Library execution.
public int minimumTrackedFaceAge
{
    get => GetminimumTrackedFaceAge();
    set => SetminimumTrackedFaceAge(ref value);
}

Exceptions

An error has occurred during Face Library execution.
public int getMinimumTrackedFaceAge() throws FaceException
public void setMinimumTrackedFaceAge(int minimumTrackedFaceAge) throws FaceException

Exceptions

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

Exceptions

An error has occurred during Face Library execution.
int id3FacePortraitProcessor_GetMinimumTrackedFaceAge (ID3_FACE_PORTRAIT_PROCESSOR hPortraitProcessor, int * minimumTrackedFaceAge)
int id3FacePortraitProcessor_SetMinimumTrackedFaceAge (ID3_FACE_PORTRAIT_PROCESSOR hPortraitProcessor, int minimumTrackedFaceAge)

Returns

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