OpenCV-: Creating, Swapping, and Combining Images

OpenCV-: Creating, Swapping, and Combining Images

In today's blog, I will create my own image using OpenCV and after that, I also show you how to swap anything between two images, for now, I am swapping the faces of two persons and also combining them together .

Create your own image

Here is our Jupyter Notebook Code-

image.png

Code

image.png

Output-

image.png

Swap some parts of the two photos and then combine them side to side.

Here is our Jupyter Notebook Code-

image.png

Output-:

image.png

Github Link- github.com/Sahil-107/swapping-faces-using-o..