Ask Your Question

srleod's profile - activity

2017-11-29 12:22:45 -0600 received badge  Famous Question (source)
2015-07-24 13:54:27 -0600 received badge  Notable Question (source)
2014-07-22 00:49:43 -0600 received badge  Popular Question (source)
2012-08-08 10:32:05 -0600 received badge  Supporter (source)
2012-08-08 10:06:54 -0600 commented answer How to compile Python bindings for FaceRecognizer

No problem -- thanks for confirming that I'm not crazy. And thanks for all your work!

2012-08-08 10:06:33 -0600 received badge  Scholar (source)
2012-08-07 17:19:49 -0600 asked a question How to compile Python bindings for FaceRecognizer

I'm trying to use OpenCV's awesome looking face recognition module from python, but it looks like the bindings aren't working.

>>> import cv2
>>> cv2.createFisherFaceRecognizer()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: 'module' object has no attribute 'createFisherFaceRecognizer'

I'm on Ubuntu 10.04 64-bit, using stock python 2.6.5. I compiled OpenCV myself from the 2.4.2 source tarball. Everything else I've tried from the library works fine in python. But none of the face reco stuff seems to be available in Python.

I read in this answer (dated July 11) that "The Python wrapper for cv::FaceRecognizer works now." Seeing that OpenCV 2.4.2 was released about a week before that, do I need to grab the source from the trunk and recompile?