Skip to content

Merge Polygons

Overview

Combines multiple polygon or polygon list inputs into a single list. This node is typically used to aggregate detections from different models or sources into a unified collection.

Use Merge Polygons when:

  • You have multiple detection models and want to process their outputs as a single set.
  • You need to aggregate individual polygons into a single list to ensure they are rendered correctly on the dashboard.

💡 Tip

This node accepts both single polygons and polygon lists as inputs.

Inputs

NameTypeDescription
input_polygons0..Nlist[polygon]The polygon lists or single polygons to be merged.

Outputs

NameTypeDescription
merged_polygonslist[polygon]A single list containing all polygons from the inputs.

Parameters

ParameterDefaultValid valuesTunable
Number of inputs2220

Number of inputs

The total number of polygon input ports to be displayed on the node.

Example

Merge PCB desks defect detections

In a PCB inspection flow, the AI model identifies various missing components as distinct vector objects. To see all these issues overlaid on one board image, you have to join these individual outputs into a unified list.

Configuration:

  • Number of inputs: 3

Result: A single list containing all detected polygons is passed to the dashboard, allowing the operator to see every "missing" component highlighted on the PCB at once.

Reference: