Canonical: https://toolipedia.app/count-objects-in-image

# Count Objects in an Image

Upload a photo, set a threshold and get a count of separate objects with their areas, centres and bounding boxes, with a numbered overlay and CSV export.

Breadcrumbs: Toolipedia > Image tools > Photo editing tools > Count Objects in an Image

## About Count Objects in an Image

Counting seeds, coins, cells or stars by hand is slow. This tool turns the picture to grey, splits it into object and background with a threshold you set or the automatic Otsu method, and finds each group of touching object pixels. For every object it reports area in pixels, centre, bounding box, and draws numbered outlines on the picture. Settings choose dark or light objects, a smallest size to ignore specks, 4 or 8 connectivity and whether to ignore objects touching the edge. In the sample, eight discs are counted and three tiny specks are ignored. Download all measurements as CSV.

## How to use Count Objects in an Image
1. Open your photo, or press the sample button to see eight discs on a light background.
2. Choose whether the objects are darker or lighter than the background, keep the automatic threshold or set your own, and set the smallest size.
3. Read the count and the table, look at the numbered overlay and download the CSV or the numbered picture.

## Why use this tool?
- Private: everything happens in your browser. Nothing you enter is uploaded.
- Free, with no sign-up, no watermark and no limit on how often you use it.
- Works on phones, tablets and computers: Android, iPhone, Windows, Mac and Linux. Nothing to install.

## Also known as
- count objects in an image
- blob counter
- count items in a photo
- count cells or coins in picture
- object counter with area and csv

## Frequently asked questions

### Why are touching objects counted as one?

The tool separates objects only by gaps. Touching or overlapping items form one connected group. Spread the objects out, lighten the threshold, or take the photo against a clear background.

### What is the automatic threshold?

The Otsu method picks the grey level that best separates the two groups of pixel brightness. It works well on pictures with a clear background. For uneven light, turn it off and drag the threshold slider.

### Are the areas real sizes or pixels?

They are pixel areas of your picture. To convert to square centimetres, measure an object of known size in the same photo and divide, since the tool does not know the scale of your picture.

### Is Count Objects in an Image free?

Yes. Count Objects in an Image on Toolipedia is free to use, with no sign-up and no watermark.

### Is it safe to use?

Yes. Everything is worked out in your browser, and nothing you enter is sent to our server.

### Does it work on my phone?

Yes. It works in any modern browser on Android and iPhone, as well as on tablets and computers. There's nothing to install.

### Do I need an account?

No. Just open the page and use the tool. There's no sign-up and no email needed.

## Related tools

More free tools that go well with Count Objects in an Image:
- [Count colours in an image](https://toolipedia.app/count-colors-in-image)
- [Composition Guide Overlay](https://toolipedia.app/composition-guide-overlay)
- [Photo EXIF to CSV export](https://toolipedia.app/photo-exif-to-csv)
- [Annotate image with arrows and boxes](https://toolipedia.app/annotate-image)
- [Seam Carving Online](https://toolipedia.app/seam-carving-online)
