close

Source Image: img1

image

Target Image: img2

image

Mask Image

image

img1Warped, which Copies source image to target image with mask directly.

Obviously, the img1Warped does not perform very well.

image

CvInvoke.SeamlessClone(img1Warped, img2, mask, center, output, Emgu.CV.CvEnum.CloningMethod.Normal);

SeamlessClone(IInputArray src, IInputArray dst, IInputArray mask, Point p, IOutputArray blend, CloningMethod flags);

image

 

Reference:

1. Face Swap using OpenCV ( C++ / Python )

arrow
arrow
    全站熱搜
    創作者介紹
    創作者 me1237guy 的頭像
    me1237guy

    天天向上

    me1237guy 發表在 痞客邦 留言(0) 人氣()