Method and system for achieving makeup effect by LM algorithm
暂无分享,去创建一个
The invention discloses a method and a system for achieving a makeup effect by an LM (Levenberg-Marquardt) algorithm. According to the method, positioning points relevant to a face are obtained through terminal equipment; the obtained positioning points are subjected to classification packaging, the positioning points with the same type are packaged together, and a classification data packet is obtained; makeup texture data to be realized is obtained in the classification data packet, the packaging is performed again, and a texture data packet is obtained; a texture matrix is obtained from data in the texture data packet by a matrix solving method; the texture data packet and the texture matrix are subjected to refinement operation to obtain a precise matrix; the precise matrix is mapped onto an original image to obtain a makeup image; and the makeup image is displayed onto the terminal equipment. The method has the advantages that when the face is at a certain angle, an acceptable effect can be achieved; the positioning of the method is precise; and the makeup effect is good.
[1] Kah Phooi Seng,et al. Adaptive momentum Levenberg-Marquardt RBF for face recognition , 2012, 2012 IEEE International Conference on Circuits and Systems (ICCAS).