Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Thanks for your answer, decrot! That would make sense if I was running a script, but I was typing these commands in the SimpleCV terminal.
In response to your answer, I wrote a script of them and tried adding in time.sleep(.5) at the end. I got the same error.
My script now reads:

import time
from SimpleCV import JpegStreamCamera, Display
cam = JpegStreamCamera("*192.168.1.94/video.mjpg")
display = Display()
img = cam.getImage()
img.save(display)
time.sleep(.5)

I added in the display variable and call since I was writing the script and that was what I wanted to do eventually anyway.