Skip to content

OpenCV tutorials and learning materials

| opencv | python | computer vision |

cropped-OpenCV_logo.png

The idea was/is to collect practical tutorials in “zero to hero” style.


Youtube Videos

1 - sentdex: OpenCV with Python for Image and Video Analysis

It’s a nice practical introductory course into the subject.

See related text-based tutorial

  1. OpenCV with Python Intro and loading Images tutorial
  2. Loading Video Source
  3. Drawing and Writing on Image
  4. Image Operations
  5. Image arithmetics and Logic
  6. Thresholding
  7. Color Filtering
  8. Blurring and Smoothing
  9. Morphological Transformations
  10. Canny Edge Detection and Gradients
  11. Template Matching
  12. GrabCut Foreground Extraction
  13. Corner Detection
  14. Feature Matching (Homography) Brute Force
  15. MOG Background Reduction
  16. Haar Cascade Object Detection Face & Eye
  17. Creating your own Haar Cascade

2 - Murtaza’s Workshop - Robotics and AI

This is a very interesting Youtube channel. I highly recommend it to anybody interesting in OpenCV and computer vision.

Opencv Python Tutorials For Beginners

3 - freeCodeCamp.org 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).

Tutorials

1 - Official OpenCV-Python Tutorials

Here are the main chapters, each contains sub-chapters:

  1. Introduction to OpenCV
    1. Introduction to OpenCV-Python Tutorials
    2. Install OpenCV-Python in Windows
    3. Install OpenCV-Python in Fedora
    4. Install OpenCV-Python in Ubuntu
  2. Gui Features in OpenCV
    1. Getting Started with Images
    2. Getting Started with Videos
    3. Drawing Functions in OpenCV
    4. Mouse as a Paint-Brush
    5. Trackbar as the Color Palette
  3. Core Operations
    1. Basic Operations on Images
    2. Arithmetic Operations on Images
    3. Performance Measurement and Improvement Techniques
  4. Image Processing in OpenCV
    1. Changing Colorspaces
    2. Geometric Transformations of Images
    3. Image Thresholding
    4. Smoothing Images
    5. Morphological Transformations
    6. Image Gradients
    7. Canny Edge Detection
    8. Image Pyramids
    9. Contours in OpenCV
    10. Histograms in OpenCV
    11. Image Transforms in OpenCV
    12. Template Matching
    13. Hough Line Transform
    14. Hough Circle Transform
    15. Image Segmentation with Watershed Algorithm
    16. Interactive Foreground Extraction using GrabCut Algorithm
  5. Feature Detection and Description
    1. Understanding Features
    2. Harris Corner Detection
    3. Shi-Tomasi Corner Detector & Good Features to Track
    4. Introduction to SIFT (Scale-Invariant Feature Transform)
    5. Introduction to SURF (Speeded-Up Robust Features)
    6. FAST Algorithm for Corner Detection
    7. BRIEF (Binary Robust Independent Elementary Features)
    8. ORB (Oriented FAST and Rotated BRIEF)
    9. Feature Matching
    10. Feature Matching + Homography to find Objects
  6. Video analysis (video module)
    1. High Dynamic Range Imaging
    2. High level stitching API (Stitcher class)
    3. How to Use Background Subtraction Methods
    4. Meanshift and Camshift
    5. Optical Flow
    6. Cascade Classifier
    7. Cascade Classifier Training
    8. Introduction to Support Vector Machines
    9. Support Vector Machines for Non-Linearly Separable Data
    10. Introduction to Principal Component Analysis (PCA)
  7. Camera Calibration and 3D Reconstruction
    1. Camera Calibration
    2. Pose Estimation
    3. Epipolar Geometry
    4. Depth Map from Stereo Images
  8. Machine Learning
    1. K-Nearest Neighbour
    2. Support Vector Machines (SVM)
    3. K-Means Clustering
  9. Computational Photography
    1. Image Denoising
    2. Image Inpainting
    3. High Dynamic Range (HDR)
  10. Object Detection (objdetect module) 1. High Dynamic Range Imaging 2. High level stitching API (Stitcher class) 3. How to Use Background Subtraction Methods 4. Meanshift and Camshift 5. Optical Flow 6. Cascade Classifier 7. Cascade Classifier Training 8. Introduction to Support Vector Machines 9. Support Vector Machines for Non-Linearly Separable Data 10. Introduction to Principal Component Analysis (PCA)
  11. OpenCV-Python Bindings 1. How OpenCV-Python Bindings Works?

Github opencv

2 - RSDharra - Computer Vision: Zero To Hero

  1. Introduction
  2. OpenCV Installion
  3. Basic OpenCV Operation
  4. Random Bytes to grayscale and BGR image
  5. Accessing image pixels
  6. Reading/writing a video file
  7. Capturing camera frames
  8. Displaying camera frames
  9. High pass filter
  10. Low Pass filter
  11. Canny Edge Detection
  12. Contour Detection
  13. Area of Object
  14. Convex Hull
  15. Line Detection
  16. Circle Detection
  17. Detecting Shapes
  18. Finding Object
  19. ORB Algorithm
  20. ORB For Object Detection
  21. GrabCut
  22. Watershed Algorithm
  23. Haar Cascades
  24. Face Detection
  25. Face Detection using Webcam
  26. HOG
  27. Car Detection
  28. Basic Motion Detection
  29. Intro to Dlib
  30. Face Feature Landmark Detection
  31. Yawn Detection
  32. Face Swap
  33. Intro To ML
  34. Digit Recognition
  35. Face Recognition
  36. Detect By Color
  37. Background Subtraction

3 - Miscellaneous

  • OpenCV-Python Tutorials. This tutorial might be a bit outdated, but it is good enouth for beginning.
  • PyImageSearch is a website created by Adrian Rosebrock, PhD, professional Computer Vision/Deep Learning developer and researcher. You can find there blog, books, courses.
  • Learn OpenCV is a website created by Satya Mallick, PhD, “entrepreneur with a love for Computer Vision and Machine Learning”. The author writes blog, created several cources, and duing AI consultancy.