Skip to content

altruistcoder/Open-CV-Implementations

Repository files navigation

Open-CV-Implementations

This is a repository of code files which can be used to perform some basic tasks & operations using OpenCV.

Programs

  • Loading & Displaying Images:

    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.

  • Image Arithmetic:

    Python Code to perform arithmetic operations such as addition & subtraction on an image using OpenCV.

  • Bitwise Operations on Images:

    Python Code to perform Bitwise operations like AND, OR, XOR and Not operations on an image using OpenCV.

  • Masking on Images:

    Python Code to perform Masking on an image using OpenCV.

  • ColorSpaces:

    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.

  • Histograms:

    Python Code to display Histograms and perform Histogram Equalization using OpenCV.

  • Blurring of Images:

    Python Code to perform different types of blurring such as Average, Gaussian, Median and Bilateral blurring on an image using OpenCV.

  • Thresholding:

    Python Code to perform different types of thresholding such as Simple, Inverse and Adaptive Thresholding on an image using OpenCV.

  • Gradients and Edge Detection:

    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.

  • Contours:

    Python Code to find & draw Contours present in an image using OpenCV.

  • Recording and Saving Videos:

    Python Code to record and save videos with different types of extensions and video quality using OpenCV.

  • Adding Text to Videos:

    Python Code to draw text on a video using OpenCV.

  • Face and Eye Detection:

    Python Code to detect faces and eyes present in a video using OpenCV.

  • Recording Timelapse Video:

    Python Code to take a Timelapse Video using OpenCV.

  • Glasses & Moustache on Face:

    Python Code to put Glasses on Eyes and Moustache on Face detected using OpenCV.