Eyewear store · 3D fitting
Didar Eyewear
A storefront joins catalogue browsing, live camera try-on and the product administration needed to publish frames.
The fitting room is part of the storefront
Inspect product details, then open the camera from the same shopping flow. The store and administration use a shared product catalogue.
Browse and try on
From a product frame to a live fitting
- Live fit
Face landmarks drive how a frame follows movement in the camera preview.
- Compare and choose
Search and filter frames, compare options and share a saved list.
- Purchase and follow up
The order flow covers addresses, discounts, shipping, online or in-person payment, PDF invoices and returns.
The product catalogue
Storefront and publishing work together
- Operate the store
Manage stock by color and size, orders, discounts, articles, contact messages and back-in-stock subscriptions.
Product views
Image unavailable
Desktop catalogue from the project documentation.
Image unavailable
A frame from the documented camera try-on demo.
Image unavailable
Product administration view.
Architecture and tools
How the frame follows a turn of the head
-
Choose a supported frame
The shopper starts from a product that has a 3D model and gives the browser camera permission.
-
Track face landmarks
MediaPipe estimates face landmarks from camera frames in the browser. Those points inform orientation and scale.
-
Align the 3D frame
Three.js positions the GLB frame using its nose-pad pivot. It updates as the shopper moves.
Store and camera
Face landmarks and a 3D frame meet in the browser.
- Next.js
- React
- TypeScript
- MediaPipe
- Three.js
Store operations
The API, persistence and background jobs cover purchasing and catalogue operations.
- Python
- FastAPI
- SQLAlchemy
- PostgreSQL
- Redis
- Celery