Face replacement method and device
A technology for face replacement and target face, which is applied in the field of face replacement methods and devices, and can solve the problems of incompatibility between facial feature images and backgrounds, inability to satisfy users, and blunt replacement effect.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0027] Such as figure 2 As shown, the method of the present embodiment includes the following steps:
[0028] Step 201, extracting facial feature parameters of the first person from the image to be processed;
[0029] In specific implementation, the method of this embodiment can implement face replacement for specified characters in videos (such as TV dramas, movies, short films, etc.), and can also implement face replacement for specified characters in pictures.
[0030] When it is necessary to replace the face of the specified person in the video, a series of images can be intercepted from the video containing the specified person (ie, the first person) according to preset rules to obtain the image to be processed. The preset rule refers to the image interception rule, for example, a preset number of images containing a specified person is intercepted from the video every second, and the preset number can take any value between 1 and 25, for example. And when it is necess...
Embodiment 2
[0046] The method described in Embodiment 1, this embodiment will give an example for further detailed description, and this embodiment will take the replacement of a specified character in the video as an example for illustration, as follows image 3 As shown, the method of the present embodiment includes:
[0047] Step 301, according to preset rules, intercept the image to be processed from the video containing the first person;
[0048] The first character mentioned in this embodiment refers to the replaced character. The preset rule refers to the image interception rule, for example, a preset number of images containing the first person is intercepted from the video every second, and the preset number can take any value between 1 and 25, that is, the intercepted images are a series of , the series of images can be marked (for example, can be identified by interception time, serial number, etc.), and the series of images are the images to be processed.
[0049] Step 302, ...
Embodiment 3
[0065] In order to better implement the above method, the embodiment of the present invention also provides a human face replacement device, such as Figure 4 As shown, the device of this embodiment includes: an extraction unit 401, a selection unit 402, a modeling unit 403, a fitting unit 404 and a processing unit 405, as follows:
[0066] (1) extraction unit 401;
[0067] The extraction unit 401 is configured to extract facial feature parameters of the first person from the image to be processed.
[0068] In specific implementation, the method of this embodiment can implement face replacement for specified characters in videos (such as TV dramas, movies, short films, etc.), and can also implement face replacement for specified characters in pictures.
[0069] When it is necessary to replace the face of the specified person in the video, the device of this embodiment may also include an intercepting unit, which is used to intercept a video containing the specified person (ie...
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