Skip to content

Isolate Polygon

Overview

The Isolate Polygon node selects a single polygon from a list based on its area or detection probability. It is typically used to extract the most relevant detection for further processing.

Use Isolate Polygon when:

  • You have multiple detections and only need the largest one.
  • You want to find the object with the highest confidence score.

💡 Tip

Selecting by "Area" is useful for size-based filtering, while "Probability" helps in finding the most certain AI detection.

Inputs

NameTypeDescription
inputlist[polygon]Receives a list of polygons.

Outputs

NameTypeDescription
outputpolygonReturns a single polygon based on the configuration.

Parameters

ParameterDefaultValid valuesTunable
Polygon attributeareaarea, probability
Valuemaxmin, max

Polygon attribute

The attribute used to compare polygons. "Area" uses the physical size, while "Probability" uses the AI confidence score.

Value

Whether to pick the polygon with the lowest (min) or highest (max) value of the selected attribute.

Example

Isolate Largest Detection

A node outputs several detected objects. You only want to analyze the largest one to ensure it's the main subject.

Configuration:

  • Polygon attribute: area
  • Value: max

Result: The node returns the polygon with the largest surface area from the input list.

Reference: