Skip to content

Count Polygons

Overview

Counts the total number of polygons in an polygon list outputted by AI model node. This node is typically used to quantify detected objects for reporting or dashboard display.

Use Count Polygons when:

  • You need to know the number of defects detected by a model.
  • You want to trigger logic based on the count of items on the image.

💡 Tip

Connect this to a Number Output node to display real-time object counts on your dashboard.

Inputs

NameTypeDescription
inputlist[polygon]The list of polygons to be counted.

Outputs

NameTypeDescription
outputnumberThe total count of polygons in the input polygon list.

Parameters

This node has no configuration parameters.

Example

Count detected vehicles

A model detects 5 vehicles in an image and outputs a list of 5 polygons.

Configuration:

  • This node has no configurable parameters.

Result: The node outputs the number 5.

Reference:

  • AI Model — for more complex visual recognition
  • Number (output) — exit point for numerical data from the flow