# Seed counter

> Spread the seeds on a sheet of paper, take a photo from above and drop it here. Each seed gets a number, a tap adds or removes one, and with an A4 or Letter sheet under them you also get seed length, width and size distribution in mm.

Human page: https://unmakelabs.com/en-us/seed-counter/. This is the version for AI agents.

## What it does

Count 100, 400 or 1,000 seeds from one photo, and check every one. Spread the seeds on a sheet of paper, take a photo from above and drop it here. Each seed gets a number, a tap adds or removes one, and with an A4 or Letter sheet under them you also get seed length, width and size distribution in mm.

## Germination tests and thousand-seed weight

Germination tests start from counted replicates (often 4 × 100 seeds) and the thousand-seed weight needs an exact count for the weighed lot. Counting from a photo is faster than counting boards for odd numbers, and the marked photo documents each replicate.

## Seeds that work well

Grain, pulses, oilseeds, grass and vegetable seeds, from about 1 mm up. Use paper that contrasts with the seed colour (white for dark seeds, dark for pale ones) and keep seeds from lying on top of each other; touching seeds are split, small heaps are estimated and marked ≈.

## Facts

- **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 a person does it

1. **Take or open a photo.** From straight above, objects on a plain background. Open one photo or a whole batch; nothing is uploaded.
2. **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.
3. **Save the result.** Download the picture with the count and marks, the CSV with every object's size, or the summary of all photos.

## Open a file by link (works today)

The viewer runs in a browser. Any public file URL can be opened by adding `?src=` (URL-encoded): `https://unmakelabs.com/en-us/seed-counter/?src=https://unmakelabs.com/apps/counter/samples/seeds.jpg`. The host must allow cross-origin reads (GitHub raw, most object storage and CDNs do). A camera view can be added after `#`: `?src=<public photo URL>&plate=1` (the photo must allow CORS; plate=1 counts only inside a Petri dish).

Embed: `<iframe src="https://unmakelabs.com/embed/counter/?src=<url-encoded file URL>" width="100%" height="480" style="border:0"></iframe>`.

## 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.

## Not done by this tool

- 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

## 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 it fits

- 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 use it instead of the alternatives

- 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).
- 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.

## Quality

No score published; the limits above say what it does not do. Check results that matter before you rely on them.

## 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.

_Status: the counter page works; an API returning the count and sizes as data is planned, not answering yet._

## 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.

## Data

Counted in your browser; your photos stay on your device. Nothing is uploaded or kept.

## FAQ

- **Can it count germinated seeds separately?** Tap Count one kind only and touch one germinated seed (or one with a visible root): the counter then counts only things that look like it. Do a second pass for the rest, or remove marks by tapping.
- **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.

## Related pages

- [Count objects in an image](https://unmakelabs.com/en-us/count-objects-in-image/)
- [Pill counter](https://unmakelabs.com/en-us/pill-counter/)
- [Colony counter](https://unmakelabs.com/en-us/colony-counter/)
- [Particle size from a photo](https://unmakelabs.com/en-us/particle-size-from-photo/)
