5

I want to install SimpleCV, a Python framework for computer vision, on my Raspberry Pi.

These are the steps I followed:

I got these steps from a Raspberry Pi tutorial, "Getting started with Raspberry Pi" by Matt Richardson and Shawn Wallace. However, the installation did not succeed.

Is there any other way to install simple CV on raspberry pi?

nc4pk
  • 1,378
  • 1
  • 13
  • 25
Ajitha Thrakan
  • 51
  • 1
  • 1
  • 3

1 Answers1

4

To automatically install the dependencies, use the -f prefix.

Try the code below.

sudo apt-get update 
sudo apt-get -f install python-opencv python-scipy python-numpy python-pip 
sudo pip install https://github.com/ingenuitas/SimpleCV/zipball/master

EDIT

I didn't test the code earlier but here is what I found.

sudo apt-get update 
sudo apt-get -f install python-opencv python-scipy python-numpy python-pip 

This worked perfectly fine and installed all the dependencies.However the third line failed miserably. The problem is pip puts the temporary files on RAM and the large SimpleCV failed.

So I followed the following lines and it installed the SimpleCV.

wget https://github.com/ingenuitas/SimpleCV/master    
sudo pip install file:///home/pi/master --download-cache /home/pi/tmp

This worked and the SimpleCV worked nicely.

To open the SimpleCV interactive shell, type

simplecv

on the terminal.

Let me know if it works for you.

SteveIrwin
  • 1,710
  • 2
  • 18
  • 31