VAT
3.0
Video Analysis Tool
Main Page
ToDo
Modules
Parameters
Classes
Files
File List
File Members
opencvCompatibilityVersion.h
1
#ifndef OPENCVCOMPATIBILITYVERSION_H
2
#define OPENCVCOMPATIBILITYVERSION_H
3
4
/***
5
* Header for OpenCV compatibility between version 2.X.Y and 3.X.Y. If opencv 3.X.Y
6
* is used then the flag __OPENCV3__ is defined.
7
*
8
* **/
9
10
#include <opencv2/core/version.hpp>
11
#if (CV_MAJOR_VERSION == 3) //becarefull if you are using opencv 2.3.Y, cause in this version the enumeration is
12
//"CV_VERSION_EPOCH = 2 . CV_VERSION_MAJOR = X . CV_VERSION_MINOR = Y", but in opencv 3.X.Y is
13
//"CV_MAJOR_VERSION = 3 . CV_MINOR_VERSION = X . CV_SUBMINOR_VERSION = Y", with CV_VERSION_MAJOR = CV_MAJOR_VERSION
14
#define __OPENCV3__
15
#endif
16
17
#endif // OPENCVCOMPATIBILITYVERSION_H
Generated on Fri Jan 15 2016 06:14:51 for VAT by
1.8.11