Using OpenCV-Python and Numpy Performing Operations on Images.

Akashkale
2 min readJun 21, 2021

--

What is OpenCV-Python?

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

Python is a general purpose programming language started by Guido van Rossum that became very popular very quickly, mainly because of its simplicity and code readability. It enables the programmer to express ideas in fewer lines of code without reducing readability.

OpenCV-Python makes use of Numpy, which is a highly optimized library for numerical operations with a MATLAB-style syntax. All the OpenCV array structures are converted to and from Numpy arrays.

Task 4

Task 4.1

Creating image using Python Code. Here we are using “numpy” and “opencv-python”

Task 4.2

Taking two images.

Crop both images. Colored images stored internally in 3D Array, do we can slice array to crop the image.

Swap crop image to another image.

Task 4.3

Taking two images and combining them in single image. Ex Collage.

--

--

Akashkale
Akashkale

No responses yet