Tencent Technology (Shenzhen) Co., Ltd. applied for a patent for “method and device for replacing faces in videos to be played”.
The present disclosure provides a face replacement method and device in a video to be played. The method includes: identifying the first human face from the decoded frame data of the video to be played; taking the key points of the identified first human face as vertices, performing three-dimensional modeling to obtain a three-dimensional model, and making the vertices of the three-dimensional model The coordinates are synchronized with the key point coordinates of the first human face in the video to be played; the second human face is obtained; and the obtained second human face is used as a texture and applied to the three-dimensional model.
The present disclosure provides a technology for replacing a human face in a video with another person’s face, which can restore features such as orientation and expression of the human face in the video.
It is learned from the State Intellectual Property Office that in 2016, Tencent applied for a patent titled “A Method and Device for Face Replacement”, which can avoid the problem that the target person after replacement does not match the original image, and improve the replacement effect , is currently in a rejected state.