Face replacement method, device and electronic equipment
A face replacement and face expression technology, applied in the field of image processing, can solve the problem of unrealistic results, and achieve the effect of avoiding rendering results
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
no. 1 example
[0033] Please refer to figure 2 , figure 2 A flowchart of a face replacement method provided by an embodiment of the present invention is shown. The face replacement method includes the following steps:
[0034] Step S101, acquiring a target frame image of the original video, wherein the target frame image is any frame image of the original video.
[0035] In the embodiment of the present invention, the face replacement method can implement face replacement for specified actors in videos (such as TV dramas, movies, short films, etc.), and can also implement face replacement for specified characters in pictures. As an implementation manner, the original video may be, but not limited to, a TV series, movie, short film and other videos containing specified actors.
[0036] Step S102, in the target frame image, determine the head area of the first person.
[0037] In the embodiment of the present invention, the first person is a person to be replaced for face replacement, ...
Embodiment approach
[0049] In the embodiment of the present invention, the method for matching the head area of the rendered image with the head area of the first person in the target frame image may be: first, detecting feature points of the head area of the rendered image; second, detecting The feature points of the head area of the first person in the target frame image; third, carry out affine transformation on the feature points obtained in the previous two steps, so as to combine the head area of the rendered image with the head area of the first person in the target frame image Fourthly, Gaussian smoothing is performed on the head area of the rendered image according to the head area of the first person in the previous frame / next frame image of the target frame image to obtain the first image. As an implementation manner, the feature points may include feature points of the edge contour of a human face and feature points of facial features of a person.
[0050] Please refer...
no. 2 example
[0074] Please refer to Figure 7 , Figure 7 A schematic block diagram of the face replacement device 200 provided by the embodiment of the present invention is shown. The face replacement device 200 includes a target frame image acquisition module 201 , an area determination module 202 , a background restoration module 203 , a first image acquisition module 204 , an expression tracking module 205 and a second image acquisition module 206 .
[0075] The target frame image acquisition module 201 is configured to acquire a target frame image of the original video, wherein the target frame image is any frame image of the original video.
[0076] In the embodiment of the present invention, the target frame image acquisition module 201 may be used to execute step S101.
[0077] The area determination module 202 is configured to determine the head area of the first person in the target frame image.
[0078] In the embodiment of the present invention, the area determination modu...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com