Linux: Already has python. If want a different version use the following command: sudo apt install python<version>
MAC & Windows: Go to https://www.python.org/downloads/release/python-392/ and download the setup. Run the setup and python will be installed
To work with python, an ide is preferable. Following are some good ide:
- Sublime Text: https://www.sublimetext.com/
- VS Code: https://code.visualstudio.com/
- Atom: https://atom.io/
- PyCharm: https://www.jetbrains.com/pycharm/
- Jupyter Notebook: https://jupyter.org/install
Any other ide is also fine. You can use python online too for e.g. on google colab.
The easiest way to install opencv is to use pip. After installing python, use following command: pip install opencv-python
Again, you can use online plateforms for using opencv. It works fine on Google Colab with a bit of modifications.
Here are some good resources to get yourself familiarized with Python:
- https://docs.python.org/3/tutorial/ (For whoever reads the docs)
- From the basics: https://www.programiz.com/python-programming/tutorial
- If the above is too low level, https://www.learnpython.org/
- The one with good internet packages and like videos, https://www.youtube.com/watch?v=_uQrJ0TkZlc&ab_channel=ProgrammingwithMosh
- Concise Guide: https://github.com/wncc/learners-space/tree/master/Python
- For book readers, https://automatetheboringstuff.com/
- Reading images and videos in OpenCV (code in Basics)
- Thresholding (code: Thresholding)
- Colour/Object Detection using OpenCV (code: Detection)
- Blurring (code: Blurring and Noise)
- Morphology (code: Morph)
- Edge Detection (code: Edge)
- Contours (code: Contour and More on Contour)
- Applications and Uses of Image Processing(code: Circles, Squares, Polygon)
See the following Slides