1 | initial version |
"I installed opencv-2.4.9. Is this the problem?" - yes, it seems the samply you're trying is for 3.0..
for 2.4.9, use(this example) and:
#include "opencv2/contrib/contrib.hpp"
if you use 3.0, get the opencv_contrib repo, and
#include "opencv2/face.hpp"
2 | No.2 Revision |
"I installed opencv-2.4.9. Is this the problem?" - yes, it seems the samply sample you're trying is for 3.0..
for 2.4.9, use(this example) and:
#include "opencv2/contrib/contrib.hpp"
if you use 3.0, get the opencv_contrib repo, and
#include "opencv2/face.hpp"