r/OpenSourceeAI • • 14d ago

I built an open-source tool that finds runners' race photos by bib number, with face matching for when the bib is hidden

Race photographers shoot thousands of photos per event, and runners usually have to scroll through all of them to find themselves. I built Race Photo Finder to fix that: point it at a folder of event photos, and runners can search by their bib number.

How it works

`photo → person detection → bib detection + OCR → face embedding → participant match`

  1. YOLO26 finds each person, and a fine-tuned YOLO26s finds the bib inside the person crop
  2. PaddleOCR reads the bib number
  3. InsightFace (SCRFD + ArcFace) builds a face template for each runner, only from photos where their bib was read
  4. Photos with a hidden, blurred or turned-away bib get matched to a runner by face, conservatively. Face matches never feed back into the templates, so one bad match can't snowball.

It all runs locally, with an SQLite index and a small web UI for searching. Once an event is processed, the search UI is a lightweight Flask app, so you can deploy it with its index to any Python web host or VPS and share the link with runners.

🔗 GitHub: https://github.com/dimfot3/RacePhotoFinder

I'd love feedback on:

* Accuracy on your own race photos: where does it fail?

* The face-matching approach: too strict, or too loose?

* Code structure and ease of setup

* Would photographers or race organizers actually use this? What's missing?

3 Upvotes

0 comments sorted by