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

# PortraitProcessor.trackerNmsIouThreshold Property

Module: PortraitProcessor

Type: int

## Definition

Non-maximum suppression (NMS) intersection-over-union (IOU) threshold, in the range [0;100].

Hint

Default value is 0. Setting a high threshold allows to detect more overlapping faces which can be useful in a multi-face scenario. On the contrary, in a portrait scenario, a low NMS IOU threshold should be preferred.

Python

    tracker_nms_iou_threshold: int

Exceptions

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

Dart

    int get trackerNmsIouThreshold => getTrackerNmsIouThreshold();
    set trackerNmsIouThreshold(int value) => setTrackerNmsIouThreshold(value);

Exceptions

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

C#

    public int trackerNmsIouThreshold
    {
        get => GettrackerNmsIouThreshold();
        set => SettrackerNmsIouThreshold(ref value);
    }

Exceptions

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

Java

    public int getTrackerNmsIouThreshold() throws FaceException
    public void setTrackerNmsIouThreshold(int trackerNmsIouThreshold) throws FaceException

Exceptions

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

Swift

    public var trackerNmsIouThreshold: Int
        get {
            return Int(try! getTrackerNmsIouThreshold())
        }
    }

Exceptions

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

C

    int id3FacePortraitProcessor_GetTrackerNmsIouThreshold (ID3_FACE_PORTRAIT_PROCESSOR hPortraitProcessor, int * trackerNmsIouThreshold)
    int id3FacePortraitProcessor_SetTrackerNmsIouThreshold (ID3_FACE_PORTRAIT_PROCESSOR hPortraitProcessor, int trackerNmsIouThreshold)

Returns

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