You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
866 B
24 lines
866 B
9 years ago
|
#include <opencv2/opencv.hpp>
|
||
|
|
||
|
#define CV_VERSION_ID CVAUX_STR(CV_MAJOR_VERSION) CVAUX_STR(CV_MINOR_VERSION) CVAUX_STR(CV_SUBMINOR_VERSION)
|
||
|
|
||
|
#ifdef _DEBUG
|
||
|
#define cvLIB(name) "opencv_" name CV_VERSION_ID "d"
|
||
|
#else
|
||
|
#define cvLIB(name) "opencv_" name CV_VERSION_ID
|
||
|
#endif
|
||
|
|
||
|
#pragma comment( lib, cvLIB("core") )
|
||
|
#pragma comment( lib, cvLIB("imgproc") )
|
||
|
#pragma comment( lib, cvLIB("highgui") )
|
||
|
#pragma comment( lib, cvLIB("flann") )
|
||
|
#pragma comment( lib, cvLIB("features2d") )
|
||
|
#pragma comment( lib, cvLIB("calib3d") )
|
||
|
#pragma comment( lib, cvLIB("gpu") )
|
||
|
#pragma comment( lib, cvLIB("legacy") )
|
||
|
#pragma comment( lib, cvLIB("ml") )
|
||
|
#pragma comment( lib, cvLIB("objdetect") )
|
||
|
#pragma comment( lib, cvLIB("ts") )
|
||
|
#pragma comment( lib, cvLIB("video") )
|
||
|
#pragma comment( lib, cvLIB("contrib") )
|
||
|
#pragma comment( lib, cvLIB("nonfree") )
|