# Find Blobs

*Find Blobs* is useful in finding all groups of connected pixels, or blobs, in an Image. This node expects a *CV* input.

<figure><img src="/files/pWTepYnXeUzWwuUMSQIq" alt=""><figcaption></figcaption></figure>

## Input pins

<div align="left"><figure><img src="/files/WIbX0VUpSm49ioXyow8C" alt=""><figcaption></figcaption></figure></div>

* **Input:** incoming CV Mat with 1, 3, or 4 channels,
* **Filter by threshold:** enforces a Threshold value on the input which is between the *Min threshold* and *Max threshold* values.
* **Filter by area:** filters the Output, so that the detected blobs are between the *Min area* and *Max area*.
* **Min distance:** the minimum distance between Blobs. If the distance between two blobs is smaller than the chosen value, then those two separate blobs will be combined into one.
* **Max track count:** maximum amount of Blobs in Output.

## Output pins

* **Relative X, Y, area:** relative coordinates of the blobs formatted as such: x position/image width, y position/image height, area = area of blob/area image.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.lightact.com/layers-and-layouts/layer-layouts/nodes/computer-vision/find-blobs.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
