Skip to content Skip to sidebar Skip to footer

Simplecv Nameerror: Name 'images' Is Not Defined

I try Library SimpleCV. I have Ubuntu 11.10, Python 2.7 with PIL (python-imaging ver. 1.1.7-3ubuntu1) According to Install instructions I downloaded SimpleCV_1.1_linux_all.deb pac

Solution 1:

Pass images/redeye.jpg as a string: Image("images/redeye.jpg").

my_image = Image("images/redeye.jpg")

You are currently passing that literally to the Image() class, hence why python is intepreting it as a variable, and as such, raising a NameError exception because the images local or global name is not found.

Post a Comment for "Simplecv Nameerror: Name 'images' Is Not Defined"