cv2
- 21 August
Convert image to grayscale in python
A grayscale image is an image that simply contains only the shades of gray and no other color. The main advantage of using a grayscale image over a colored image is that it brings down the computational requirements, increases the speed of processing, and makes a significant impact on the complexity of the algorithm. This […]
- 20 August
Rotate image in Python
Python supports the use of images and sometimes a given image needs to be rotated to a certain angle. The image in Python is rotated about the center and with a certain angle that is specified. Image Rotation is a geometric transformation, and this process can be carried out by Inverse or Forward Transformation. This […]
- 09 August
Python | Introduction and Installation of OpenCv
In this tutorial, we are learning about what is OpenCv and how OpenCV is installed in windows/linux system. Introduction Have you ever seen Facebook’s auto-tag feature? Whenever you add an image on Facebook, it consequently labels those who are there within the image. Ever considered how that occurred. It happens all as a result of […]
- 09 August
Python | cv2 imshow() Method
In this tutorial, we will see how to display an image as an output using python by the use of open-cv which is exist as cv2 (computer vision) library. We can use imshow() method of cv2 library to display an image in a window. In order to use cv2 library, we need to import cv2 […]
- 09 August
Python | cv2 imwrite() Method
In this tutorial, we will see how to save an image in your own system using python by using open-cv which exists as cv2 (computer vision) library. You can use imwrite() method of cv2 library to save an image on your system. To use cv2 library, you need to import cv2 library using import statement. […]
- 23 May
Python | cv2 findContours() Method
In this tutorial, we will see how to find all boundary points(x,y) of an object in the image using python open-cv, which exists as cv2 (computer vision) library. You can use findContours() method of cv2 library to find all boundary points(x,y) of an object in the image. To use cv2 library, you need to import […]
- 23 May
Python | cv2 threshold() Method
In this tutorial, we will see how to separate an object from the background in the image using python open-cv, which exists as cv2 (computer vision) library. You can use threshold() method of cv2 library to separate an object from the background in the image. To use cv2 library, you need to import cv2 library […]
- 23 May
Python | cv2 cvtColor() Method
In this tutorial, we will see how to change the color of an image from one color space to another using python open-cv, which exists as cv2 (computer vision) library. You can use cvtColor() method of cv2 library to convert the color of an image from one color space to another. To use cv2 library, […]
- 16 May
ModuleNotFoundError: No module named ‘cv2’ in Python
In this post, We will see how to resolve ModuleNotFoundError No module named 'cv2' in Python. Reason for No module named ‘cv2’ Let’s first reproduce this error, and then we will see how to resolve ModuleNotFoundError No module named 'cv2'. We will run cv2 imread example over here. [crayon-673f66ed1e966983627867/] When you run above program, you […]