AI Virtual Try-On E-commerce
E-commerce platform featuring AI-powered virtual eyewear try-on using Gemini and Face-API.
The Challenge & Solution
Engineered a next-gen e-commerce platform that solves the biggest pain point in online eyewear retail: “Will it fit?”. Instead of static images, I built a sophisticated Virtual Try-On system. The frontend leverages face-api.js for real-time detection of 68 facial landmarks to position glasses accurately, while the backend utilizes Gemini 2.5 Flash to generate photorealistic composites.
Under the hood, it’s a high-performance Astro (SSR) application. I implemented a robust security layer using HMAC-SHA256 signatures for CloudPayments webhooks to prevent fraud. The system also features a custom resource management engine that handles AI quotas per user session.