电子科技 ›› 2022, Vol. 35 ›› Issue (9): 52-57.doi: 10.16180/j.cnki.issn1007-7820.2022.09.008

• • 上一篇    下一篇

基于三维镜框建模的眼镜虚拟试戴系统

章锌栋,付东翔   

  1. 上海理工大学 光电信息与计算机工程学院,上海 200093
  • 收稿日期:2021-03-26 出版日期:2022-09-15 发布日期:2022-09-15
  • 作者简介:章锌栋(1996-),男,硕士研究生。研究方向:数字图像处理。|付东翔(1971-),男,博士,副教授。研究方向:计算机图形学、光电测试。
  • 基金资助:
    国家自然科学基金(61605114);国家自然科学基金(61703277)

Glasses Virtual Try-on System Based on 3D Frame Modeling

ZHANG Xindong,FU Dongxiang   

  1. School of Optical-Electrical and Computer Engineering,University of Shanghai forScience and Technology,Shanghai 200093,China
  • Received:2021-03-26 Online:2022-09-15 Published:2022-09-15
  • Supported by:
    National Natural Science Foundation of China(61605114);National Natural Science Foundation of China(61703277)

摘要:

在虚拟试戴系统中,虚拟眼镜需要精确地叠加到人脸图像上,这决定了虚拟试戴系统的体验感,其中的关键技术在于构建真实的眼镜模型以及快速准确地估计图像中人脸的三维空间姿态。针对该要求,文中提出了将三维镜框建模与基于人脸特征检测的头部空间姿态估计相结合的虚拟试戴技术,并实现了一个虚拟试戴系统。首先采用ERT级联回归定位人脸图像面部特征点;然后通过VTK可视化工具构建三维镜框,根据人脸特征点的信息和头部的旋转信息将处理后的镜框图像准确融合到人脸图像上;最后使用AFLW人脸数据库检验姿态估计的精确度。结果表明,该算法精度高、速度快,其在大角度、背景干扰物较多、光线条件差等复杂情况下仍能快速准确地实现三维多角度虚拟试戴,效果自然逼真,基本满足虚拟试戴技术的要求。

关键词: 人脸特征检点, 姿态估计, 欧拉角, 三维镜框建模, ERT级联回归, VTK可视化工具, 消隐处理, 图像合成, 多角度虚拟试戴

Abstract:

In the virtual try-on system, virtual glasses need to be superimposed on the face image accurately, which determines the experience of the virtual try-on system. The key technology is to construct a real glasses model and quickly and accurately estimate the 3D face pose of the image. In response to this technical requirement, a virtual try-on technology combining 3D mirror frame modeling and head space pose estimation based on facial feature detection is proposed and a virtual try-on system is implemented. First, the method uses ERT cascade regression to locate the facial feature points of the face images. Then, the VTK visualization tool is adopted to construct a 3D mirror frame, and the processed mirror frame image is accurately fused to the face image according to the information of the face feature points and the rotation information of the head. Finally, the accuracy of the pose estimation method is tested using the AFLW data set. The results show that the algorithm has high precision and fast speed. It can still quickly and accurately realize three-dimensional and multi-angle virtual try-on under complicated conditions of large angles, many background interferences and poor light conditions, which basically meets the requirements of virtual try-on technology.

Key words: face feature points, pose estimation, Euler angle, 3D mirror frame modeling, ERT cascade regression, VTK visualization tool, blanking, images synthesis, multi-angle virtual trial

中图分类号: 

  • TP391
Baidu
map