Ask Your Question
0

createEigenFaceRecognizer no attribute error

asked 2012-08-08 16:59:12 -0600

rkappler gravatar image

I'm running a newly installed copy of 2.4.2, python 2.7 in Ubuntu 12.04 on a 64 bit HP G62. Trying to run the facerec_demo.py file and getting:

Traceback (most recent call last): File "facerec_demo.py", line 106, in <module> model = cv2.createEigenFaceRecognizer() AttributeError: 'module' object has no attribute 'createEigenFaceRecognizer'

Any ideas? regards, Richard

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2012-08-08 23:48:42 -0600

updated 2012-08-09 10:27:31 -0600

edit flag offensive delete link more

Comments

If you think this question is a duplicate, you should close it (use the close link below question), and select reason as "Duplicate". It is not worth polluting the site with dozens questions on common themes

sammy gravatar imagesammy ( 2012-08-09 05:08:48 -0600 )edit

Right, I read that before I posted. As I noted in my question, I did this on a fresh install of 2.4.2. Am I missing something here? Sammy, I didn't think it was a duplicate because this is a fresh install. If you want me to close this and tag on to the above post, I will.

regards, Richard

rkappler gravatar imagerkappler ( 2012-08-09 08:28:32 -0600 )edit

I saw that Phillip redirected you to that question. I do not know whether your question is different enough to be removed. You guys should evaluate that and take the correct action. If it is interesting by its own, it should stay.

sammy gravatar imagesammy ( 2012-08-09 08:51:39 -0600 )edit

Okay, thanks. I'll wait to see what Phillip says.

rkappler gravatar imagerkappler ( 2012-08-09 09:01:35 -0600 )edit

It is a duplicate. That's what I was saying.

Philipp Wagner gravatar imagePhilipp Wagner ( 2012-08-09 10:18:03 -0600 )edit

So I need to recompile a fresh install of 2.4.2 is what you're saying. That's what I don't understand. What would that accomplish? What would happen this time that didn't last night?

rkappler gravatar imagerkappler ( 2012-08-09 10:27:38 -0600 )edit
2

Philipp says there is a bug in the 2.4.2 release that was fixed in the trunk. And you have to clone the latest sources from git, and compile everything from scratch.

sammy gravatar imagesammy ( 2012-08-09 10:54:25 -0600 )edit

okay, now I understand. I'll give it a try.

rkappler gravatar imagerkappler ( 2012-08-09 10:56:09 -0600 )edit
1

and now it works, thanks Sammy and Philipp

rkappler gravatar imagerkappler ( 2012-08-09 12:12:23 -0600 )edit

Question Tools

Stats

Asked: 2012-08-08 16:59:12 -0600

Seen: 3,088 times

Last updated: Aug 09 '12