Welcome to Journal of Graphics share: 

Journal of Graphics ›› 2023, Vol. 44 ›› Issue (5): 988-996.DOI: 10.11996/JG.j.2095-302X.2023050988

• Computer Graphics and Virtual Reality • Previous Articles     Next Articles

Virtual glasses try-on using a depth camera

WANG Ke-xin(), JIN Ying-han, ZHANG Dong-liang()   

  1. College of Computer Science and Technology, Zhejiang University, Hangzhou Zhejiang, 310000
  • Received:2023-03-21 Accepted:2023-07-06 Online:2023-10-31 Published:2023-10-31
  • Contact: ZHANG Dong-liang (1971-), professor, Ph.D. His main research interests cover computer-aided design, computer graphics and interactive design, etc. E-mail:dzhang@zju.edu.cn
  • About author:WANG Ke-xin (1998-), master student. Her main research interest covers computer graphics. E-mail:22021133@zju.edu.cn
  • Supported by:
    National Key Research and Development Program of China(2022YFB3303100);National Natural Science Foundation of China(61972340)

Abstract:

Online shopping has significantly enhanced people’s lives. However, the challenge for consumers when purchasing glasses online arises from the lack of opportunity to physically try on glasses and directly visualize the results of the try-on, a convenience readily available in physical stores. To tackle this issue, this paper proposed a method for virtual glasses try-ons using depth cameras. The method comprised two phases: ① 3D face model reconstruction: This phase utilized the multi-angle face point cloud collected by the depth camera. It involved a two-step process for point clouds registration. First, a coarse registration was performed using feature point clouds. Next, the overlapping parts of the point clouds were extracted for fine registration, ultimately yielding a 3D face model from the registered point cloud. ② Glasses try-on: In this phase, the face model and the glasses model were automatically aligned. The model was then transformed in response to the real-time facial pose parameters estimated based on the video stream. Afterward, the models were rendered, and the glasses model was fused into the video stream, following the occlusion culling procedure, resulting in a realistic virtual glasses try-on effect. Experimental results validated the algorithm’s excellent real-time performance and its ability to provide users with an immersive try-on experience.

Key words: depth camera, point cloud registration, face reconstruction, virtual glasses, online shopping

CLC Number: