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

# 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.

Python

    tracker_matching_threshold: int

Exceptions

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

Dart

    int get trackerMatchingThreshold => getTrackerMatchingThreshold();
    set trackerMatchingThreshold(int value) => setTrackerMatchingThreshold(value);

Exceptions

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

C#

    public int trackerMatchingThreshold
    {
        get => GettrackerMatchingThreshold();
        set => SettrackerMatchingThreshold(ref value);
    }

Exceptions

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

Java

    public int getTrackerMatchingThreshold() throws FaceException
    public void setTrackerMatchingThreshold(int trackerMatchingThreshold) throws FaceException

Exceptions

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

Swift

    public var trackerMatchingThreshold: Int
        get {
            return Int(try! getTrackerMatchingThreshold())
        }
    }

Exceptions

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

C

    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.