saad-dev.com / work / FaceClusterer
Computer vision · clustering
FaceClusterer
SigLIP global embeddings and InsightFace face embeddings, voted into a consensus across six thresholds. No model retraining, no labels.
$ python cluster.py ./album
- [load] 812 images
- [siglip] global embeddings 11.2s
- [insight] buffalo_l face embeddings
- [ensemble] consensus vote · 6 thresholds
- ✓ 7 stable identities → folders + faces.txt
What it does
Point it at a folder of photos and it groups them by who is in them: SigLIP image embeddings and InsightFace face embeddings are clustered by a consensus vote across six thresholds, giving stable identity labels with no retraining, no labels and no fixed number of clusters.
How it works
- Global image embeddings from SigLIP (google/siglip-so400m-patch14-384), batched and GPU-accelerated when available.
- Face detection and face embeddings from InsightFace (buffalo_l).
- Ensemble and consensus clustering across six thresholds, so identities stay stable on noisy photo sets.
- Results are written into browsable folders and zipped.
By the numbers
- 6 thresholds
- 0 labels needed
- 0 retraining
Stack
- Python
- SigLIP
- InsightFace
- NumPy
Questions
Can I run FaceClusterer myself?
Yes. It is open source at https://github.com/s-wasim/FaceClusterer, and the README walks through running it locally.
Can Saad Waseem build something like FaceClusterer for my team?
Yes. He builds production AI agents and automations like this one, remotely from Lahore for teams in the US and EU, at $40/hr for build work. Book 20 minutes from the CV, or email saad@saad-dev.com.