Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

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.

Inactive Publication Date: 2017-04-26
TENCENT TECH (SHENZHEN) CO LTD
View PDF3 Cites 60 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] The current face replacement technology simply cuts out the target face and embeds it in the position of the replaced face in the image. The replacement effect is relatively blunt. Usually, there will be facial features such as the expression and posture of the target person after replacement and the image background. The problem of incompatibility, this replacement technology is obviously unable to meet the needs of users

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Face replacement method and device
  • Face replacement method and device
  • Face replacement method and device

Examples

Experimental program
Comparison scheme
Effect test

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...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The present invention discloses a face replacement method and device. The face replacement method includes the following steps that: the face characteristic parameters of a first person are extracted from an image to be processed; the original face image of a second person is selected; a face model is constructed for the second person according to the original face image of the second person; and the face characteristic parameters of the first person are fitted into the face model of the second person, so that the target face image of the second person is obtained; and the face image of the first person in the image to be processed is replaced with the target face image of the second person. With the face replacement method and device provided by the embodiments of the present invention adopted, a problem that a replacement target person is not matched with an original image can be solved, and therefore, a replacement effect can be enhanced.

Description

technical field [0001] Embodiments of the present invention relate to the field of image processing, and in particular to a face replacement method and device. Background technique [0002] The current face replacement technology simply cuts out the target face and embeds it in the position of the replaced face in the image. The replacement effect is relatively blunt. Usually, there will be facial features such as the expression and posture of the target person after replacement and the image background. The problem of not matching, this replacement technology obviously cannot meet the needs of users. Contents of the invention [0003] In view of this, the embodiments of the present invention provide a face replacement method and device, which can avoid the problem that the replaced target person does not match the original image, and improve the replacement effect. [0004] The human face replacement method provided by the embodiment of the present invention includes: ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06K9/00
CPCG06V40/169
Inventor 曾佩玲
Owner TENCENT TECH (SHENZHEN) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products