Vi3W
Skip to content

Guides

Virtual try-on for glasses: an independent eyewear brand's story

How virtual try-on for glasses works and how an eyewear brand could launch it: face tracking, accurate 3D frames, materials and making models for every style.

3 min read

A pair of black glasses resting on sheet music
Photo: public domain / CC0, via Openverse. Illustrative story.

Quick answer

How does virtual try-on for glasses work?

The phone or laptop camera tracks the shopper's face in real time, estimates its position and size, and places a 3D model of the frames on it, so the glasses move with the head. Accuracy depends on face tracking, the frame model's real dimensions and how well the lenses and materials are rendered.

Illustrative story. Halfmoon Optics is a fictional company and this is a made-up scenario, written to show a realistic workflow. The people, numbers and outcomes in it are invented for illustration and are not a Vi3W customer's results. The tools, steps and Vi3W features are real.

The problem with buying frames online

Halfmoon Optics is a fictional independent eyewear brand with 120 frame styles and a small online shop. Customers loved the designs and hated guessing. "Will these look too big on me?" was the most common question in their inbox. Big eyewear retailers had try-on. Halfmoon didn't.

What makes try-on work

Two parts, and only one of them is hard to buy:

Thick-framed glasses on a grey surface
Photo: public domain / CC0, via Openverse.
  1. Face tracking. Several commercial try-on platforms and open-source face tracking libraries handle this, including on the web.
  2. 3D frame models. Every frame style, in every colour, at its real size. This was Halfmoon's real project: 120 styles and around 400 colourways.

Making 400 frames

The traditional route, modelling frames by hand from technical drawings, was priced per frame. Halfmoon's approach:

  • Image to 3D in Vi3W from straight-on and three-quarter product photos. Thin temple arms are hard for any generator, so the team tried several of Vi3W's 25 image-to-3D models per style and kept the cleanest.
  • Scale to the spec. Every frame was scaled to its lens width, bridge and temple length from the product page. Try-on with the wrong scale is worse than no try-on.
  • Colourways with New paint job. Tortoiseshell, crystal, matte black and so on were made by retexturing one approved shape, with reference photos of the actual acetate.
  • Clean shape and Make it lighter to keep each model fast to load on a phone.
  • QA: a staff member compared each model with the physical frame, which is the same process as our e-commerce 3D quality checklist.

Lenses were handled by the try-on platform's own transparent material, not baked into the textures.

What changed

In this illustrative story, try-on became the most used feature on product pages, and "will this suit me?" emails dropped. Halfmoon also added a 3D viewer and AR on the same pages using the models, as described in AR product viewers.

Honest limits

Virtual try-on is a style tool, not a fitting. Halfmoon kept frame measurements next to every try-on button and a free returns policy.

Lessons you can steal

  • Budget for the frame models. They're the real project.
  • Scale every model to the product's measurements.
  • Make colourways by retexture with photos of the real material.
  • Keep measurements visible next to the try-on.

The same idea for footwear is in virtual try-on for shoes.

Make your first frame

Upload a product photo of one frame and check it against the real one. Open Vi3W.

Frequently asked questions

how does virtual try on glasses work

The camera tracks your face, estimates its position, angle and size, and overlays a 3D model of the frames that moves with your head. Some systems use a reference object or depth camera to improve sizing.

how accurate are virtual try on glasses

They are good for judging style, colour and rough proportion, and less reliable for exact fit. Accuracy depends on face tracking and on the frame models matching real dimensions, so check frame measurements as well.

Last reviewed