电子科技 ›› 2021, Vol. 34 ›› Issue (9): 58-65.doi: 10.16180/j.cnki.issn1007-7820.2021.09.011

• • 上一篇    下一篇

基于人脸姿态估计的多角度虚拟眼镜试戴技术

刘轩,付东翔   

  1. 上海理工大学 光电信息与计算机工程学院,上海 200093
  • 收稿日期:2020-05-28 出版日期:2021-09-15 发布日期:2021-09-08
  • 作者简介:刘轩(1995-),男,硕士研究生。研究方向:数字图像处理。|付东翔(1971-),男,博士,副教授。研究方向:计算机图形学、数字图像处理与模式识别。
  • 基金资助:
    国家自然科学基金(61605114);国家自然科学基金(61703277)

Multi-Angle Virtual Glasses Trial Technology Based on Face Attitude Estimation

LIU Xuan,FU Dongxiang   

  1. School of Optical-Electrical and Computer Engineering,University of Shanghai for Science and Technology,Shanghai 200093,China
  • Received:2020-05-28 Online:2021-09-15 Published:2021-09-08
  • Supported by:
    National Natural Science Foundation of China(61605114);National Natural Science Foundation of China(61703277)

摘要:

虚拟眼镜试戴手动操作占比高、试戴角度单一、试戴效果失真,所以试戴技术商用率较低。针对这些问题,文中提出了一种基于人脸特征检测与头部空间姿态估计相结合的虚拟试戴技术,并实现了一套虚拟眼镜试戴系统。通过摄像头采集头部实时视频,并按帧分析,采用ERT级联回归定位面部特征点。根据面部特征点位置信息和头部旋转信息将透视变换后的眼镜图像准确融合到对应角度的人脸图像中。在 AFLW人脸数据库上对三维实时姿态估计进行了量化评估,±60°内角度误差约为8.8°。结果表明,该算法精度高且速度快,在角度变化频繁、外界光线强弱变化大、背景干扰物较多的复杂情况下仍能快速准确地实现三维多角度虚拟试戴,效果逼真自然,基本满足虚拟试戴技术的要求。

关键词: 头部实时姿态估计, 动态定位, 人脸特征点定位, 欧拉角, 透视变换, 图像合成, 多角度虚拟试戴, ERT, 三维空间

Abstract:

In view of the problems that current high proportion of manual operations for virtual glasses try-on, single try-on angle, distorted try-on effect, and low commercial rate of try-on technology, a virtual try based on the combination of facial feature detection and head space pose estimation is proposed, and a virtual glasses try-on system is implemented. The real-time videos of the head are collected through the camera and analyzed by frame, and ERT cascade regression is used to locate facial feature points. According to the position information of the facial feature points and the head rotation information, the perspective-transformed eyeglass image is accurately integrated into the face image at the corresponding angle. The 3D real-time pose estimation is quantitatively evaluated on the AFLW face database, and the angle error within ±60° is about 8.8°. The results show that the algorithm has high precision and fast speed, and can quickly and accurately realize 3D multi-angle virtual try-on in complex situations with frequent angle changes, large changes in external light intensity, and many background interferences.The effect obtained by the algorithm is realistic and natural, and basically meets the requirements of virtual try-on technology.

Key words: real-time head attitude estimation, dynamic positioning, face feature point location, Euler angle, perspective transformation, image synthesis, multi-angle virtual trial, ERT, three-dimensional space

中图分类号: 

  • TP391