Browse Library

Computer vision: OpenCV Fundamentals using Python

Start your Deep Learning Computer Vision Endeavor with Strong OpenCV Basics in Python

Instructed by Abhilash Nelson

19 days left at this price!
$35 $150 77% off
Get single Course Access
It Includes
  • Get access to this course only
  • Lifetime Course Access
  • Play & Pause Videos
  • High Quality Recorded Lectures
  • Learn Online from Mobile/PC/Tablet
  • Download Course for Offline Viewing
  • Inlcudes Real Projects
  • Free Instructor Support
Want to Learn more? Get access to all marketplace courses starting at $19/mo
  • OpenCV Image Manipulation Fundamentals using Python. Also includes a Python basics refresher session.

Hi There!


Welcome to my new course OpenCV Fundamentals using Python. This is the first course from my Computer Vision series.


Lets see what are the interesting topics included in this course. At first we will have an overview about computer vision and the amazing OpenCV, the open-source computer vision library.


After that, we are ready to proceed with preparing our computer for installing OpenCV and later will proceed with installing OpenCV itself. Then we will try a one liner code to check if everything is working fine.


When I said this course is for complete beginners, I really mean it. Because even-if you are coming from a non-python background, the next few sessions and examples will help you get the basic python programming skill to proceed with the rest of the sessions. The topics include Python assignment, flow-control, functions and data structures.


Now we are all set to proceed with python computer vision exercises.  But before that we need to learn the theory of how a digital image is organized. Concept of pixels, color and grey scale channels, color codes etc.


Then we will write our first opencv program in which we will simply load and display an image from our computer and we will write a grey scale version of this image back to our computer itself.


As you already know the basic building block of a digital image is pixels, we will use the power of opencv to manipulate the individual pixels of an image and modify it.


Later in the next session, we will use a similar technique to select a collective area of pixels and manipulate it by trying to change color and also get the properties of the image.


Hope you know that there are 3 color channels in a color image and a single one in greyscale image. We will try to separate and extract those color channels and later try to merge them back to form the original image.


Color spaces, unlike the color channels, is the way how colors are organized in an image. In the next session, we will explore the popular color spaces and will do exercises which switches an image between different color spaces.


In the next session, we will use opencv to create and draw simple geometric shapes like line, rectangle, circle, ellipse, polygon etc into an image canvas. We also will try to insert a text into the canvas.


Then we will try some morphological transformations to our image which includes erosion which erodes the pixels, then dilation which will expand the pixels, Opening transformation for white noise removal and closing for black point noise removal. Then gradient transformation and finally the top hat and black hat morphological image transformations.


After that we will try the geometric transformations which includes scaling or resizing the image, then translating or place shifting the image, flipping or changing sides, rotating the image by fixing an axis, and cropping the image to extract the region of interest.


In the coming two sessions, we will try the basic arithmetic and logical operations between two images. We will try to do the addition operation and subtraction operation between two images. We will also try the AND, OR, XOR and NOT binary bitwise operations for two images and will check the results obtained.


Later we will go ahead with Image masking, which is a technique of covering the unwanted areas of image and display only the region of interest.


And after that we will try Image Smoothing techniques. At first we will use our own filter to do a custom smoothing of image and later built in filters using algorithms like Gaussian Smoothing, average smoothing, Median and finally the bilateral smoothing.


Then we will see an advanced technique called thresholding which is very useful in preprocessing and preparing the image for computer vision algorithms. We will do exercises to demonstrate simple thresholding, Otsu thresholding and adaptive thresholding.


Then we will check an interesting image color intensity plotting technique called as the histograms. We will plot a histogram and will learn how we can analyse the histogram to predict the nature of image.


By using this histogram and adjusting the values based on it, we can enhance the contrast of dull looking images. We will explore the technique called histogram equalization.


Image pyramids are different sized images generated and stacked one on top of other. We will explore how we can use opencv methods to generate image pyramids.


For us humans, its an easy task to find an object in a scene and find the edges of it. For computers its not that easy. We will explore the opencv functions which enable us to find the edges using the Canny edge detection.


As we know to a computer, an image is just a collection of numbers. To find the edges, gradients or the pattern of intensity change of colors should be found out. We will use gradient detection function of OpenCV to do that.


Then finally we will draw contours along the different objects in an image with the help of the above mentioned techniques and try to count the number of objects available in the scene.


That's all about the basics. The code and the images used in this course has been uploaded and shared in a folder. I will include the link to download them in the last session or the resource section of this course. You are free to use the code in your projects with no questions asked.


So that's all for now, see you soon in the class room. Happy learning and have a great time.

  • A decent configuration computer and an enthusiasm to dive into the world of computer vision
  • Beginners or who wants to start with Python Computer Vision using OpenCV
View More...

Section 1 : Introduction and Table of Contents

  • Lecture 1 :
  • Introduction and Table of Contents Preview

Section 2 : Introduction to OpenCV

  • Lecture 1 :
  • Introduction to OpenCV

Section 3 : Environment Setup: Preparing your Computer

  • Lecture 1 :
  • Preparing your Computer by installing Python using Anaconda and later install O

Section 4 : Python Basics

  • Lecture 1 :
  • Python Basics - Assignment
  • Lecture 2 :
  • Python Basics - Flow Control
  • Lecture 3 :
  • Python Basics - Data Structures
  • Lecture 4 :
  • Python Basics - Functions

Section 5 : Image Concepts

  • Lecture 1 :
  • Image Concepts

Section 6 : Beginning OpenCV - Read , Display and Write Images

  • Lecture 1 :
  • Beginning OpenCV - Read , Display and Write Images

Section 7 : Pixel Access and Modification

  • Lecture 1 :
  • Pixel Access and Modification

