Just Look into the Camera: AI Allows You to Try on Glasses Without Visiting an Optician

November 25, 2025

Imagine that to try on glasses, all you need to do is look into your phone’s camera. The system recognises your face, determines its scale, “removes” the glasses you are currently wearing, measures all the necessary parameters and instantly recommends frames and lenses that fit you perfectly. This is not a distant future but the direction in which artificial intelligence and 3D technologies are rapidly progressing, transforming our shopping habits.

Virtual try-on technology for eyewear, which became popular during the pandemic, is now an integral part of modern optical retail. Global brands such as Mister Spex already use it, and its developers – for example, Fittingbox – claim that virtual try-ons can triple sales.

Still, even if you find frames you like in an online shop, one question often remains: will the size actually fit?

“The accuracy of virtual frame fitting completely depends on correct scale estimation,” explains Dr Artūras Serackis, a researcher involved in the SustAInLivWork project that is establishing the Artificial Intelligence Competence Centre, and a professor at Vilnius Gediminas Technical University. “For the frames to appear precisely positioned on the face in a virtual environment, the system must know not only the scale of the glasses but also the scale of the person’s face in the image. This is one of the most complex technological challenges.”

According to him, the same issue arises when trying to accurately measure parameters such as pupillary distance from a photo. In such cases, a reference object with known dimensions is required.

“For instance, Fittingbox uses standard-sized bank cards. The user briefly places a card next to their face, and the system determines the scale based on it. But is this practical today, when most payments are made via smartphone and many people do not carry physical cards anymore?” notes the researcher.

Trying on Glasses Without Removing Your Own

Dr Serackis and his colleagues are currently focusing on advanced facial-analysis technologies capable of automatically assessing image quality, facial orientation and measurement accuracy.

“For example, it is crucial that the face in the photo is parallel to the camera axis – otherwise measurement errors can increase significantly,” he stresses. AI models identify key facial points and analyse their positions to determine the exact head orientation.

Although many AI models can recognise up to 468 facial landmarks, the number alone does not guarantee accurate measurements. High-precision results require highly reliable methods, including assessment of lighting direction, type and intensity, as well as other factors that influence image quality.

“Consider a situation where someone wants to try on glasses while already wearing a pair – which likely happens in over 98 percent of cases. It is far more convenient to use the service without taking off your own glasses. In such cases, we need another class of AI models that can detect glasses and ‘remove’ them from the image,” explains Dr Serackis.

Generative AI can remove glasses from a photo, but this introduces the risk of distortions, reducing measurement accuracy. This challenge has sparked a new research direction, requiring advanced computing infrastructure and specialised AI training servers.

The Biggest Challenge: Cost of Preparing 3D Models

Once the system accurately estimates scale, extracts the necessary facial parameters and “removes” existing glasses, the next step is virtual try-on of different frames – including size adjustment. This requires a 3D model of each frame design.

“Eyewear manufacturers do not publish their 3D models, so obtaining them directly is impossible. To have a 3D model, we must create it ourselves: either by manually modelling it in specialised software, which is time-consuming and requires skilled specialists, or by physically scanning the frame and post-processing the model. The third option is to use AI models capable of generating 3D frame models automatically based on product images from online shops,” he says.

The main challenge here is the cost of producing 3D models. Frame collections are updated at least twice a year, and hundreds of new designs appear annually. If each model had to be created manually, virtual try-on services would become financially impractical or offer only a limited selection.
“At first glance, there seem to be plenty of 3D scanning solutions available, but in practice they have significant limitations. High-resolution scanners designed for jewellery capture too small an area – glasses simply don’t fit. Meanwhile, handheld scanners designed for larger objects struggle to reproduce thin frame elements accurately,” explains the SustAInLivWork researcher.

Towards a Next-Generation Measurement System

According to Dr Serackis, the arrival of NVIDIA technologies such as NeRF and later advanced alternatives like One-2-3-45++ has allowed AI to predict the full shape of an object from a single image and generate 3D models. However, for eyewear, such models are not yet specialised enough – they often produce asymmetries or distorted proportions. Moreover, most are not designed to work with multiple images, though this capability is essential in this field.

“That’s why we are developing alternative, original methods: step by step we analyse the classical 3D modelling process and look for ways to automate each stage using AI. Although we have not yet reached a breakthrough, we are working with leading AI and computer-vision experts in Lithuania – within the SustAInLivWork centre and partner institutions at Vilnius Gediminas Technical University. With powerful computing resources for AI training, we are confident that in the coming years we will develop a highly advanced solution for working with eyewear frames,” he says.

SustAInLivWork is the first competence centre of its kind in Lithuania, systematically consolidating knowledge and skills in AI. It brings together four leading Lithuanian universities – Kaunas University of TechnologyVytautas Magnus UniversityLithuanian University of Health Sciences, and Vilnius Gediminas Technical University – in partnership with Tampere University (Finland) and Hamburg University of Technology (Germany).

