Appearance
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
| Name | Type | Description |
|---|---|---|
| input_polygons0..N | list[polygon] | The polygon lists or single polygons to be merged. |
Outputs
| Name | Type | Description |
|---|---|---|
| merged_polygons | list[polygon] | A single list containing all polygons from the inputs. |
Parameters
| Parameter | Default | Valid values | Tunable |
|---|---|---|---|
| Number of inputs | 2 | 2 – 20 | ❌ |
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.
Related links
Reference:
- AI Model — for more complex visual recognition
- Count Polygons — counts the number of polygons in a list
- Resize Polygons — scales polygons from their center
- Draw Polygons — renders SVG graphics