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,3781 gold badge13 silver badges25 bronze badges
asked Apr 5, 2013 at 16:37
0

1 Answer 1

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.

answered Apr 5, 2013 at 18:10
4
  • @Stevelrwin Thank you for your answer. but it was not working.. anyway, thank you for your answer.. :) i formatted my SD card in raspberry pi. and then followed the same steps. (pi@raspberrypi ~ $ sudo apt-get install python-opencv python-scipy pythonnumpy python-pip and pi@raspberrypi ~ $ sudo pip install github.com/ingenuitas/SimpleCV zipball/master ) all i had done it in the root (sudo su).. it was found working.. but the problem is that SimpleCV folder was not there in the file manager on raspberry pi.. how will i locate SimpleCV folder and SimpleCV shell?? Commented Apr 15, 2013 at 15:36
  • What is the difference between sudo apt-get install python-opencv python-scipy python-numpy python-pip and sudo apt-get install ipython python-opencv python-scipy python-numpy python-pip that is ipython and python ???? Commented Apr 15, 2013 at 15:52
  • @AjithaThrakan I edited my answer.Check it. Commented Apr 15, 2013 at 19:16
  • SimpleCV repo has moved: github.com/sightmachine/simplecv Commented Aug 24, 2013 at 20:11

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.