Font Size: a A A

Design And Realization Of Virtual Eyeglasses Wearing System Based On OpenCV And OpenGL

Posted on:2018-04-12Degree:MasterType:Thesis
Country:ChinaCandidate:X H TanFull Text:PDF
GTID:2348330533466816Subject:Computer Science and Technology
Abstract/Summary:PDF Full Text Request
With the rapid development of network technology and e-commerce,online shopping has become an indispensable part of modern life,except for goods like clothing and glasses which needs to try on,their online shopping experience have been less than ideal,because of lacking real feeling,the return rate remains high.Virtual trial technology provides a method to solve the problem,so achieving more realistic virtual trial has important significance.In the glasses sales industry,making use of virtual trial technology to achive more realistic experience of wearing glasses has important significance on expanding the scope of sales,improving the efficiency of consumers to buy glasses and promoting the development of glasses sales industry.After finishing analyze the current situation of virtual eyewear trial,this paper studies how to improve the real experience of virtual trial,from the aspects of face detection,face feature point detection,face gesture estimation,rendering glasses model in real sence.Combined with the enhanced reality technology,with a regular notebook camera,in the absence of its calibration,we designed and realized the real-time multi-angle virtual eyewear trial system.This paper puts forward a method to simulate the depth occlusion in the virtual reality fusion,solved the glasses feet unture shown problem.using OPENGL illumination rendering technology reverts 3D glasses model,and achieve a real-time glasses trail.Through the test,the success rate on the ORL face database is 96.75%,and on the general picture is 85.6%.The system operates smooth,has a high accuracy on matching faces and light reflect effect.In addition,memory and cpu occupancy ranges reasonable.Using the method described in this article,you can use a normal notebook camera when you try out a virtual eyewear and omit the camera calibration procedure,reduced the using threshold of virtual trial system and equipment costs,it can be used in real sense if it be further improved in rendering.The main features of this paper are as follows: First,estimate the focal length according to image pixel size and pinhole camera imaging principle,in the case of non-calibration of the camera,and achieve the face posture estimation of single image and the accurate projection of 3D glasses model,therefore we achieved real-time multi-angle glasses trail,the test show the estimation method can meet the needs of virtual glasses trail.Second after finishing analyze the geometric relationship of 3D glasses model projection and human line of sight,we proposed a simple and effective method of visualizing the depth masking with OPENGL cropping plane,solved the glasses feet unreal shown problem.Thirdly,after finishing analyzing the structure of the 3D glasses model,we designed a normalization and loading method of universal glasses Model,broaden the flexibility of 3D glasses model design.
Keywords/Search Tags:virtual trial, face pose estimation, face feature point detection, OPENCV, OPENGL
PDF Full Text Request
Related items