It is a long-term, cross-sectoral platform connecting science, business, the public sector, and society.
The SustAInLivWork project is funded by the Horizon Europe programme (No. 101059903) and by the European Union funds for 2021–2027 (Project No. 10-042-P-0001).

Related news

New VILNIUS TECH eBook
New VILNIUS TECH eBook
Nauja VILNIUS TECH elektroninė knyga: Kristina Stankevičiūtė, Jūratė Černevičiūtė, Stasys Mostauskis, Liutauras Labanauskas, Marius Salynas Reflecting Popular Culture: Theories and Research (Reflektuojant popkultūrą: teorijos ir tyrimai)Collected Monograph The book is written in Lithuanian This book is the first volume of the planned five-volume monograph series Popular Culture in Lithuania. Its principal aim is to examine the understanding of the phenomenon of popular culture and the nature of its perception as they are relevant in the Lithuanian context, thereby establishing a theoretical foundation for the further analysis of the field of popular culture, which is intended to be presented in the subsequent volumes of the series. The overall objective of the monograph series is to chart the field of popular culture in Lithuania and to survey its current situation, assessing both its historical development and possible prospects for future research. The first volume presents theoretical discussions outlining the concept of popular culture as a phenomenon, its philosophical, aesthetic, and industrial characteristics, and its history of emergence. These discussions are grounded in the traditional conception of popular culture as standing in opposition to serious or high culture. Taken together, the contributions may be broadly described as belonging to a field of academic research oriented toward the theoretical reflection on popular culture. The volume is intended for researchers and students in the field of cultural studies, as well as for all those interested in processes within the cultural sphere. eBook edition >>> * VILNIUS TECH extends complimentary access to its entire library of e-books to members within the university community. Institutional users are granted cost-free access to the e-books by logging onto the University's computer network, whether on-site or remotely through a Virtual Private Network (VPN). To facilitate offline reading without an internet connection, it is requisite to install the IPC Reader offline application. Users can subsequently download the desired e-books while connected to the institutional network and read them offline at their convenience. For additional details concerning e-books, please refer to the provided link >>>
More
New doctoral dissertation
New doctoral dissertation
VILNIUS TECH Library invites you to follow the published new dissertations. The dissertation „A framework for assessing food loss and waste along the food supply chain: the case of Lithuania“ prepared at VILNIUS TECH by Ovidija Eičaitė. The dissertation was prepared in 2025–2026. Scientific consultant – Dr Tomas Baležentis. The dissertation was defended at the public meeting of the Dissertation Defence Council of the Scientific Field of Economics in the Aula Doctoralis Meeting Hall of Vilnius Gediminas Technical University at 10 a.m. on 11 June 2026. Food loss and waste (FLW) represents a global challenge with serious environmental, economic, and social implications. It contributes to inefficient use of resources, increased greenhouse gas emissions, and financial losses across the food supply chain (FSC), while also undermining efforts to achieve food security. To address this issue, the United Nations (UN) set Sustainable Development Goal 12.3, which aims to halve food waste at the retail and consumer level by 2030 and reduce food loss in production and supply chains. Achieving this goal requires a comprehensive assessment of FLW and systematic data collection across all stages of the FSC. This dissertation develops and applies a framework for assessing FLW across the key stages of the Lithuanian FSC. The framework clearly defines FLW, determines the scope of the assessment, and establishes a methodological approach for measuring and analysing FLW based on primary data collection using questionnaire-based surveys in primary production, the food industry, and retail trade, as well as food waste diaries in households. The application of the developed framework delivers the first comprehensive FLW estimates for primary production, the food industry, and households in Lithuania, while also providing more precise food waste estimates for retail trade than previously available. The results show that estimates of food loss in primary production vary substantially across products, ranging from 0.1% for milk to 20.1% for beets. Environmental factors and stringent consumer or buyer standards are the main contributors to crop losses, while diseases represent the main cause of livestock losses. The food industry generates an estimated 10.9 thousand tonnes of edible food loss annually, corresponding to approximately 4 kg per capita, mainly due to inefficiencies in processing operations and product non-compliance with commercial standards. Retail trade generates 36.4 thousand tonnes of food waste each year, equivalent to about 13 kg per capita, largely driven by product expiration and spoilage. Household food waste averages 74.5 kg of edible food per capita per year, with common causes including spoilage, over-preparation, and over-serving. The estimates generated in this research establish a baseline for FLW across the key stages of the Lithuanian FSC, enabling monitoring of changes and supporting more refined and comparable assessments over time. They also provide an empirical basis for formulating and evaluating measures aimed at reducing FLW. Doctoral dissertation readers can search via VILNIUS TECH Virtual Library.
More