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.

tracker_minimum_face_age: int

Exceptions

An error has occurred during Face Library execution.
int get trackerMinimumFaceAge => getTrackerMinimumFaceAge();
set trackerMinimumFaceAge(int value) => setTrackerMinimumFaceAge(value);

Exceptions

An error has occurred during Face Library execution.
public int trackerMinimumFaceAge
{
    get => GettrackerMinimumFaceAge();
    set => SettrackerMinimumFaceAge(ref value);
}

Exceptions

An error has occurred during Face Library execution.
public int getTrackerMinimumFaceAge() throws FaceException
public void setTrackerMinimumFaceAge(int trackerMinimumFaceAge) throws FaceException

Exceptions

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

Exceptions

An error has occurred during Face Library execution.
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.