Portrait Eyeglasses and Shadow Removal by Leveraging 3D Synthetic Data
Junfeng Lyu, Zhibo Wang, Feng Xu
Abstract
In portraits, eyeglasses may occlude facial regions and generate cast shadows on faces, which degrades the performance of many techniques like face verification and expression recognition. Portrait eyeglasses removal is critical in handling these problems. However, completely removing the eyeglasses is challenging because the lighting effects (e.g., cast shadows) caused by them are often complex. In this paper, we propose a novel framework to remove eyeglasses as well as their cast shadows from face images. The method works in a detect-then-remove manner, in which eyeglasses and cast shadows are both detected and then removed from images. Due to the lack of paired data for supervised training, we present a new synthetic portrait dataset with both intermediate and final supervisions for both the detection and removal tasks. Furthermore, we apply a cross-domain technique to fill the gap between the synthetic and real data. To the best of our knowledge, the proposed technique is the first to remove eyeglasses and their cast shadows simultaneously. The code and synthetic dataset are available at https://github.com/ StoryMY/take-off-eyeglasses.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext e71bc497-c6f3-45b9-a4d1-de645cb7168fCited by top-tier papers3
- SDDNet: Style-guided Dual-layer Disentanglement Network for Shadow DetectionRunmin Cong, Yuchen Guan, Jinpeng Chen, Wei Zhang et al.ACM MM 2023 · 15 citations
- Structure-Guided Diffusion Models for High-Fidelity Portrait Shadow RemovalWanchang Yu, Qing Zhang, Rongjia Zheng, Wei-Shi ZhengICCV 2025 · 1 citation
- Diff-SemiER: Transparency-Aware Adaptive Fusion Diffusion Model with Generative Prior for Semi-Transparent Eyeglasses RemovalJiahao Li, Shiqi Yin, Zhenxiang Lian, Jingtao GuoCVPR 2026
Builds on7
- RelGAN: Multi-Domain Image-to-Image Translation via Relative AttributesYu-Jing Lin, Po-Wei Wu, Che-Han Chang, Edward Y. Chang et al.ICCV 2019 · 158 citations
- StyleRig: Rigging StyleGAN for 3D Control Over Portrait ImagesAyush Tewari, Mohamed A. Elgharib, Gaurav Bharaj, Florian Bernard et al.CVPR 2020
- FDA: Fourier Domain Adaptation for Semantic SegmentationYanchao Yang, Stefano SoattoCVPR 2020
- StarGAN v2: Diverse Image Synthesis for Multiple DomainsYunjey Choi, Youngjung Uh, Jaejun Yoo, Jung-Woo HaCVPR 2020
- Disentangled and Controllable Face Image Generation via 3D Imitative-Contrastive LearningYu Deng, Jiaolong Yang, Dong Chen, Fang Wen et al.CVPR 2020
Related papers
- MEGANE: Morphable Eyeglass and Avatar NetworkJunxuan Li, Shunsuke Saito, Tomas Simon, Stephen Lombardi et al.CVPR 2023
- Unsupervised Portrait Shadow Removal via Generative PriorsYingqing He, Yazhou Xing, Tianjia Zhang, Qifeng ChenACM MM 2021 · 26 citations
- Multimodal Asymmetric Dual Learning for Unsupervised Eyeglasses RemovalQing Lin, Bo Yan, Weimin TanACM MM 2021 · 2 citations
- A Multi-Task Network for Joint Specular Highlight Detection and RemovalGang Fu, Qing Zhang, Lei Zhu, Ping Li et al.CVPR 2021
- OmniSR: Shadow Removal Under Direct and Indirect LightingJiamin Xu, Zelong Li, Yuxin Zheng, Chenyu Huang et al.AAAI 2025 · 18 citations
