Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Error in simplecv first example

Once I installed simplecv in windows I create my first example called helloworld.py in python shell. I got an error like this

Traceback (most recent call last):
File "<pyshell#0>", line 1, in <module> from SimpleCV import Camera, Display, Image ImportError: No module named SimpleCV

>

My example code was :

from SimpleCV import Camera, Display, Image

Initialize the camera cam = Camera()

Initialize the display display = Display()

Snap a picture using the camera img = cam.getImage()

Show the picture on the screen img.save(display)

Pleae help me to solve this error. Im a new comer to simplecv. Thank you.

click to hide/show revision 2
No.2 Revision

Error in simplecv first example

Once I installed simplecv in windows I create my first example called helloworld.py in python shell. I got an error like this

Traceback (most recent call last):
File "<pyshell#0>", line 1, in <module> from SimpleCV import Camera, Display, Image ImportError: No module named SimpleCV

>

My example code was :

from SimpleCV import Camera, Display,
  Image

Display,Image # Initialize the camera camera cam = Camera()

Camera()

# Initialize the display display display = Display()

Display() # Snap a picture using the camera camera img = cam.getImage()

cam.getImage()

# Show the picture on the screen img.save(display)

img.save(display)

Pleae help me to solve this error. Im a new comer to simplecv. Thank you.