Journal of System Simulation ›› 2018, Vol. 30 ›› Issue (11): 4195-4202.doi: 10.16182/j.issn1004731x.joss.201811018

Previous Articles     Next Articles

Application of Virtual Trial Makeup Based on Video

Liu Jiayuan1, Li Jinfang1, He Hanwu2   

  1. 1. School of Electromechanical Engineering, Guangdong University of Technology, Guangzhou 510006, China;
    2. Department of Mechanical Engineering, Guangdong College of Industry and Commerce, Guangzhou510510, China
  • Received:2018-06-21 Revised:2018-07-16 Published:2019-01-04
  • Supported by:
    National Natural Science Fund (61300106)

Abstract: To try different cosmetic products in a convenient and low cost way, a virtual make-up algorithm based on a plane mesh model is proposed. The feature points are extracted from the face in the video by the Harr cascade classifier and the Dlib library. A mask pattern is built on the different parts of the face dynamically according to the texture coordinates of the plane mesh model. Theory is used to control the display area of the main texture of the planar mesh model. The mapping relationship between the main texture and the feature point coordinates of the planar mesh model is established. To solve the influence of illumination on face detection and makeup effect, Improved Gamma correction is used to adjust the adaptability of different light levels in the face. This algorithm can give the cosmetic picture to the plane grid model, and map the face feature points in the video, so as to achieve the effect of the virtual trial makeup. It is verified by the application of the AR test makeup software. Compared with other image processing algorithms, the algorithm has better simplicity.

Key words: mesh model, feature extraction, gamma correction, coordinate mapping

CLC Number: