Skip to content
Pezhman’s Gallery
فا

Eyewear store · 3D fitting

Didar Eyewear

A storefront joins catalogue browsing, live camera try-on and the product administration needed to publish frames.

Pezhman Karim Sarmadi’s roleWeb development
Amber eyeglass frames on a dark optical grid

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

Storefront
Storefront

Desktop catalogue from the project documentation.

Open in gallery
Virtual fitting
Virtual fitting

A frame from the documented camera try-on demo.

Open in gallery
Administration
Administration

Product administration view.

Open in gallery

Architecture and tools

How the frame follows a turn of the head

  1. Choose a supported frame

    The shopper starts from a product that has a 3D model and gives the browser camera permission.

  2. Track face landmarks

    MediaPipe estimates face landmarks from camera frames in the browser. Those points inform orientation and scale.

  3. 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