Count ampoules in a tray from a photo
AI Ampoules Counter

Count ampoules in a tray from a photo

Works with JPG, PNG, WEBP · Free up to 20 MB, Premium 50 MB

Spread the ampoules one layer deep on a tray or flat surface and photograph from directly above — counted detections receive dots for review. Built for pharmacies, clinics, labs and care homes — review and correct each photo before adding it to a CSV or PDF tally.

  • Review the photo, then count visible ampoules
  • Count without marking; add example boxes if you need a guided recount
  • Stop counting the same ampoules twice to be sure of the total
  • Free to use · No signup required · Without watermark

Upload Image

Counting glass ampoules in trays for clinical stock checks

Hospital stores, operating rooms and crash carts hold ampoules that are counted at stock rotation, at goods-in and during cart checks. For controlled drugs, the witnessed manual count and register entry remain the procedure, and a photo count can only support them. Ampoules usually sit in molded trays or card inserts, so shoot from directly above with the whole tray in frame.

Clear glass is the challenge: ampoules nearly vanish on a white tray and pick up bright reflections from ceiling lights. A dark background and soft, angled light make the outline and the colored neck rings stand out. Ampoules lying flat in rows can touch end to end, so check that each holds one dot and not two. Empty slots in a tray are easy to see by eye, so compare them with the count. Different products in similar glass need one example each, and lookalike ampoules should never share a tray.

Add each tray or drawer as a labeled row in the tally. Vials in racks are handled on the vial counter, syringes for the same cart on the syringe page, and tablets on the pill counter.

Frequently asked questions

Do the items need to be separated before counting?
Slight touching can work, but full overlaps hide items and make the result less reliable. Spread them one layer deep under even light, mark a clear example, and review every result marker.
What if the photo has more than just ampoules in it?
Auto mode uses the selected item name to find what to count. For a guided recount, mark one complete, clearly visible ampoules — up to 3 examples for different-looking kinds. Similar-looking distractors can still affect the result, so review every marker before using the total.
Can I count several photos into one total?
Yes — count each photo and add every reviewed result to the tally sheet as a labelled row. If you use example boxes, mark them separately on each photo. Export the tally as CSV or a PDF report, or save it to your account.
Is it free and private?
Yes. You can count, review and download a free result without an account. Downloads are free without a watermark. No signup required. Server-processed photos are encrypted in transit and removed under our Security policy.

What you can do with Pill Counter

Review the main capabilities before you begin.

  • Count pills and tablets from a single photo
  • Use a marked tray estimate as a manual-count cross-check
  • Have a qualified person review each counted-pill marker
  • Optionally mark an example to refine a tricky count
  • Batch-count many trays in a bulk audit
  • Filter out tiny specks with a size cutoff

Settings reference

Available controls for Pill Counter.

Upload

Single photo / Bulk auditPresets
Choose a single-photo count or a Premium bulk audit. Review every result.Options: Single photoBulk audit

Count

Add to tallyOne-click
Add this photo as a row in the current stock-take.
Counting modePresets
Chooses the counting engine: Auto and Similar items count from your marked examples — mark 1 to 3, one complete pill per different-looking kind; Distinct objects labels separate, fully visible items without an example.Options: AutoSimilar itemsDistinct objects
Included markersSliderRange: 0–1 · Default: 0.21
Starts at 21%; slide toward Show more to include weaker markers or Only strongest to hide them.
Overlay stylePresets
Choose dots, a heatmap, both or a clean preview.Options: BothDotsHeatNone
What to countText input
Names the item to count and comes pre-filled with pills; clear or change it to count a different item in the photo.
Detection sensitivitySliderRange: 0–1 · Default: 0.5
Adjust detection sensitivity for larger or smaller visible items.

Examples

Mark example pillsDraw on image
Drag a tight box around one complete, clearly visible pill. The counter uses it as a visual reference; require qualified human review for any regulated tally.

Tally

LabelText input
Rename this row so it is identifiable in the exported stock-take.
CountNumber input
Correct this row's count; totals and exports update automatically.

Advanced

Result overlayDropdown
Choose how count markers appear on the downloaded result.Options: Dots + heatmapDots onlyHeatmap only
Ignore small detectionsSliderRange: 0–1 · Default: 0
Ignore detections below the selected size.
Free to use · No signup required · Without watermarkUploads are encrypted in transitRemoved under our retention policy

How Pill Counter helps you get it done

Real problems it solves every day — for businesses, creators, and everyday tasks. Find the use case that fits you and start.

For Business

Pharmacy Fill Double-Checks in Seconds

Photograph a filled tray as a second check on a manual count. A qualified pharmacist must review each counted detection, correct the AI tally, and follow the required medication procedure before release.

Legal

Controlled-Substance Draft Review Trail

Treat the AI tally as a draft, have a qualified person complete the required manual controlled-substance procedure, and export only the corrected result alongside the official record. The AI report is not a compliance audit trail by itself.

For Business

Care Home Medication Round Counts

Use a photo count only as a second check. Qualified care staff must review and correct the markers and complete the required manual medication count between shifts; AI must not replace that procedure.

For Developers

Supplement & Capsule Manufacturing QC

Run Similar items mode on a production sample after marking the specific capsule or tablet in the Examples setting, and have a qualified reviewer verify the markers before shipping.

Productivity

Multi-Tray Stock Checks for Pharmacies

Open Bulk audit to run Distinct objects mode across every tray photo, then have a qualified person review every marker and correct each tray before exporting the tally.

Watch each transformation land

Every photo crosses the slash untouched and comes out the other side finished.