PortraitProcessor.trackerMatchingThreshold Property

Module: PortraitProcessor

Type: int

Definition

Minimum match score to reach to preserve the ID of a tracked face between frame ‘t-1’ and frame ‘t’.

Hint

Default value is 3000 which corresponds to a False Match Rate of 1/1000.

tracker_matching_threshold: int

Exceptions

An error has occurred during Face Library execution.
int get trackerMatchingThreshold => getTrackerMatchingThreshold();
set trackerMatchingThreshold(int value) => setTrackerMatchingThreshold(value);

Exceptions

An error has occurred during Face Library execution.
public int trackerMatchingThreshold
{
    get => GettrackerMatchingThreshold();
    set => SettrackerMatchingThreshold(ref value);
}

Exceptions

An error has occurred during Face Library execution.
public int getTrackerMatchingThreshold() throws FaceException
public void setTrackerMatchingThreshold(int trackerMatchingThreshold) throws FaceException

Exceptions

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

Exceptions

An error has occurred during Face Library execution.
int id3FacePortraitProcessor_GetTrackerMatchingThreshold (ID3_FACE_PORTRAIT_PROCESSOR hPortraitProcessor, int * trackerMatchingThreshold)
int id3FacePortraitProcessor_SetTrackerMatchingThreshold (ID3_FACE_PORTRAIT_PROCESSOR hPortraitProcessor, int trackerMatchingThreshold)

Returns

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