Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
8e9d1d9f
Commit
8e9d1d9f
authored
Aug 03, 2014
by
Vadim Pisarevsky
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
temporarily disabled java bindings for ml; hopefully fixed warnings etc.
parent
2520e335
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9 additions
and
10 deletions
+9
-10
CMakeLists.txt
modules/java/CMakeLists.txt
+1
-1
rst_parser.py
modules/java/generator/rst_parser.py
+1
-1
jni_part.cpp
modules/java/generator/src/cpp/jni_part.cpp
+1
-8
test_save_load.cpp
modules/ml/test/test_save_load.cpp
+0
-0
cv2.cpp
modules/python/src2/cv2.cpp
+6
-0
No files found.
modules/java/CMakeLists.txt
View file @
8e9d1d9f
...
...
@@ -6,7 +6,7 @@ if(IOS OR NOT PYTHON_EXECUTABLE OR NOT ANT_EXECUTABLE OR NOT (JNI_FOUND OR (ANDR
endif
()
set
(
the_description
"The java bindings"
)
ocv_add_module
(
java BINDINGS opencv_core opencv_imgproc OPTIONAL opencv_objdetect opencv_features2d opencv_video opencv_imgcodecs opencv_videoio opencv_
ml opencv_
calib3d opencv_photo opencv_nonfree opencv_contrib
)
ocv_add_module
(
java BINDINGS opencv_core opencv_imgproc OPTIONAL opencv_objdetect opencv_features2d opencv_video opencv_imgcodecs opencv_videoio opencv_calib3d opencv_photo opencv_nonfree opencv_contrib
)
ocv_module_include_directories
(
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/generator/src/cpp"
)
if
(
NOT ANDROID
)
...
...
modules/java/generator/rst_parser.py
View file @
8e9d1d9f
...
...
@@ -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
...
...
modules/java/generator/src/cpp/jni_part.cpp
View file @
8e9d1d9f
...
...
@@ -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
...
...
modules/ml/test/test_save_load.cpp
View file @
8e9d1d9f
modules/python/src2/cv2.cpp
View file @
8e9d1d9f
...
...
@@ -376,6 +376,12 @@ static bool pyopencv_to(PyObject* o, Mat& m, const ArgInfo info)
return
true
;
}
template
<>
bool
pyopencv_to
(
PyObject
*
o
,
Mat
&
m
,
const
char
*
name
)
{
return
pyopencv_to
(
o
,
m
,
ArgInfo
(
name
,
0
));
}
template
<>
PyObject
*
pyopencv_from
(
const
Mat
&
m
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment