Skip to Content

CODEerts Smart Mirror AR Virtual Try-On for Glasses in Odoo | Webcam Eyewear Sunglasses Fitting Room | Website eCommerce Try On Before You Buy

July 19, 2026 by
CODEerts

Add a real-time AR virtual try-on to your Odoo eyewear shop. Shoppers click Try On on any glasses product, their webcam opens, and your 3D frame renders on their face and tracks their head as they move, so they can see how it looks before they buy. Everything runs on the shopper's own device in the browser, so no photo, video or face data is ever uploaded, stored or sent anywhere, and there is no API key, no external service and no per-try-on cost.

Smart Mirror turns any eyewear product page in your Odoo shop into a live AR fitting room. Instead of guessing from a flat photo, a shopper clicks Try On, their webcam opens, and your 3D frame appears on their face and follows their head as they turn and tilt, so they can see how the glasses actually look before they add them to the cart.

What it does

You enable Virtual Try-On on an eyewear product, upload a .glb 3D model of the frame and enter its real width in millimetres, and the storefront adds a Try On button to that product page. When a shopper clicks it their webcam opens and the frame renders on their face in real time, tracking head movement and sizing itself true to life from the width you set. All of the face tracking and 3D rendering run on the shopper's own device inside the browser, so no photo, video or face data is ever uploaded, stored or transmitted to your server or any third party. A depth occluder hides the temple arms behind the head so the glasses sit naturally rather than floating in front of the face, and if the camera is blocked or unavailable the overlay shows a clean message instead of breaking the page.

Key features

  • Real-time AR try-on that renders your 3D glasses on the shopper's face through their webcam and tracks head movement
  • Runs entirely on the shopper's device, so no photo, video or face data is ever uploaded, stored or sent anywhere
  • One Try On button added to the eyewear product page in your website shop, with a graceful message when the camera is unavailable
  • Per-product 3D frames, upload a .glb model of each frame and set its real width in millimetres for true-to-life sizing
  • A depth occluder hides the temple arms behind the head so the frames sit naturally instead of floating
  • No API key, no external provider and no per-try-on cost, so it scales the same for one or a thousand shoppers
  • Privacy-friendly by design, nothing to store and nothing to send, so the try-on leaves no data trail
  • Runs on Odoo Community and Enterprise and depends only on website_sale

Who it's for

Any Odoo shop that sells eyeglasses or sunglasses and wants shoppers to buy with confidence instead of guessing from a product photo. Optical stores and eyewear brands get a fitting-room experience that lifts confidence and cuts the returns that come from frames looking different in person, and privacy-conscious merchants get all of it without collecting or storing a single face image, because the try-on never leaves the shopper's browser. If you run your eyewear catalogue on Odoo website_sale and have a .glb model for each frame, Smart Mirror gives your customers a real try-before-you-buy moment on every product page.

Frequently asked questions

What can shoppers try on with Smart Mirror in Odoo?

Eyeglasses and sunglasses. Every product you enable for Virtual Try-On shows a Try On button that opens the shopper's webcam and renders your 3D frame on their face in real time, tracking as they turn and tilt their head so they can judge the fit from any angle.

Does it upload the shopper's photo or video anywhere?

No. All of the face tracking and 3D rendering happen on the shopper's own device inside the browser. No image, photo, video or face measurement is ever uploaded, stored or sent to any server, yours or a third party's, so the feature leaves no personal-data trail.

What do I set up per product?

On the product's Virtual Try-On tab you enable Virtual Try-On, upload a .glb 3D model of the frame and enter the real frame width in millimetres, the number stamped inside the temple such as 140. The width makes the frame render at true-to-life size on every shopper's face.

Does it need an API key or a paid external service?

No. There is no external service, no API key and no per-try-on cost. Everything runs in the shopper's browser, so it behaves the same whether one shopper or a thousand are trying on at the same time, and your running costs do not change.

Where do I get the 3D frame models?

You supply a .glb model for each frame. That is the standard 3D format exported by Blender and most 3D tools, and many eyewear suppliers can provide one. You upload it directly on the product's Virtual Try-On tab, one model per frame.

Which Odoo versions and editions does Smart Mirror support?

Use the version selector on the Odoo Apps Store listing to pick your Odoo release. Smart Mirror runs on both Community and Enterprise and depends only on website_sale, with no extra apps or paid services required.

Want this in your Odoo?

See the full feature list and screenshots, or talk to our certified Odoo team about setup and customization.

Odoo Community vs Enterprise (2026): Which Should You Choose?
A practical, up-to-date comparison of the free and paid Odoo editions, and how to decide.