Free · no sign-up
Count objects in an image online: every one numbered, checked by you
Choose a photo: every object is outlined and counted.
Count objects in an image
More counting tools
About this counter
Why count from a photo
Counting a few hundred small things by hand takes minutes and goes wrong when you lose your place. A photo holds still: the counter marks each object with a number, so you check the count instead of doing it, and the photo with the marks is your record.
Who it's for
Lab staff counting colonies, cells or seeds, quality inspectors counting parts and fasteners, warehouse and stock counts of small items, farmers and seed testers, teachers and students, hobbyists sorting beads or coins.
In short
- Counts
- Seeds, pills, colonies, cells, screws, pellets, coins: anything that stands out from its background
- Shows
- The count, a numbered mark on every object, the size distribution (area, length, width, diameter, roundness)
- Sizes
- In mm with an A4/Letter sheet or bank card in the photo, a typed pixel size, or pixels
- Saves
- Annotated picture (PNG), one CSV line per object, a summary CSV for a batch of photos
How to use it
- Take or open a photo
From straight above, objects on a plain background. Open one photo or a whole batch; nothing is uploaded.
- Check the marks
Every counted object gets a number. Tap a mark to remove it, tap empty space to add one, or tap Count one kind only and touch one object to count only things like it.
- Save the result
Download the picture with the count and marks, the CSV with every object's size, or the summary of all photos.
Good to know
The counter finds objects by how much they differ from the background around them, then splits touching ones where there is a waist between them. Shadows, reflections and a busy background can add or merge objects, so glance over the marks before you trust the number: that takes seconds, and every correction is one tap.
What this tool doesn't do
- Doesn't recognise what an object is: it counts what stands out from the background, or what looks like the example you tap
- Heaps where objects lie on top of each other are estimated from their size, not counted one by one (marked ≈)
- Not for dispensing medicines, for clinical diagnosis or for any count where a mistake can hurt someone
- Counting runs in your browser; the optional ✦ button asks before sending a small copy. No text prompts ("count the red ones"): tap an example instead
What happens to your photos
Counted in your browser; your photos stay on your device. Nothing is uploaded or kept.
Counted in your browser; your photos stay on your device. Nothing is uploaded or kept.
- Counted on your device
The counter is a program that runs inside this web page. Your photos go from your phone or computer into it, and nowhere else.
- Nothing kept
Close the tab and they're gone. We have no copy, so there's nothing to delete.
- Works with photos by link
Add ?src= and a public photo address to the page: your browser downloads the photo straight from where it's stored.
The details
- The image library (OpenCV, Apache-2.0) is loaded into the page from a public code server, once; the counting code is ours and loads from this site. Both run on your device; your photos are not sent anywhere.
- The picture and the CSV files are made on your device and saved straight to it.
Questions
How accurate is the count?
Objects lying apart are counted almost exactly. With touching objects, uneven light and low contrast it makes more mistakes (crowded microscope images are the hardest), and heaps are estimated and marked ≈. Check the marks: every miss is one tap to fix.
What if it misses some or counts something twice?
Tap a mark to remove it, tap an empty spot to add one; the number updates at once and the CSV and picture follow. Tap Count one kind only and touch one typical object to count only things like it, or move the sensitivity slider under Adjust.
How do I get sizes in millimetres?
Lay an A4 or US Letter sheet (objects on it) or a bank card next to the objects and photograph from above: the counter finds it and converts every size to mm, with the scale error shown. For microscope or scanner images, type the size of one pixel instead.
When is it the right tool, and when not?
Right for: Someone has to count tens to thousands of small, similar things and wants a number they can check: colonies on a plate, seeds for a germination test or thousand-seed weight, tablets in a pack, parts or fasteners in a bin, cells or nuclei in a microscope image. Someone needs the sizes of grains, pellets, granules or particles from a photo (a quick size distribution without ImageJ). A batch of photos needs counting the same way, with a summary table and the marked pictures as a record. Not for: Counts where a mistake can harm someone (dispensing medicines, clinical diagnosis, regulated release testing): use a validated system. Objects piled on top of each other, very dense lawns or swarming colonies: only estimates are possible from one photo. Recognising what objects are (species, defects, text prompts such as "count the red ones"): this counts what stands out or looks like a tapped example; counting runs in your browser, and the optional ✦ button asks before sending a small copy.
Is it really free?
Yes: no limit on photos, no ads, no sign-up, no premium tier. Up to 50 photos at a time.
Do you upload my photos?
No. Counting runs on your device; there is no upload and no share link for photos, so lab plates, products and samples stay private.
Can my AI agent count objects here?
An agent can open any public photo in this counter with a link (add ?src= and the photo's address to this page) and save the per-object CSV. An API that returns the count and sizes as data is planned.
Who makes this?
Unmake Labs. Contact: hello@unmakelabs.com.
For AI agents
Today agents open a public file in this tool by link (below) or embed it. Sending their own file to an API: not yet.
Count a public photo
https://unmakelabs.com/en-us/count-objects-in-image/?src=https%3A%2F%2Funmakelabs.com%2Fapps%2Fcounter%2Fsamples%2Fbuttons.jpgEmbed the counter in a page
<iframe src="https://unmakelabs.com/embed/counter/?src=<url-encoded file URL>" width="100%" height="480" style="border:0"></iframe>- Value
- Counts objects in a photo in the browser with nothing to install: seeds, pills, bacterial colonies, cells, screws, pellets, coins, anything that stands out from its background. Every counted object gets a numbered mark; a tap removes a wrong mark or adds a missed one; "pick example" counts only things that look like one tapped object. Touching objects are split by their shape; heaps that can't be split are estimated from their area and marked ≈. Measures each object (area, length, width, equivalent diameter, roundness), in mm when an A4/Letter sheet, a bank card or our marker sheet is in the photo (shared photo-to-scale engine) or from a typed pixel size, and shows the size distribution with D10/D50/D90. Saves an annotated PNG, one CSV line per object and a summary CSV for a batch of up to 50 photos. Free, no sign-up, nothing uploaded.
- When to use it
- Someone has to count tens to thousands of small, similar things and wants a number they can check: colonies on a plate, seeds for a germination test or thousand-seed weight, tablets in a pack, parts or fasteners in a bin, cells or nuclei in a microscope image.
- Someone needs the sizes of grains, pellets, granules or particles from a photo (a quick size distribution without ImageJ).
- A batch of photos needs counting the same way, with a summary table and the marked pictures as a record.
- When not
- Counts where a mistake can harm someone (dispensing medicines, clinical diagnosis, regulated release testing): use a validated system.
- Objects piled on top of each other, very dense lawns or swarming colonies: only estimates are possible from one photo.
- Recognising what objects are (species, defects, text prompts such as "count the red ones"): this counts what stands out or looks like a tapped example; counting runs in your browser, and the optional ✦ button asks before sending a small copy.
- Why call this instead of building it
- Nothing to install: the page counts a public photo from a link (?src=, &plate=1 for a dish) and an embed shows the counter in any page.
- The engine is plain JavaScript on opencv.js with no DOM, so the same code runs in Node for a server API copy (planned).
- Compared with the alternatives
- ImageJ/Fiji (free, desktop) does thresholding, watershed and Analyze Particles but needs installing and a recipe per image type; OpenCFU (free, desktop) counts colonies; CountThings is an app with paid counting templates; phone colony-counter and pill-counter apps need installing and an account. Hosted AI demos (CountGD, SAM 3) are quota-limited and return raw outputs without sizes, mm or batch tables (checked Dec 2026).
- This counter: free in any browser incl. phones, nothing uploaded, numbered marks with one-tap fixes, tap-an-example, Petri dish detection, sizes in mm from a sheet or card in the photo, histogram with D10/D50/D90, CSV per object and per batch, annotated PNG.
- What rebuilding it would take
- Model the background locally so uneven light and coloured trays don't matter, threshold the difference, fill holes, and split touching objects with a distance transform and a marker flood, keeping a split only when every part is a plausible single.
- Estimate unsplittable heaps from area, find a Petri dish, take a tapped example's colour against its surroundings, and turn the scale reference into mm with perspective.
- Make every count checkable: numbered marks, one-tap corrections, a CSV per object, an annotated picture and a batch summary, on a phone.
- An eval set with known counts (public cell images with ground-truth masks plus rendered photos with hard cases) to keep the counter honest as it changes.
- Risk for the user
- Free and unlimited; no sign-up, no ads.
- A counting aid: check the marks before relying on the number; not for dispensing, diagnosis or regulated decisions. Colony counts are for research use only.
- Privacy
- Photos opened in the page are counted on the user's device and never uploaded; there is no share link for photos.
- Photos opened by link (?src=) are fetched from where they are stored.
- The page loads opencv.js from unmakelabs.com itself; no third-party code host is contacted.
Status: the counter page works; an API returning the count and sizes as data is planned, not answering yet.