faceframe Star on GitHub

Open source · MIT · runs on your Mac

Everyone's photos, sorted by who's in them.

Point faceframe at a folder or a public Google Drive link. It finds every face, groups people, and gives you a gallery to browse, download by person, and share as a static site. Nothing leaves your machine.

$ curl -fsSL https://faceframe.buildwithmanish.com/install.sh | bash

Needs Python 3.10+ and ffmpeg. Other ways to install

60 seconds: paste a folder, watch it work, browse by person, export a site. The demo uses illustrated stand-in photos, never real people.

~6/sfiles per second on an M-series Mac, using the Neural Engine
0uploads, accounts or API keys
1 lineto install, one click to browse a folder
MITlicensed. Fork it, ship it, change it

The hard part of face sorting is not splitting one person in two

Most tools group faces by distance and call it done. Then your cousin shows up as "Person 9" and "Person 25". faceframe has four guards against that, and a review queue for what is left.

  1. 01

    Quality gate

    Only frontal, sharp, uncut faces may start a person. A blurry profile can join one, but never create a fragment.

  2. 02

    Best-match linkage

    Groups merge when their best faces agree, not their averages, because a turned head drags an average off.

  3. 03

    Same-frame veto

    Two faces in one photo are two people. Groups that share frames never merge, however alike they look.

  4. 04

    Ask, don't guess

    Near-misses become "Possible duplicates". One click merges them. One click undoes it.

Everything after the sort, too

Install in a minute

curl -fsSL https://faceframe.buildwithmanish.com/install.sh | bash
faceframe

Then open localhost:8000, click Browse, and press Build gallery. The first run downloads the face model once (about 300 MB).

Made by Manish

I built faceframe after a festival left me with a thousand photos and everyone asking "which ones am I in?". It is open source, and pull requests are very welcome.