This is a repository of code files which can be used to perform some basic tasks & operations using OpenCV.
-
Python Code to load and display an image using OpenCV.
-
Changing Resolution & Rescaling of Frame of an Image :
Python Code to change Resolution of an Image and Rescaling of Frame of an Image.
-
Drawing Geometric Figures on Images:
Python Code to draw geometric figures like lines, rectangles, circles and concentric circles on an image using OpenCV.
-
Geometric Transformations on Images:
Python Code to perform Geometric Transformations like Image Translation, Rotation, Resizing, Flipping and Cropping of an image using OpenCV.
-
Python Code to perform arithmetic operations such as addition & subtraction on an image using OpenCV.
-
Python Code to perform Bitwise operations like AND, OR, XOR and Not operations on an image using OpenCV.
-
Python Code to perform Masking on an image using OpenCV.
-
Python Code to perform different operations on color spaces of an image such as splitting & merging the channels (or colorspaces) of an image and converting the images to different colorspaces using OpenCV.
-
Python Code to display Histograms and perform Histogram Equalization using OpenCV.
-
Python Code to perform different types of blurring such as Average, Gaussian, Median and Bilateral blurring on an image using OpenCV.
-
Python Code to perform different types of thresholding such as Simple, Inverse and Adaptive Thresholding on an image using OpenCV.
-
Python Code to find Gradients of an image using Laplacian and Sobel method and also to perform Canny Edge Detection on an image using OpenCV.
-
Python Code to find & draw Contours present in an image using OpenCV.
-
Python Code to record and save videos with different types of extensions and video quality using OpenCV.
-
Python Code to draw text on a video using OpenCV.
-
Python Code to detect faces and eyes present in a video using OpenCV.
-
Python Code to take a Timelapse Video using OpenCV.
-
Python Code to put Glasses on Eyes and Moustache on Face detected using OpenCV.