Login

Lost your password?
Don't have an account? Sign Up

OpenCV Course – Full Tutorial with Python

Learn everything you need to know about OpenCV in this full course for beginners. You will learn the very basics (reading images and videos, image transformations) to more advanced concepts (color spaces, edge detection). Towards the end, you'll have hands-on experience building a Deep Computer Vision model to classify between the characters in the popular TV series "The Simpsons".

⭐️ Code ⭐️
?Github link:
?The Caer Vision library:

? Course from Jason Dsouza:
– Check out his Youtube channel:
– Follow him on Twitter:

⭐️ Course Contents ⭐️
⌨️ (0:00:00) Introduction
⌨️ (0:01:07) Installing OpenCV and Caer
Section #1 – Basics
⌨️ (0:04:12) Reading Images & Video
⌨️ (0:12:57) Resizing and Rescaling Frames
⌨️ (0:20:21) Drawing Shapes & Putting Text
⌨️ (0:31:55) 5 Essential Functions in OpenCV
⌨️ (0:44:13) Image Transformations
⌨️ (0:57:06) Contour Detection
Section #2 – Advanced
⌨️ (1:12:53) Color Spaces
⌨️ (1:23:10) Color Channels
⌨️ (1:31:03) Blurring
⌨️ (1:44:27) BITWISE operations
⌨️ (1:53:06) Masking
⌨️ (2:01:43) Histogram Computation
⌨️ (2:15:22) Thresholding/Binarizing Images
⌨️ (2:26:27) Edge Detection
Section #3 – Faces:
⌨️ (2:35:25) Face Detection with Haar Cascades
⌨️ (2:49:05) Face Recognition with OpenCV's built-in recognizer
Section #4 – Capstone
⌨️ (3:11:57) Deep Computer Vision: The Simpsons

⭐️ More ways to connect with Jason Dsouza ⭐️
– Medium:
– Twitter:
– LinkedIn:

✏️ Check out Jason's Deep Learning Crash Course for Beginners:

⭐️ Special thanks to our Champion supporters! ⭐️
? Loc Do
? Joseph C
? DeezMaster

Learn to code for free and get a developer job:

Read hundreds of articles on programming:

And subscribe for new videos on technology every day:

https://www.educational.guru

40 comments

    1. amrendra kushwaha

      Hi Jason,
      I have scanned pdf file but image was not good quality that’s why I am unable to get the proper text from this scanned pdf file. Could you please share the code to “read scanned pdf file”

    2. Meet Gondaliya

      hey this was a wonderful series for a begineer like me. But I am stuck in the last video. In the line
      # Create training data
      train = caer.preprocess_from_dir(char_path, characters, IMG_SIZE=IMG_SIZE, channels=channels, isShuffle=True)

      running this throws a error:
      ValueError: verbose flag must be either 1 (display progress to terminal) or 0 otherwise
      What does this mean? @jasmcaus

  1. Kyryl Dubovetskyi

    2:08:26 — actually everything was OK. You don’t need to pass masked image to calcHist mask parameter. You can just pass white circle instead, as you did first time. You can compare both histogram plots and make sure, they are identical. It worked because cats-in-a-circle image is identical to white circle in bitwise operations (if those cats have no zero valued pixels in the circle region)

  2. Alexander Kerr

    2:41:06
    Tutorial is awesome, the explanations are much better than other tutorials I have tried, only ran into one real issue so far and that was during the “Face detection with Haar Cascades”. When referencing the xml file, I found out I needed to implement the full path to the file in order to get it working properly, just thought I would throw that out there in case anyone else runs into a similar problem.

  3. Harsh Vats

    The tutorial is great. Everything is explained in a great way. The only thing that I felt could be improved is by using some constants instead of just writing them again and again like you did in draw.py. You could’ve specified constant like STARTING_POINT, ENDING_POINT, COLOR and many more which would’ve made the code much more readable and could’ve also reduced the tutorial length. I would be making a pull request for this soon. Thank you for this amazing tutorial 🙂

  4. Fırat Çetinkaya

    Thanks for all your efforts, spent times, and open source-free courses. Indeed, I’ve started OpenCV through that course, and it’s been a superb starting point for me. And there are also different kinds of courses related to Data Science and am gonna benefit from them as well. Am grateful to know a such channel and a such course..

  5. Sitanshu Dash

    Hi Jason,
    Your course is very detailed and oriented towards practical application of concepts taught. Loved it. I have a personal project which could really benefit from your skills. I am not sure if you do freelance work or are interested to have a listen… Please let me know if i can reach you somehow to discuss this further…

  6. Anshul Nigam

    I was just clicking on random videos on YT and I somehow landed on this course and GOD THANK YOU!
    Learned a lot and lots of things here that I could’ve learned nowhere better.
    Thank you for this course, although there were somethings in the last part of this course that I was not able to understand but I got a glimpse of how things are and how they work, I’ll definitely learn them.

  7. Mohammad Jaleel Ahmed

    Hi Jason,
    I have been going through many courses for OpenCV (Not that I didn’t understand them) but I should say even though the course is fast-paced but well explained and especially Chapter BITWISE operations Awesome!..keep it going very well explained and practically show.

  8. Gab Bur

    Awesome video, thanks a lot!

    One very important question: how may I display those small explainations/suggestions of the parameters I can put into the functions? For example: I type in “cv.rectangle(” but there is no popup that shows which parameters I can put into the functions. In your case it’s very nice and clearly visible! Do I need a vs code addon for opencv?

    Thanks in advance!

    1. Rajas

      I had the same issue as well but a stackoverflow post had the solution. Apparently sometimes the path to the file with those suggestions is in chinese and they don’t show in the editor. All you had to do is use “from cv2 import cv2 as cv” rather than “import cv2 as cv”, this fixed the issue for me, try it once.

  9. Shawn Shao Mengyuan

    Hi, this video is great to introduce opencv. I have a question how do you mask a picture of a specific area like blur, something like Mosaic? it looks not easy to implement with this .

  10. Mechtron 47

    Hey I see your effort. You all are putting so much effort and time in these videos. I think if you make the roadmaps videos like if you want to become a android developer watch this playlist in which you can mention all the videos that are related to the android development. Yes I know that you already had created playlists but they are kinda incomplete and are not roadmaps videos. And one more suggestion make a playlist of roadmaps videos for different learning paths like you had created pytorch and tensorflow tutorials if they both are mentioned in a roadmap video of data scientist and a pdf in description as if anyonnes wants to print and want the learning steps so he/she can download the pdf. I hope you will like my suggestion. Even I follows your tutorials but i didn’t know whether the tutorial is for my path or not and then after researching and learning my own I find that you had made the tutorials but I was not able to identify that the tutorial is helpful or not. So if you do this it will save so much time and everyone will know what to do next.
    Thanks For Reading My Suggestion 🙂

Leave a Comment

Your email address will not be published. Required fields are marked *

*
*