Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

subspaceProject/reconstruct identifier not found

Hi!

I have a problem with the LDA class. I want to use something like this:

cv::Mat projection = LDA::subspaceProject(eigenvectors, averageFaceRow, img_new.reshape(1,1));  
cv::Mat reconstructionRow = LDA::subspaceReconstruct(eigenvectors,averageFaceRow, projection);

But I obtain errors like : LDA is not a namespace or class and subspaceProject identifier not found (same for Reconstruct) I have this code from " Mastering OpenCV with Practical Computer Vision Projects" which works with OpenCV 2.4. I work with OpenCV 3.0 master_contrib extra modules from Github/Itseez

Couldn´t find information about what I need to include or what´s wrong.

Thanks.