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.
it's all in core.hpp
Thanks but I have already included core.hpp but itsn´t working. That is so strange..
Any luck with this? I've run into the same problem using java
@psphill, in java, you'll have to resort to PCAProject and such