Ask Your Question
0

How to use FaceRecognizer OpenCV 3.0

asked Sep 2 '15

jfs gravatar image

updated Sep 2 '15

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.

Preview: (hide)

1 answer

Sort by » oldest newest most voted
0

answered Sep 2 '15

berak gravatar image

updated Sep 2 '15


>>> 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
Preview: (hide)

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 (Jan 5 '17)edit

Question Tools

1 follower

Stats

Asked: Sep 2 '15

Seen: 979 times

Last updated: Sep 02 '15