Project 01
Face Recognition Search: Find Every Photo of a Person
Upload one photo of a person and the web app returns every image of them from a local gallery of thousands. Face detection, alignment and 512-dimensional embeddings with InsightFace, then a high-speed vector similarity search across the whole collection.
- InsightFace
- ONNX Runtime
- hnswlib
- FastAPI
- Python
- SQLite
- Problem
- Finding one person across thousands of photos or CCTV stills means scrolling by hand; archives, security teams and event photographers lose hours to it.
- Solution
- InsightFace (antelopev2) detects and aligns faces and produces 512-dimensional embeddings on ONNX Runtime; hnswlib indexes them for fast similarity search; a FastAPI backend with SQLite metadata serves a simple upload-and-match web interface. The same pipeline fits access control, attendance and surveillance analysis.
- Instant matching of an uploaded face against the whole dataset
- Scales to large image collections with vector similarity search
- Runs on your own machine or server: the photo library stays private