Section 8 : Area Manipulation and Image Properties

  • Lecture 1 :
  • Area Manipulation and Image Properties

Section 9 : Color Channels - Split and Merge

  • Lecture 1 :
  • Color Channels - Split and Merge

Section 10 : Color Spaces Conversion

  • Lecture 1 :
  • Color Spaces Conversion

Section 11 : Drawing Geometric Shapes and Text

  • Lecture 1 :
  • Part 1 Create Drawing Canvas
  • Lecture 2 :
  • Part 2 Drawing line, Circle, Rectangle
  • Lecture 3 :
  • Part 3 Ellipse, Polygon and Text

Section 12 : Morphological Transformations

  • Lecture 1 :
  • Morphological Transformation - Part 1 Erosion
  • Lecture 2 :
  • Morphological Transformation - Part 2 Dilation and Opening
  • Lecture 3 :
  • Morphological Transformation - Part 3 Closing, Gradient, TopHat, BlackHat

Section 13 : Geometric Transformations

  • Lecture 1 :
  • Geometric Transformations - Part 1: Scaling
  • Lecture 2 :
  • Geometric Transformations - Part 2: Translation
  • Lecture 3 :
  • Geometric Transformations - Part 3: Rotation
  • Lecture 4 :
  • Geometric Transformations - Part 4: Flipping
  • Lecture 5 :
  • Geometric Transformations - Part 5: Cropping

Section 14 : Arithmetic Operations

  • Lecture 1 :
  • Arithmetic Operations - Addition and Subtraction

Section 15 : Bitwise Operations

  • Lecture 1 :
  • Bitwise Operations - AND, OR, XOR, NOT

Section 16 : Image Masking

  • Lecture 1 :
  • Image Masking

Section 17 : Image Smoothing

  • Lecture 1 :
  • Custom Filter Image Smoothing
  • Lecture 2 :
  • Average and Gaussian Image Smoothing
  • Lecture 3 :
  • Median and Bilateral Smoothing

Section 18 : Image Thresholding

  • Lecture 1 :
  • Simple Thresholding
  • Lecture 2 :
  • Otsu Thresholding
  • Lecture 3 :
  • Adaptive Thresholding

Section 19 : Histograms

  • Lecture 1 :
  • Histograms

Section 20 : Histogram Equalization

  • Lecture 1 :
  • Histogram Equalization

Section 21 : Image Pyramids

  • Lecture 1 :
  • Image Pyramids

Section 22 : Canny Edge Detection

  • Lecture 1 :
  • Canny Edge Detection

Section 23 : Image Gradients - Laplace and Sobel

  • Lecture 1 :
  • Image Gradients - Laplace and Sobel

Section 24 : Image Contours

  • Lecture 1 :
  • Image Contours


  • Lecture 1 :
  • Download source code from here:
  • How do i access the course after purchase?

    Once you purchase a course (Single course or Subscription), you will be able to access the courses instantly online by logging into your account. Use the user name & password that you created while signing up. Once logged in, you can go to the "My Courses" section to access your course.
  • Are these video based online self-learning courses?

    Yes. All of the courses comes with online video based lectures created by certified instructors. Instructors have crafted these courses with a blend of high quality interactive videos, lectures, quizzes & real world projects to give you an indepth knowledge about the topic.
  • Can i play & pause the course as per my convenience?

    Yes absolutely & thats one of the advantage of self-paced courses. You can anytime pause or resume the course & come back & forth from one lecture to another lecture, play the videos mulitple times & so on.
  • How do i contact the instructor for any doubts or questions?

    Most of these courses have general questions & answers already covered within the course lectures. However, if you need any further help from the instructor, you can use the inbuilt Chat with Instructor option to send a message to an instructor & they will reply you within 24 hours. You can ask as many questions as you want.
  • Do i need a pc to access the course or can i do it on mobile & tablet as well?

    Brilliant question? Isn't it? You can access the courses on any device like PC, Mobile, Tablet & even on a smart tv. For mobile & a tablet you can download the Learnfly android or an iOS app. If mobile app is not available in your country, you can access the course directly by visting our website, its fully mobile friendly.
  • Do i get any certification after completing the course?

    Yes. Once you succesfully complete any course on Learnfly marketplace, you get a certiifcate of course completion emailed to you within 24 hours with your name & the Learnfly badge. You can definately brag about it & share it on your social media or with friends as one of your achievement. Click here to view the sample certificate Click Here
  • For how long can i access my course after the purchase?

    If you buy a single course, that course is accessible to you for a lifetime. If you go for a premium subcription, you can access all the courses on Learnfly marketplace till your subscription is Active.
  • Whats the difference between Single Course Purchase & Go Premium option?

    With Single Course Purchase, you only get an access of one single course. Whereas, with premium monhtly or annual subscription, you can access all the existing or new courses on learnfly marketplace. You can decide what option suits you the best and accordingly you can make your purchase.
  • Is there any free trial?

    Currently, we don't have any free trial but it may be available in near future.
  • What is the refund policy?

    We would hate you to leave us. However, if you are not satisfied, you can ask for a full refund within 30 days & we will be happy to assist you further.

​Tableau Prep Masterclass- With r...

By : Siddharth Pawar

Lecture 21


Data visualization with Tableau 10....

By : Siddharth Pawar

Lecture 29


Tableau Server 2018 Administration

By : Siddharth Pawar

Lecture 26


Principles of Data Cleaning

By : Phikolomzi Gugwana

Lecture 25


Statistical Modeling for Data scien...

By : Gulab Chand Tejwani

Lecture 13


Data Preprocessing for Machine Lear...

By : Dr. Nouman Azam

Lecture 30

Sign up and start learning
By signing up, you agree to our Terms of Use and Privacy Policy
Forget Password