In order to get OpenCV-Python up and running, we need to perform the following steps:
- Install Python: Make sure you have Python 2.7.x installed on your machine. If you don't have it, you can install it from: https://www.python.org/downloads/windows/.
- Install NumPy: NumPy is a great package to do numerical computing in Python. It is very powerful and has a wide variety of functions. OpenCV-Python plays nicely with NumPy, and we will be using this package a lot during the course of this book. You can install the latest version from: http://sourceforge.net/projects/numpy/files/NumPy/.
We need to install all these packages in their default locations. Once we install Python and NumPy, we need to ensure that they're working fine. Open ...