NEWVectors or files. Pick a path.Start →
    Search & Discovery
    8 min read
    Updated 2026-11-07

    How Do I Find Every Photo of One Person in a Large Photo Library?

    To find every photo of one person, detect the faces in each photo, turn each face into a face embedding, and search with a few reference photos of that person. This explains how the phone apps do it, how to do it across an archive of millions, why matches get missed, and the consent rules that apply to faces.

    Ethan Steininger
    By , Founder & CEO, Mixpeek
    Face Search
    Face Recognition
    Photo Library
    Face Embeddings
    Digital Asset Management

    How do I find every photo of one person in a large photo library?



    Search by face. Detect every face in every photo, turn each face into a face embedding (a list of numbers that is close for two photos of the same person and far apart for different people), and compare those embeddings with a few reference photos of the person you want. Every face within a set distance of the references is a match. For a personal library, Apple Photos, Google Photos and the open-source Immich already do this. For an archive of hundreds of thousands of photos, you run the same three steps yourself or with a service, then check the borderline matches by hand.

    How do the photo apps find a person?



  1. Apple Photos groups faces into the People album on your device. Name a person and Photos
  2. shows every photo they appear in.
  3. Google Photos does it with Face Groups,
  4. which you turn on in settings. Google says the feature is not available in every region.
  5. Immich, a self-hosted, open-source
  6. photo server, recognises faces in photos and videos, groups them into people and lets you search by name.

    These work well on one person's camera roll. They stop being enough when the photos sit in a shared drive, an agency archive or a cloud bucket, when several teams need the same search, or when you need the results in your own software.

    How does face search work across millions of photos?



    StepWhat happensTypical tools
    1. DetectFind each face and its box in the photo, with landmarks for the eyes, nose and mouthRetinaFace, SCRFD
    2. AlignRotate and crop each face to a standard pose so the model sees faces the same wayLandmark-based alignment
    3. EmbedTurn each aligned face into a face embedding, often 512 numbersArcFace-family models
    4. IndexStore the embeddings in a vector index next to the photo's ID and the face's boxAny vector database
    5. SearchEmbed 3 to 5 reference photos of the person and return every face within a distance thresholdCosine similarity
    6. Group (optional)Cluster all faces so each unknown person becomes a group you can name laterDBSCAN, HDBSCAN


    Search and grouping answer different questions. Search starts from someone you can show a photo of. Grouping starts from nothing and sorts the whole archive into people, which is what the phone apps do before you ever type a name. A face embedding differs from face recognition the way a fingerprint scan differs from a match against a database: the embedding is the measurement, and recognition is what you do with it.

    Why are some photos of the person missing from the results?



  7. Side profiles, sunglasses, masks and hats. Detection finds fewer faces and the embeddings drift.
  8. Use reference photos that include a profile and an outdoor shot.
  9. Small faces. A face 30 pixels wide in a group photo carries little detail. Run detection on
  10. the full-resolution photo.
  11. Age. A child photographed ten years apart can fall outside the threshold. Add a reference photo
  12. from each period.
  13. The threshold. A strict cut-off misses real matches, and a loose one pulls in relatives and
  14. lookalikes. Label a few hundred pairs from your own archive and set it where same-person and different-person scores separate.
  15. One reference photo. Search with several and keep a face if it is close to any of them.


  16. Benchmarks of frontal, well-lit faces overstate how a model does on a real archive, so measure on your own photos before you trust a number.

    What rules apply to searching faces?



    A face embedding used to identify someone is biometric data. Under the GDPR it falls under the special categories in Article 9, which needs an explicit legal basis such as consent, and Illinois' Biometric Information Privacy Act requires written consent before collecting it. Searching your own family photos is a different situation from searching photos of employees, customers or the public, so check with counsel before you index other people's faces at scale. Some widely used pretrained face models are also licensed for non-commercial research only, so check the licence of the weights you deploy.

    How do I do this with Mixpeek?



    Point Mixpeek at the bucket where the photos already live. The face identity extractor detects each face with SCRFD, aligns it and embeds it with ArcFace into a 512-number vector, for images, video frames and PDF pages. A retriever takes your reference photos and returns every matching face with its photo and box, and clustering groups the unknown faces across the archive. The photos stay in your storage. On the pricing page, face detection and identity is $1.00 per thousand images, and clustering is included.

    Related: face recognition and identity clustering in video, the best face recognition APIs, how to find duplicate photos, including edited copies and the InsightFace buffalo_l model.

    Frequently Asked Questions



    Can I search my photos with one photo of a person's face?



    Yes. Upload the photo, the face is turned into an embedding, and every face in the library close to it comes back. Results are better with three to five reference photos taken at different angles and ages.

    Why does my photo app not show some photos of a person?



    The app did not detect the face (turned away, small, covered) or the face fell outside its match threshold. Most apps let you confirm suggested matches or add a photo to a person by hand, which also helps later matches.

    How do I find photos of a person in thousands of videos?



    Sample frames from each video, run the same detect, align and embed steps on each frame, and store the timestamp with each face. A search then returns the video and the moment the person appears.

    Is it legal to search photos for a specific person's face?



    It depends on whose faces they are and where you operate. Face embeddings used for identification are biometric data under the GDPR and under Illinois' biometric privacy law, which require a legal basis or written consent. Get advice before indexing faces of people who have not agreed to it.
    Managed Mixpeek

    Put multimodal search to work

    Connect a bucket and Mixpeek runs the whole multimodal search pipeline for you: extraction, indexing, and search over your own objects. No models to wire up, nothing to host.

    Start with Managed
    MVS · bring your own

    Already have vectors?

    Keep your embeddings on your own cloud and run dense, sparse, and BM25 search directly on object storage. From $25/mo.

    Start with MVS

    Run this on your own data

    Point Mixpeek at the storage you already have and search your video, images, audio, and documents the way this guide describes. Build starts at $25/mo for up to 1M vectors.

    Search your own archiveRead Docs