Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

People and Faces

Smriti detects faces during scanning, groups them into clusters (one cluster per person), and lets you name, merge, and review those clusters in the People view.

Running face processing

Face processing runs automatically during the initial scan and on any rescan when new photos are added. You can also trigger it manually from Settings.

Detection uses SCRFD (face localization) and GLinTR-100 (identity embedding), both running locally via ONNX Runtime.

Clustering pipeline

Clustering happens in two stages:

  1. Gallery retrieval. Each new face is compared against the gallery of existing clusters using k-nearest-neighbor matching with confidence bands. High-confidence matches auto-assign. Everything else drops to stage 2.
  2. Complete-link agglomerative. The remaining unresolved faces are clustered pairwise. If the number of unresolved faces exceeds 2,000 in a single pass, stage 2 is skipped for performance and those faces are matched against galleries by the rescue pass instead. The cap will be lifted in a future release once HNSW-based approximate clustering replaces complete-link.

After clustering, a post-pass unifies clusters that look like the same person split by lighting variance, and a rescue pass matches any remaining orphans against existing galleries with looser thresholds.

What you can do in People

  • Rename a cluster by clicking its title.
  • Open a person to see all photos they appear in.
  • Merge two clusters into one (e.g. when the system split the same person across several clusters).
  • Review ambiguous matches — the review deck walks you through faces the system wasn’t sure about, one at a time.
  • Answer “Same person?” — when two people look alike and never appear in the same photo, People asks. Same person joins them (with Undo), Not now asks again in 30 days, Different people never asks again and keeps clustering from joining them.

Faces in a photo

Press P in the photo viewer (or the face button in its toolbar, or Edit next to People in the info panel). Every face gets a frame with its name.

  • Click a face to confirm it, say who it really is, say it is not that person, or mark it as not a face. Each can be undone. This works any time, not only while reviewing.
  • Drag across a face Smriti missed to add it. Smriti looks again in just that area, finds the face and reads it like any other, so it counts for its person in search and on their page. Pick who it is, or leave it unnamed and Smriti will group it with similar faces. If no face can be found there, nothing is added.

Tuning

  • Face confidence in Settings controls the minimum detection score for a face to be considered valid.
  • Clustering threshold in Settings controls how tolerant the system is about grouping visually similar faces. Lower values mean tighter clusters (more but smaller groups); higher values mean looser clusters (fewer but larger groups). The default works for most libraries.

Privacy

Face embeddings and detection crops never leave the device. See PRIVACY.md for the full data-flow description.