Getting started with computer-vision – Installation or Setup

Detailed instructions on getting computer-vision set up or installed.

For this and following series of computer vision, I will be using Python 2 as a programming language. Python is a common choice for the scientific community, it is free, it has a lot of libraries for free and open-source, and if you are new to programming its one of the simplest to learn and begin programming.

Now set-up, if you use Linux you probably already have python, just open the terminal and type ‘python’ to check if everything is working already. Others,
can check this link and download python 2.7.

Second, we will need to install the libraries we are going to use in the source code. Now, a note here, this setup is designed for this example, in later stages, we will add different libraries, and, of course, different computer vision applications may require specific libraries such as OpenCV. We will only need one library to be installed in our system to run the code. When using python I generally install dependencies using ‘pip’. It is a simple tool to install the python modules, you can also check it via this link

Now, we are ready to install the library we need, PyPNG. If you are using pip
all you need to do is

pip install PyPNG

in terminal if you are using Linux/Mac, in command line if you are using Windows.

Also, for this exercises, you need to get images which can be found in github link alongside the source code and ipython notebooks.

Now, we should be good to go for exercise

if you want to reproduce, please indicate the source:
Getting started with computer-vision – Installation or Setup - CodeDay