Computer Vision · Utility

Coin Counter

How we built Coin Counter: the problem, the solution, the stack and the result. See more in our portfolio.

Coin Counter app screenshot

The problem

Counting large volumes of coins by hand is slow and error-prone, a daily grind for cashiers, small businesses, and collectors. Hardware coin counters solve it, but they are expensive, stationary, and overkill for most users. The idea: turn the phone people already carry into the counting machine. Worn coins, overlapping piles, and harsh indoor lighting defeat demos trained only on neat studio photos. Cashiers also need offline continuity when till-area connectivity drops mid-count. Real tills add motion blur from hurried hands, mixed lighting across store brands, and staff who will abandon any flow that needs a training seminar before the first count.

The solution

We built a mobile app that uses the device camera and on-device image recognition to identify, classify, and count coins in real time. Point the camera at a pile of coins and the app detects each denomination, keeps a running total, and lets the user save or share counts. The recognition pipeline was tuned for overlapping coins, varied lighting, and worn faces, the messy conditions real users actually shoot in. We focused on resilient capture guidance, offline-capable counting flows, and save or share paths for shift handoffs, without publishing invented accuracy marketing numbers. We invested in capture guidance, offline persistence, and honest uncertainty states, then validated on messy partner samples instead of only studio decks.

Snapshot

DomainComputer vision utility
Built withFlutter, one codebase for iOS and Android
PlatformsiOS + Android
Core techOn-device camera recognition

Key flows

Capture & detect

User points the camera at a pile; the pipeline detects coin candidates under overlap and uneven light before classification.

Classify & total

Denominations are classified on-device; a running total updates without requiring a network round-trip for the count itself.

Save & share

Counts can be saved or shared so cashiers and collectors keep a history without dedicated hardware counters.

Milestones

  • Discovery: define lighting/overlap challenges and offline requirement
  • Prototype: camera pipeline and denomination classes
  • Hardening: messy real-world capture conditions
  • Store-ready builds and handover docs

Hardest problem: recognition accuracy outside the studio. Overlapping coins, worn faces and mixed store lighting defeat models trained only on clean photos, so tuning and testing used messy till samples and the app explains uncertainty instead of showing a silently wrong total.

Coin piles in the wild overlap, reflect light unevenly and include worn faces. Studio demos that ignore that fail cashiers on day one.

Offline counting was a product requirement: connectivity in a till area is not guaranteed, and counts must not vanish mid-shift. Save and share cover shift handoffs without forcing a cloud round trip.

Discovery artifacts that helped: sample photo sets from real tills, denomination lists, and a definition of "accurate enough" agreed before model tuning.

Capture UX favours large shutter targets and framing guides over tiny icons, because hands are busy at a till. Optional audio confirmation stays off by default for noisy floors.

Lighting realism: overhead fluorescents and metallic reflections were part of the test sets, not only daylight studio shots.

Overlap handling: stacked coins create partial contours, so the product explains uncertainty instead of showing a silently wrong total.

Failure copy: blur, an empty frame and an unsupported mix each get distinct guidance.

Denomination configuration is treated as product data, so regional lists can evolve without rewriting the client.

Performance and battery: inference must feel interactive during a count, so latency was treated as UX and reviewed on mid-tier devices.

Privacy: sample images from counts are handled under an agreed retention rule and are not left as unbounded camera-roll clutter.

Release habits: permission copy and camera purpose strings were written early to avoid app-store review delays.

Accuracy: finance wanted a single accuracy number early. We proposed a scoped evaluation plan instead of inventing one, and no accuracy percentage is published here.

Buyer tip: bring about twenty real till photos to the scoping call, not only marketing shots.

Stack

  • Flutter (Dart): one codebase for iOS and Android
  • On-device camera capture and image recognition
  • Denomination classification and running totals
  • Offline-capable processing (no network required for counts)

Timeline

Scoped in a discovery call, delivered in fixed milestones with sprint demos, then a documented handover for store-ready builds.

Outcomes

  • Users can count coin piles with the phone they already carry, with no dedicated hardware counter.
  • Recognition is tuned for overlapping coins, varied lighting and worn faces.
  • Counts run on-device, so they work offline and survive connectivity drops mid-shift.
  • Capture guidance and distinct messages for blur, empty frames and unsupported mixes replace one generic retry prompt.
  • Denomination lists are configuration data, so regional lists can evolve without a client rewrite.
  • Save and share supports shift handoffs. No accuracy percentage is published; an evaluation plan is scoped instead.

Capabilities

  • Real-time coin detection and classification through the camera
  • Per-denomination totals with saved count history
  • On-device processing: works without a connection
  • Built for iOS and Android

Building something similar?

Free scoping call with our team. Book Calendly, call, email, or send a short brief.