My product2026Event photo sharing
Event Face Finder
Guests find their event photos with a selfie. Organizers share one gallery instead of sorting it by hand.
0 possible matches · 248 photos
The problem
After an event, hundreds of photos land in one folder and every guest scrolls through all of them to find themselves.
What I built
- 01
Organizer gallery
Organizers upload photos, or import a ZIP file, a Google Drive folder or direct links.
- 02
Selfie search
Guests take a selfie and see the photos where they likely appear.
Key decisions
For technical readers: key decisions
A face model the business can use
The most common open-source face model requires a commercial licence. I moved to an ArcFace model with OpenCV face detection, which keeps the same 512-dimension embeddings at no licence cost, and kept a managed API as a fallback.
Trade-off: Quality had to be proven again, so changes now pass a benchmark on recall, precision and false positives before release.
GPUs only when there is work
Face indexing runs on GPU machines started from the job backlog, while thumbnails run on a separate CPU pool. Every cloud machine is recorded in a lease table, and a guard stops orphaned machines every 10 minutes.
Trade-off: The first batch waits for a machine to start. In return, no GPU is billed while idle.
Selfies are not kept
A selfie becomes a temporary embedding and is not stored by default. Below the similarity threshold, the guest gets no match rather than a guess.
Trade-off: Some true matches are missed at the threshold, because showing a guest someone else’s photos would be worse.
Under the hood
- PostgreSQL with pgvector for face search, scoped to each event.
- Python workers on GPU and CPU machines that start with the backlog and stop when it clears.
- Jobs and emails are retried safely: completion keys, an email outbox and dead letters after repeated failures.
- 158 test files and 20 end-to-end scenarios. Photos on Cloudflare R2, payments with Stripe.
Stack
- Next.js
- Python
- PostgreSQL
- pgvector
- Cloudflare R2
- Stripe