Ask Your Question

Revision history [back]

error: No member named 'getMat' in 'cv::face::FaceRecognizer'

Hello im low on time. I need a quick solution to this. I'm using opencv 3.0 and trying to get eigenvalues from this Fisherface recognizer model:

*Mat eigenvalues = model->getMat("eigenvalues");*

But it says 'getMat' is not a member in cv::face::FaceRecognizer. I tried reading the transition of opencv 2.0 to 3.0 and someone suggested using "GetLabelsByString" but i dont get it.

What should I use instead of getMat?