Hi Nathan,
would u mind having a quick look?
Code:
----------------------------------
import SimpleCV
from SimpleCV import Image
from SimpleCV import ImageClass
from SimpleCV import Features
import time
def function(a, b):
print a, b
apply(function, (1, 2 + 3))
image = Image("frontface.jpg")
imagescaled = image.copy()
imagescaled = imagescaled.scale(90,90)
imagescaled.save("C:\Users\tom\pub\frontfaceNew.jpg")
eyespath = "C:\OpenCV2.2\data\haarcascades\haarcascade_eye.xml"
fset_eyes = image.findHaarFeature(eyespath)
print fset_eyes.inspect
------------
Result:
Python 2.7.2 (default, Jun 12 2011, 15:08:59) [MSC v.1500 32 bit (Intel)] on win32
Type "copyright", "credits" or "license()" for more information.
>>> ================================ RESTART ================================
>>>
1 5
Traceback (most recent call last):
File "C:\Users\tom\pub\test.py", line 21, in <module>
fset_eyes = image.findHaarFeature(eyespath)
AttributeError: Image instance has no attribute 'findHaarFeature'
>>>
------------------------
1) scaled image does not get created
frontface.jpg is in the same folder as the script
2) why doesnt find it the findHaarFeature?
thx again!