Ich habe die Extra-Module von OpenCV (opencv_contrib) mit den folgenden Make-Befehlen fehlerfrei erstellt
Code: Select all
$ cmake -D CMAKE_BUILD_TYPE=RELEASE OPENCV_EXTRA_MODULES_PATH=../opencv_contrib/modules ../opencv-3.1.0
$ make
$ sudo make install
Code: Select all
#include "opencv2/core/core.hpp"
#include "opencv2/highgui/highgui.hpp"
#include "opencv2/imgproc/imgproc.hpp"
#include "opencv2/objdetect/objdetect.hpp"
#include "opencv2/face.hpp" //-----> Doesn't exist
Code: Select all
~/Desktop/OpenCV_Project/OpenCv_Demos/Face_Recognition/main.cpp|6|fatal error: opencv2/face.hpp: No such file or directory|
Wie stelle ich sicher, dass die zusätzlichen Module nach der Make/Make-Installation wirklich mit OpenCV-Quelle erstellt wurden?
Weitere Voraussetzungen:
Ubuntu 15.10
Code::blocks 16.10
gcc-Version 5.2.1
Mobile version