# 種子カウンター

> 種子を紙の上に広げ、真上から写真を撮ってここにドロップしてください。1粒ごとに番号が付き、タップで追加・削除できます。A4またはレターサイズの紙を下に敷けば、粒の長さ・幅と大きさの分布もmm単位でわかります。

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

## What it does

千粒重測定や発芽試験の100粒、400粒、1,000粒を写真1枚で数え、1粒ずつ確認できます。 種子を紙の上に広げ、真上から写真を撮ってここにドロップしてください。1粒ごとに番号が付き、タップで追加・削除できます。A4またはレターサイズの紙を下に敷けば、粒の長さ・幅と大きさの分布もmm単位でわかります。

## 発芽試験と千粒重

発芽試験は数をそろえた反復区(多くは100粒×4反復)から始まり、千粒重には量った試料の正確な粒数が必要です。半端な数でも、写真から数えるほうが計数板より速く、番号付きの写真がそのまま各反復区の記録になります。

## 数えやすい種子

穀類、豆類、油糧種子、牧草や野菜の種子など、約1 mm以上のもの。種子の色と対照的な紙(暗い色の種子には白、明るい色の種子には黒っぽい紙)を使い、種子が重ならないようにしてください。接している種子は分割され、小さな山は推定して「≈」で表示します。

## Facts

- **数えられるもの:** 種子、錠剤、コロニー、細胞、ねじ、ペレット、硬貨など、背景から浮き出て見えるものなら何でも
- **表示内容:** 個数、すべての対象に付く番号、大きさの分布(面積、長さ、幅、直径、円形度)
- **サイズ:** 写真にA4/レターサイズの紙やカードを入れればmm単位、ピクセルサイズを入力した場合、またはピクセル単位
- **保存形式:** 注釈付き画像(PNG)、対象ごとに1行のCSV、複数写真のまとめCSV

## How a person does it

1. **写真を撮る・開く.** 無地の背景に対象を置き、真上から撮影します。写真1枚でも複数まとめてでも開けます。アップロードはされません。
2. **マークを確認する.** 数えた対象すべてに番号が付きます。マークをタップすると削除、何もない場所をタップすると追加できます。「1種類だけ数える」をタップして対象を1つ選ぶと、それに似たものだけを数えます。
3. **結果を保存する.** 個数とマーク入りの画像、各対象のサイズを含むCSV、またはすべての写真のまとめをダウンロードできます。

## 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/ja-jp/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

カウンターは周囲の背景との違いで対象を見つけ、接しているものはくびれの部分で分割します。影や反射、ごちゃごちゃした背景があると、対象が増えたりくっついたりすることがあるため、数を信用する前にマークをざっと確認してください。確認は数秒で済み、修正はどれもタップ1回です。

## Not done by this tool

- 対象が何であるかは認識しません。背景から浮き出て見えるもの、またはタップした見本に似たものを数えます
- 対象が重なった山は1つずつ数えず、大きさから推定します(「≈」で表示)
- 医薬品の調剤、臨床診断、間違いが人に害を及ぼすおそれのある計数には使用しないでください
- カウントはブラウザ内で行われます。任意の✦ボタンは、縮小コピーを送信する前に確認します。テキストでの指示(「赤いものを数えて」など)には対応していません。代わりに見本をタップしてください

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

ブラウザ内でカウントし、写真は端末から出ません。アップロードも保存もされません。

## FAQ

- **発芽した種子だけを別に数えられますか?** 「1種類だけ数える」をタップし、発芽した種子(または根が見えている種子)を1つ選ぶと、それに似たものだけを数えます。残りは2回目のカウントで数えるか、タップでマークを削除してください。
- **カウントの精度はどのくらいですか?** 離れて置かれた対象はほぼ正確に数えられます。対象が接している場合や照明のむら、コントラストが低い場合は誤りが増え(密集した顕微鏡画像が最も難しいです)、山は推定して「≈」で表示します。マークを確認してください。見落としはどれもタップ1回で直せます。
- **数え漏れや二重カウントがあった場合は?** マークをタップすると削除、何もない場所をタップすると追加できます。数はすぐに更新され、CSVと画像にも反映されます。「1種類だけ数える」をタップして典型的な対象を1つ選ぶとそれに似たものだけを数えます。または「調整」の感度スライダーを動かしてください。
- **サイズをmm単位で出すには?** A4またはUSレターサイズの紙(その上に対象を置く)か、カードを対象の横に置いて真上から撮影してください。カウンターがそれを検出し、すべてのサイズをmmに換算して、スケールの誤差も表示します。顕微鏡やスキャナーの画像では、代わりに1ピクセルのサイズを入力してください。
- **本当に無料ですか？** はい。写真の枚数制限、広告、登録、有料プランはありません。一度に50枚まで処理できます。
- **写真はアップロードされますか？** いいえ。カウントは端末上で行われ、写真のアップロードや共有リンクはありません。実験のプレート、製品、サンプルの写真も外部に出ません。
- **AIエージェントでもカウントできますか？** エージェントは、公開されている写真をリンクでこのカウンターに開き（このページに ?src= と写真のアドレスを付けます）、対象ごとのCSVを保存できます。カウント数とサイズをデータで返すAPIも予定しています。
- **運営者は？** Unmake Labs です。お問い合わせ：hello@unmakelabs.com

## Related pages

- [画像から数を数える](https://unmakelabs.com/ja-jp/count-objects-in-image/)
- [錠剤カウンター](https://unmakelabs.com/ja-jp/pill-counter/)
- [コロニーカウンター](https://unmakelabs.com/ja-jp/colony-counter/)
- [写真から粒子径を測定](https://unmakelabs.com/ja-jp/particle-size-from-photo/)
