Ask Your Question

How to use FaceRecognizer OpenCV 3.0

asked 2015-09-02 13:38:22 -0500

jfs gravatar image

updated 2015-09-02 13:49:52 -0500

I want to use the OpenCV's FaceRecognizer module for Python in Ubuntu 14.04 but it keeps me saying:

attributeError: 'module' object has no attribute 'createEigenFaceRecognizer'

Why is that and how can I solve it??

Thank you in advance

I have visited another question asked in this forum:

but the answer didn't work for me and since it is quite old I thought some thing may have changed.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2015-09-02 13:52:32 -0500

berak gravatar image

updated 2015-09-02 13:54:33 -0500

>>> help(cv2.face)
Help on module cv2.face in cv2:



        createEigenFaceRecognizer([, num_components[, threshold]]) -> retval

        createFisherFaceRecognizer([, num_components[, threshold]]) -> retval

        createLBPHFaceRecognizer([, radius[, neighbors[, grid_x[, grid_y[, thres
hold]]]]]) -> retval
edit flag offensive delete link more


@berak Can you please give me a quick walkthrough on how to add this? I'm new and confused as to what and would be for the make instructions outlined in the readme ( I'm previously compiled opencv v3.2.0 but can't figure out how to compile this, either through command line prompts or through the cmake gui. Thanks!

moreno19 gravatar imagemoreno19 ( 2017-01-04 21:02:15 -0500 )edit

Question Tools

1 follower


Asked: 2015-09-02 13:36:30 -0500

Seen: 784 times

Last updated: Sep 02 '15