Ask Your Question
0

Gender Classification-OpenCv with C++

asked 2016-03-01 04:17:26 -0600

bthooni gravatar image

Hello everyone! Since im into Image processing and im trying to learn it by myself, specially with the gender classification subject
Im trying to implement a gender classifier for images with C++ along with OpenCv, I've tried many codes but none of them worked!

Like: http://docs.opencv.org/2.4/modules/co... This code generates the following errors: FaceRecognizer createFisherFaceRecognizer subspaceProject subspaceReconstruct It says all these identifiers are not identified In addition in the include: #include "opencv2/contrib/contrib.hpp"

I use 3.1 OpenCv version And 2015 Visual Studio And I want to run it on Windows environment

Any code you have tried and worked for the gender classification will be helpful:):)

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2016-03-01 04:20:34 -0600

berak gravatar image

updated 2016-03-01 04:26:50 -0600

"I use 3.1 OpenCv version" -- then , please look at 3.1 docs, not 2.4 ones !

http://docs.opencv.org/ref/master/da/...

http://docs.opencv.org/ref/master/db/...

also, you will need to rebuild opencv with opencv_contrib, since the face recognition code was moved there.

please take extra care to read the readme there.

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2016-03-01 04:17:26 -0600

Seen: 778 times

Last updated: Mar 01 '16