For Image processing Python with OpenCV library is widely used. OpenCV provides a vast list of Image Processing techniques (like Enhancement, Segmentation, Feature extraction etc.).
Along with “numpy” and “matplot” OpenCV provides easy and strong facilities for image processing.
Follow these steps to install Python and OpenCV:
- Download Python 3.6 (Freeware) [32 bit/64 bit].
- Install Python 3.6 on your system with default settings.
- Download numpy library [32 | 64] bitsnumpy 1.10 and install it with default setting.
OR
You can install it from command prompt (Detailed steps here).
Open IDLE (Python GUI) from All Programs → Python 3.6 and type “import numpy”. If no error ⇒ installed properly. If numpy is not installed in your system following error may be thrown:>>> import numpy Traceback (most recent call last): File "<pyshell#0>", line 1, in import numpy ImportError: No module named 'numpy'
- Download matplotlib 1.3 and install it.
In IDLE type “import matplotlib”. If no error ⇒ installed properly.
If matplotlib is not installed in your system following errors may thrown:import matplotlib Traceback (most recent call last): File "<pyshell#2>", line 1, in import matplotlib ImportError: No module named 'matplotlib'