Follow this step:
https://help.ubuntu.com/community/OpenCV
Remember to make sure CheckInstall is installed.
In code block project, include the header:
/usr/local/include
include the library:
/usr/local/lib/libopencv_core.so
/usr/local/lib/libopencv_highgui.so
include files:
#include "opencv2/core/core_c.h"
#include "opencv2/core/core.hpp"
#include "opencv2/flann/miniflann.hpp"
#include "opencv2/imgproc/imgproc_c.h"
#include "opencv2/imgproc/imgproc.hpp"
#include "opencv2/video/video.hpp"
#include "opencv2/features2d/features2d.hpp"
#include "opencv2/objdetect/objdetect.hpp"
#include "opencv2/calib3d/calib3d.hpp"
#include "opencv2/ml/ml.hpp"
#include "opencv2/highgui/highgui_c.h"
#include "opencv2/highgui/highgui.hpp"
#include "opencv2/contrib/contrib.hpp"
No comments:
Post a Comment