Ask Your Question
0

FaceRecognizer error in Opencv 4.2.0 example [closed]

asked 2020-03-12 00:15:10 -0600

ssdroon30 gravatar image

Hello everybody!

I have a problem in the Opencv 4.2.0 Face Recognizer example: https://docs.opencv.org/3.4/da/d60/tu...

I get an error: undefined reference to `cv::face::EigenFaceRecognizer::create(int, double)'

I use Qt Creator, and I added all the library what the example need.

What can be the problem?

Please Help me!

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by LBerger
close date 2020-03-12 03:26:04.224745

Comments

1

Do you use opencv or opencv_contrib? What is your cmakelist? you need opencv_face in lib list

LBerger gravatar imageLBerger ( 2020-03-12 03:02:40 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
2

answered 2020-03-12 03:14:20 -0600

ssdroon30 gravatar image

Oh. You have right! I dont used the lopencv_face library. Now the Build was successfull. Thanks a lot!

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2020-03-12 00:15:10 -0600

Seen: 392 times

Last updated: Mar 12 '20