mirror of
https://github.com/opencv/opencv.git
synced 2026-07-30 15:53:03 +04:00
temporarily disabled java bindings for ml; hopefully fixed warnings etc.
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
from __future__ import print_function
|
||||
import os, sys, re, string, fnmatch
|
||||
allmodules = ["core", "flann", "imgproc", "ml", "imgcodecs", "videoio", "highgui", "video", "features2d", "calib3d", "objdetect", "legacy", "contrib", "cuda", "androidcamera", "java", "python", "stitching", "ts", "photo", "nonfree", "videostab", "softcascade", "superres"]
|
||||
allmodules = ["core", "flann", "imgproc", "imgcodecs", "videoio", "highgui", "video", "features2d", "calib3d", "objdetect", "legacy", "contrib", "cuda", "androidcamera", "java", "python", "stitching", "ts", "photo", "nonfree", "videostab", "softcascade", "superres"]
|
||||
verbose = False
|
||||
show_warnings = True
|
||||
show_errors = True
|
||||
|
||||
@@ -14,10 +14,6 @@
|
||||
# include "opencv2/video.hpp"
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_OPENCV_ML
|
||||
# include "opencv2/ml.hpp"
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_OPENCV_CONTRIB
|
||||
# include "opencv2/contrib.hpp"
|
||||
#endif
|
||||
@@ -41,10 +37,7 @@ JNI_OnLoad(JavaVM* vm, void* )
|
||||
#ifdef HAVE_OPENCV_VIDEO
|
||||
init &= cv::initModule_video();
|
||||
#endif
|
||||
#ifdef HAVE_OPENCV_ML
|
||||
init &= cv::initModule_ml();
|
||||
#endif
|
||||
#ifdef HAVE_OPENCV_CONTRIB
|
||||
#ifdef HAVE_OPENCV_CONTRIB
|
||||
init &= cv::initModule_contrib();
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user