Working on OpenCV-Python using CV2 Module

ABHISHEK KUMAR GUPTA
2 min readJun 12, 2021

--

Task Description:

📌 Create image by yourself Using Python Code

📌 Take 2 image crop some part of both image and swap it.

📌 Take 2 image and combine it to form single image. For example collage

About computer vision:

Computer vision is an interdisciplinary scientific field that deals with how computers can gain high-level understanding from digital images or videos. From the perspective of engineering, it seeks to understand and automate tasks that the human visual system can do.

OpenCV-Python is a library of Python bindings designed to solve computer vision problems.

cv2.imread() method loads an image from the specified file. If the image cannot be read (because of missing file, improper permissions, unsupported or invalid format) then this method returns an empty matrix.

github link: https://github.com/cyberworrier/open-cv-project

Creating an Image by Using Python Code!!

task 4.1

Now, image crop some part of both image and swap it.

task 4.2

At last, Combining 2 images

task 4.3

--

--

No responses yet