Apply patch to specify OpenCV version. Fixed #5
Detail: https://code.google.com/p/go-opencv/issues/detail?id=2
This commit is contained in:
parent
1d6ae2dabc
commit
d24c14b7e6
1 changed files with 0 additions and 12 deletions
|
|
@ -7,23 +7,11 @@
|
|||
#ifndef _GO_OPENCV_BINDING_H_
|
||||
#define _GO_OPENCV_BINDING_H_
|
||||
|
||||
#if defined(__linux) || defined(__linux__)
|
||||
// OpenCV 2.0.x
|
||||
# include <opencv/cv.h>
|
||||
# include <opencv/highgui.h>
|
||||
#elif defined(WIN32) || defined(_WIN32)
|
||||
// OpenCV 2.4.x
|
||||
# include <opencv/cv.h>
|
||||
# include <opencv/highgui.h>
|
||||
# include <opencv2/photo/photo_c.h>
|
||||
# include <opencv2/imgproc/imgproc_c.h>
|
||||
#else // Mac OS X ?
|
||||
// OpenCV 2.4.x ?
|
||||
# include <opencv/cv.h>
|
||||
# include <opencv/highgui.h>
|
||||
# include <opencv2/photo/photo_c.h>
|
||||
# include <opencv2/imgproc/imgproc_c.h>
|
||||
#endif
|
||||
|
||||
// Trackbar
|
||||
int GoOpenCV_CreateTrackbar(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue