0

I am using the following code from Simple CV tutorial

logo = Image("simplecv")
logo.show()

But then it shows up a small window but blank, without image.

Could you help me?

Thank you

Hugo
  • 1,558
  • 12
  • 35
  • 68
  • works fine on my system. It shows simplcv's logo in a small window. Try re-installing simplecv – Vipul Mar 28 '14 at 12:11

2 Answers2

0

just add a simple line in your code and it will work if you are running this code with a script file, otherwise just save an image on your desktop and provide the path of that image to your code "Image("path")" if still you are gating the same error please install it again.

logo = Image("simplecv")
logo.show()
raw_input("Press Enter for EXIT")
user3218971
  • 547
  • 1
  • 6
  • 21
-1

This link helped me: Image.show() won't display the picture

For linux users: if you installed simpleCV from Software Center, then check if you have sampleimages folder in

/usr/lib/pymodules/python2.7/SimpleCV/ 

If it's not there, obtain it from

https://github.com/sightmachine/SimpleCV#ubuntu-1204
Community
  • 1
  • 1