### Count Tool

The Count Tool allows you to count the number of objects found within the region of interest. The Count Tool is ideal for:

- Verifying the correct number of parts in a tray.

- Verifying the correct number of holes in a part.

- Detecting and reporting the number of objects in the image.

The Count Tool has a Blob Count capability and a Shape Count capability. Select Blob Count or Shape Count from the dropdown menu above the tool parameters. See the Setting Up the Blob Count Tool or Setting Up the Shape Count Tool.

The Count Tool’s Blob Count capability features Image Pre-Processing, which makes it easier for the tool to detect features in an image. Blob count counts areas of connected light or dark pixels.

Precautions for Correct Use: When switching between Blob Count and Shape Count, the links between tool outputs and GDS tags are lost. This is because the underlying components that make up the Count Tool are completely removed and then recreated whenever you change the tool’s capability.