Another day, another problem.
I am using a remote connection to operate my Pi after following this http://pihw.wordpress.com/guides/direct ... connection with success.
Then i followed the two line instructions to install SimpleCV:
Code: Select all
$ sudo apt-get install ipython python-opencv pythonscipy
python-numpy python-pygame python-setuptools
python-pip
$ sudo pip install
https://github.com/ingenuitas/SimpleCV/zipball/masterwhen it all was done i did
Code: Select all
sudo apt-get updateCode: Select all
print "hello world"Code: Select all
python HW.pyThen i tried from here https://github.com/OpenLabTools/OpenLab ... h-SimpleCV this
Code: Select all
import subprocess
from SimpleCV import Image
import time
call(“raspistill -n -t 0 -w %s -h %s -o image.bmp” % 640 480, shell=True)
img = Image(“image.bmp”)
img.show()
time.sleep(5)Code: Select all
pi@raspberrypi ~ $ python camera.py
File "camera.py", line 5
SyntaxError: Non-ASCII character '\xe2' in file camera.py on line 5, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details
I tested the camera using raspistill -o testcam.jpg which resulted in a good image.