Ask Your Question
0

Haar Feature Error

asked 2012-10-17 05:47:03 -0500

karry89 gravatar image

In [1]: %run /home/kartik/Desktop/Major/haar.py VIDIOCQUERYMENU: Invalid argument VIDIOCQUERYMENU: Invalid argument VIDIOC_QUERYMENU: Invalid argument select timeout

there is no soundcard

AttributeError Traceback (most recent call last) /usr/lib/python2.7/dist-packages/IPython/utils/py3compat.pyc in execfile(fname, *where) 173 else: 174 filename = fname --> 175 builtin.execfile(filename, *where)

/home/kartik/Desktop/Major/haar.py in <module>() 10 while disp.isNotDone(): 11 img= cam.getImage() ---> 12 faces=img.findHaarfeatures('face') 13 if faces is not None: 14 faces=faces.sortArea()

AttributeError: Image instance has no attribute 'findHaarfeatures'

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2012-10-18 12:28:56 -0500

kscottz gravatar image

For future reference it is much easier to read if you first post the source code and then the error. From what I can make out of your post it appears you are calling findHaarfeatures vs findHaarFeatures. We use camel case notation for our function names. This problem could be solved much quicker if you took a look at our online documentation.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2012-10-17 05:47:03 -0500

Seen: 232 times

Last updated: Oct 18 '12