option not working?

asked 2014-05-08 20:13:50 -0500

memilanuk gravatar image

Working my way thru the examples in the book Practical Computer Vision with SimpleCV... here is the sample code from chapter 3:

from SimpleCV import Camera, ImageSet
import time

cam = Camera()
camImages = ImageSet()

# Set to a maximum of 10 images saved
# Feel free to increase, but beware of running out of space
maxImages = 3

for counter in range(maxImages):
    # Capture a new image and add to set
    img = cam.getImage()


    # Show the image and wait before capturing another

    time.sleep(3)"foo", verbose=True)

My understanding is that the verbose=True bit is supposed to, according to the api docs, print out to the console the filename and path that the image(s) were saved to. But in my case, running SimpleCV 1.3 (installed straight from the github repo) on a fresh install of Ubuntu 14.04 using python 2.7.6... nothing. The files do get saved to a directory named 'foo' as desired, but the verbose option doesn't seem to be working. Am I doing something obviously wrong here, or should I file this as a bug report?

edit retag flag offensive close merge delete