Ask Your Question
0

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: http://answers.opencv.org/question/12...

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
0

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:

NAME
    cv2.face

FILE
    (built-in)

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

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

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

Comments

@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 (https://github.com/opencv/opencv_contrib). 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
Login/Signup to Answer

Question Tools

1 follower

Stats

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

Seen: 686 times

Last updated: Sep 02 '15