Python Quick Tutorials



This document contains links for the Tutorials on:

  • Python language
  • Image Processing using OpenCV-Python, NumPy, Matplotlib


A. Python

  • These tutorials are provided in the format of Jupyter Notebooks OR .ipynb files embedded in a .zip file named, python_tutorials.zip.

  • So, you can learn the syntax, edit them and try them out at your end quickly.

  • Download these tutorials for various topics listed in the table below. Right-click on the above hyperlink and select the Save Link As... option to download.

    #TopicJupyter Notebook Filename
    1Getting Started01_Getting_started.ipynb
    2Data types02_Data_types.ipynb
    3Strings03_Strings.ipynb
    4Mathematical Operators04_Mathematical_operators.ipynb
    5Conditional Statements05_Conditional_statements.ipynb
    6Loops06_Loops.ipynb
    7Tuples07_Tuple.ipynb
    8Lists08_Lists.ipynb
    9Dictionary09_Dicts.ipynb
    10Functions10_Functions.ipynb
    11Modules11_Modules.ipynb

  • An 12_Exercise.ipynb file is also provided for practice. Kindly note this exercise is not graded.


B. OpenCV, NumPy, Matplotlib

  • If you need to learn the basic image processing techniques using OpenCV-Python, NumPy, and Matplotlib. Follow the below-provided tutorial links.

    • Reading an image, displaying it, and saving it back
    • Reading a video, displaying it, and saving it back
    • Capture images from the camera and displaying them
    • Writing video to a file
    • Drawing different geometric shapes
    • Image properties, splitting and merging images
    • Arithmetic and Logical operations on images like addition, subtraction, bitwise operations, etc.
    • Converting images from one colour space to another, like BGR-to-Gray, BGR-to-HSV, etc.
    • Extract or mask an object of a particular colour in a given image
  • Learn about these various concepts from the Image Processing, NumPy, and Matplotlib tutorials provided officially by OpenCV, CS231N course at Stanford University and from the ones created by e-Yantra team.