Loading...
Loading...
An AI-powered zero-shot photo clustering and agentic retrieval engine built to solve high-volume event photography delivery.
How ClusterShot automates ingest-to-delivery using modern machine learning and database vector indexing.
Photographers upload entire event folders inside a consolidated ZIP archive. The FastAPI server initiates an asynchronous background worker that extracts images and parses EXIF metadata (camera specs, timestamps, geotags).
Images are analyzed by the Buffalo_L InsightFace model to detect faces and compute normalized 512D embeddings. Parallelly, OpenAI's CLIP model tags the scene (e.g. indoor, outdoor, crowd, stage).
Face embeddings undergo unsupervised spatial partitioning using the DBSCAN algorithm with Cosine Distance metrics, grouping duplicate identities into singular person sub-folders automatically.
Metadata is stored alongside face coordinates and 512D float vectors in Supabase Postgres. Original files are concurrent-uploaded to Cloudinary CDN to ensure snappy responsive loads globally.
Guests upload a selfie, triggering a fast Cosine Similarity query via pgvector RPC in Supabase. The database returns the matching person ID with distance indicators within milliseconds.
Guests review their customized gallery, containing only photos they appear in, and export their photos instantly in one click via a client-side zipped bundle generated using JSZip.
A premium architectural selection ensuring low-latency processing and optimal developer ergonomics.
The mind behind ClusterShot.

Certified GenAI developer and 5th-semester CS student at Ziauddin University, Karachi. I build production-grade AI systems — from CNNs and RAG pipelines to multi-agent platforms. ClusterShot is my exploration of zero-shot face clustering and agentic search, built entirely end-to-end as a solo developer.
Supercharged by Gemini & Antigravity as my AI coding partners.
Pioneering the intersection of agentic AI and real-world applications. From intelligent code assistants to multi-agent orchestration platforms — we build AI systems that augment human expertise with precision and responsibility.