Wedding photography platform · Events & photography

Face-recognition photo delivery: guests take one selfie and get their own photos

Photographers upload thousands of event photos; guests scan a QR code, take a selfie, and instantly see every photo they appear in.

India
The challenge

What needed solving.

A wedding can produce 5,000+ photos across several functions. Guests do not want to scroll through all of them, and matching a selfie against tens of thousands of faces had to be instant on a phone.

What we built
  • Photographer studio and guest gallery (Next.js) with a Fastify API
  • Direct-to-storage uploads with presigned URLs
  • Ingest worker producing AVIF/WebP derivatives, thumbhash placeholders, and face embeddings
  • Face clustering into people with union-find over a similarity graph
  • Selfie search against cluster centroids stored in Postgres with pgvector
  • Automatic event segmentation from photo capture time
Key decisions

Search clusters, not faces

Matching a selfie against a few hundred person clusters instead of every detected face makes search instant and also powers a 'browse by person' view.

Pluggable face provider

A provider interface lets the same pipeline run locally for testing or against a managed recognition service in production without code changes.

The result

Guests find their photos from a single selfie, and photographers deliver a whole event without manual sorting.

Related work

Similar projects.

All case studies

Need something similar built?

Share the problem, the systems involved, and the outcome you need.

Discuss your project