Following are the commands used in Chapter 6, Detecting Edges and Contours in Images:
sudo apt-get install geany
sudo apt-get -y install python-pip
sudo apt-get -y install python-opencv
sudo apt-get -y install python-numpy
sudo apt-get -y install python-scipy
sudo pip install --upgrade cython
sudo pip install -U scikit-learn
sudo pip install imutils
sudo apt-get -y install python-sklearn
sudo apt-get -y install python-skimage