mirror of
https://github.com/opencv/opencv.git
synced 2026-09-13 05:42:51 -05:00
Modify default setting, using ocl method when have ocl module
This commit is contained in:
committed by
Ilya Lavrenov
parent
2cf16db683
commit
632b21e090
@@ -3,8 +3,8 @@
|
||||
#include "opencv2/ml/ml.hpp"
|
||||
#include "opencv2/highgui/highgui.hpp"
|
||||
#ifdef HAVE_OPENCV_OCL
|
||||
#define _OCL_KNN_ 0 // select whether using ocl::KNN method or not, default is not
|
||||
#define _OCL_SVM_ 0 // select whether using ocl::svm method or not, default is not
|
||||
#define _OCL_KNN_ 1 // select whether using ocl::KNN method or not, default is using
|
||||
#define _OCL_SVM_ 1 // select whether using ocl::svm method or not, default is using
|
||||
#include "opencv2/ocl/ocl.hpp"
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user