Object Detection  5.0
Image Processing Using Qt and Opencv
imageprocessors_global.h
1 #ifndef IMAGEPROCESSORS_GLOBAL_H
2 #define IMAGEPROCESSORS_GLOBAL_H
3 
4 #ifndef USE_STATIC_LIB
5 # include <QtCore/qglobal.h>
6 # define IMG_PROC_LIB IMAGEPROCESSORSSHARED_EXPORT
7 # if defined(IMAGEPROCESSORS_LIBRARY)
8 # define IMAGEPROCESSORSSHARED_EXPORT Q_DECL_EXPORT
9 # else
10 # define IMAGEPROCESSORSSHARED_EXPORT Q_DECL_IMPORT
11 # endif
12 #else
13 # define IMG_PROC_LIB
14 #endif
15 
16 
17 
18 
19 #ifdef USE_CPP_STD_14
20 #include <cstdio>
21 # define INIT_UNIQUE_PTR(TYPE, ...) std::make_unique<TYPE>(__VA_ARGS__)
22 #else
23 # define INIT_UNIQUE_PTR(TYPE, ...) std::unique_ptr<TYPE>(new TYPE(__VA_ARGS__))
24 #endif
25 #endif // IMAGEPROCESSORS_GLOBAL_H