Skip to content
Technology

How Ollie's Celebrity Database Was Built

Ollie's celebrity face database was built from Wikidata and Wikimedia Commons: living adults covered by many Wikipedia language editions, ranked by recent page views, with only freely licensed photos. Every photo is checked with face recognition to confirm it shows the right person, and fakes, statues, sunglasses and duplicates are removed. The result is over 5,000 celebrities and over 40,000 photos, with 2 to 12 verified photos each.

The Ollie teamJune 9, 2026 · 3 min read
An open drawer in a wooden library card catalogue
Image: Dr. Marcus Gossler, CC BY-SA 3.0, via Wikimedia Commons (resized)

The Numbers

Ollie's celebrity index
CelebritiesOver 5,000
PhotosOver 40,000
Photos per person2 to 12
SplitAbout three in five men, two in five women
Photo sourceWikimedia Commons only
LicencesPublic domain, CC0, CC BY, CC BY-SA and similar

This index is separate from the data used to train the model. The model learned what faces look like from a public research dataset. The index is the set of people it can match you with.

Choosing the Celebrities

The list starts from Wikidata, the structured database behind Wikipedia. It takes every living person covered by at least ten language editions of Wikipedia, a simple way of saying "known in many countries".

Each person is ranked by how many people read their English Wikipedia article over the previous six months, with a boost for being covered in many languages. That keeps the list current: someone who was huge in 2005 but rarely looked up now ranks lower than a rising star.

English Wikipedia under-counts stars who are famous elsewhere, so a second list ranks people from East and South Asia, Southeast Asia, Latin America, Africa and the Middle East by page views on their own languages' Wikipedias. About half of that list is women, which helps balance the overall index.

Some people are left out on purpose:

  • Minors. A known birth date is required and everyone must be 18 or over.
  • The deceased. Living people only.
  • People known mainly for adult entertainment or serious crimes.

Read more: How Ollie's Celebrity Lookalike AI Works: A Technical Overview

Only Freely Licensed Photos

Every photo comes from Wikimedia Commons and must carry a licence that allows reuse with credit. Photos under non-commercial or no-derivatives licences are never used, and files flagged for deletion are skipped.

For each photo, Ollie stores the photographer's name, the licence and a link to the original, and shows that credit under the photo in your results. That's more work than scraping a search engine, but it means every celebrity photo on the site is used with permission granted by its licence.

Checking Every Photo

Candidate photos come from four places: the person's main Wikidata photo, photos tagged as depicting them, their Commons category and name searches. Name searches in particular bring in a lot of wrong photos, so every candidate goes through automatic checks before it's kept:

  1. Exactly one clear, large face, so no group shots.
  2. Facing roughly toward the camera.
  3. Sharp enough to read.
  4. In colour, so no black-and-white or sepia prints.
  5. No sunglasses.
  6. An adult face.
  7. A real photograph, not a statue, wax figure, drawing, poster or meme. This is checked using both the file's title and an image model.

Read more: How Does AI Facial Recognition Actually Work? A Plain-English Guide

Get new guides by email

By joining, you agree that Ollie can email you about new features and style tips. Every email has an unsubscribe link. Privacy

Checking It's the Right Person

Passing the quality checks isn't enough: the photo also has to show the right person. A face recognition model compares each candidate with the person's own Wikidata photo and with their other candidate photos, and keeps only clear matches.

If the reference photos disagree with each other about who the person is, which happens when a Wikidata photo is wrong or shows someone else, the person is skipped rather than guessed. Near-duplicates and too many photos from the same event are dropped, so one red carpet appearance doesn't dominate someone's set.

An audit step then produces contact sheets, grids of every kept photo per person, for spot checks by eye.

Building the Search Index

Each kept photo is run through Ollie's network once, producing 512 numbers. These are stored side by side, one per photo, rather than averaged into one set of numbers per person.

That choice matters. Averaging would blur a person's look across years, hairstyles and angles. Keeping each photo separate lets a search score each celebrity by their single closest photo, and show you that exact photo. If you look like an actor did a decade ago, you'll see that older photo.

Searching is then a single matrix calculation: your 512 numbers against all 40,000+ stored sets at once, which takes milliseconds. For the rest of the pipeline, see how Ollie works.

Takedowns and Corrections

If a celebrity or photographer wants a photo or person removed, the Ollie team deletes them from the source data, rebuilds the index and keeps a record so they don't come back on the next rebuild. You can get in touch through the contact page.

Frequently Asked Questions

How many celebrities are in Ollie's database?

Over 5,000 living celebrities and over 40,000 photos, with 2 to 12 verified photos each.

Where do the celebrity photos come from?

Wikimedia Commons, under free licences such as public domain, CC0, CC BY and CC BY-SA. Every result credits the photographer and links to the original.

How do you make sure each photo shows the right person?

A face recognition model compares every photo with the person's Wikidata photo and other photos, and keeps only clear matches. If the references disagree, the person is skipped.

Are minors in the database?

No. Every person must have a known birth date and be 18 or older.

Try it yourself

Find your celebrity lookalike

Upload a photo and see which celebrities you look most like. Free to try, and your photo is never stored.

Find my celebrity look alike

About the author

The Ollie teamWrites for Ollie, a free celebrity lookalike AI

The Ollie team wrote and trained Ollie's own face-recognition model from scratch, and writes these guides to explain how face matching works in plain English. Questions or corrections are welcome on the contact page, and the FAQ covers how Ollie works and what happens to your photo.

Related Articles