I type following code in my raspberry pi.
from SimpleCV import Camera
# Initialize the camera
cam = Camera()
# Loop to continuously get images
while True:
# Get Image from camera
img = cam.getImage()
# Show the image
img.show()
But when i run on python(installed in raspberry pi), First time it run very well. But when I run it again it says camera driver not detected error. I use a web cam as my camera. OS is raspbian.