Maksim Shabunin
3212dd5465
Python test: new options provide local test data paths
10 years ago
Maksim Shabunin
84379140ba
Python test: added options to provide local data path
10 years ago
Shiquan Wang
7127634aa0
Mod: Open header files with `io.open` for Python 2/3 compatibility.
10 years ago
Vadim Pisarevsky
80a985c894
fixed path to the checkerboard image
10 years ago
Vadim Pisarevsky
1176d4ef84
fixed some more compile errors and test failures
10 years ago
Vadim Pisarevsky
c422bdc3f8
fixed some more compile errors and test failures
10 years ago
abidrahmank
797143d515
extending stitching module for Java and Python bindings
10 years ago
Maksim Shabunin
6337fd0650
Support of bioinspired contrib module wrapping
...
- added java wrapper
- disabled python wrapper
10 years ago
Huu Nguyen
81b9be1623
Fix implicit narrowing error in initializer list
...
The implicit narrowing in the initializer list throws a compiler error for some compilers with C++11 support turned on. The specific error message is: "error: narrowing conversion of 'PyInt_AsLong(((PyObject*)o))' from 'long int' to 'double' inside { }".
Tested on Clang 5.1.0 and Mac OS X 10.9.4.
10 years ago
Alexander Smorkalov
35768ed638
Python tests added to -tests deb package.
10 years ago
Alexander Mordvintsev
c1032b6232
remove structured_edge_detection.hpp from blacklist
...
don't discard pure virtual methods in hdr_parser.py (was broken anyway)
10 years ago
Alexander Mordvintsev
c23d6b67ee
blacklisted 'tracking' due to some linking problem
10 years ago
Alexander Mordvintsev
2a9e252f77
fix namespace conflicts (like cv::inpaint and cv::xphoto::inpaint)
...
whitespace fix
10 years ago
Alexander Mordvintsev
74c77d826f
base class name resolution
...
fixed find_obj.py
10 years ago
Alexander Mordvintsev
40d0f853d6
removing modules from blacklist
10 years ago
Alexander Mordvintsev
c4c731c0aa
fixing warnings
...
keep old const names for compatibility
10 years ago
Alexander Mordvintsev
c22dcb04af
fixing warnings
10 years ago
Alexander Mordvintsev
e74cddfbd1
put consts into python submodules
...
maintain set of visited namespaces in CppHeaderParser
WARNING: REMOVED const name conversion (SomeConstName -> SOME_CONST_NAME), discussion needed
10 years ago
Alexander Mordvintsev
6d1c02ffed
unified namespace population with 'init_submodule'
10 years ago
Alexander Mordvintsev
4a519a25f3
nested classes support
10 years ago
Alexander Mordvintsev
5ad7f9910f
function namespaces partially work
10 years ago
Alexander Mordvintsev
e85e83f491
handling namespaces on parsing functions
...
submodule method tables generation
10 years ago
Vadim Pisarevsky
740c5234b1
fix compile problems with contributed ximgproc/xphoto
10 years ago
Vadim Pisarevsky
6f86c9f118
another mac-related fix, let's squeeze it in this PR too
10 years ago
Vadim Pisarevsky
31df47b6ea
moved nonfree and a part of features2d to opencv_contrib/xfeatures2d
10 years ago
Vadim Pisarevsky
d0137b6d2d
moved part of video to contrib/{outflow, bgsegm}; moved matlab to contrib
10 years ago
Vadim Pisarevsky
e2f24f43c9
added some basic functionality needed by the new face module (moved from the old "contrib")
10 years ago
Michael Pratt
e9ccadebed
Support Python 2 and 3 in test script
...
Add Python 3 support to the Python test.py script.
The print function is used in place of the print statement.
The urlopen function has been moved to urllib.request in Python 3, so
attempt to import it from either location.
TestCase.assert_() has been deprecated in place of
TestCase.assertTrue().
The tests all pass in both Python 2 and 3.
10 years ago
Michael Pratt
7d41ce23a7
Build Python 3 bindings in subdirectory
...
Build the Python 3 cv2 module in lib/python3/, to avoid potential naming
conflicts with the Python 2 bindings.
The Python 2 bindings are placed directly in lib/, where they are
required for the Buildbot to successfully execute the Python tests.
10 years ago
Michael Pratt
d921cde4d2
Add opencv_matlab to Python ignored modules
...
Requested by @vpisarev in #3047 .
10 years ago
Michael Pratt
9d9411555f
Place Python library out in dedicated folder
...
Place the built Python module library in a dedicated folder inside of
lib/. This ensures that even if the Python 2 and Python 3 module names
conflict, they will not overwrite one another.
10 years ago
Michael Pratt
976c727eec
Fix a few more PYTHON_NUMPY_INCLUDE_PATH
...
The previous commit fixing references to PYTHON_NUMPY_INCLUDE_PATH
missed a few unset()s.
10 years ago
Alexander Alekhin
55188fe991
world fix
10 years ago
Vladislav Vinogradov
cdb7b83741
fix python module compilation with enabled CUDA support:
...
filterout all CUDA related headers from python module include headers
10 years ago
Vadim Pisarevsky
8e9d1d9fe6
temporarily disabled java bindings for ml; hopefully fixed warnings etc.
10 years ago
Michael Pratt
52df3b232d
Reference PYTHON_NUMPY_INCLUDE_DIRS not PYTHON_NUMPY_INCLUDE_PATH
...
PYTHON_NUMPY_INCLUDE_PATH was a typo, it should have been
PYTHON_NUMPY_INCLUDE_DIRS.
10 years ago
Vadim Pisarevsky
e368f17caf
fixed python bindings generation
10 years ago
Vadim Pisarevsky
042892f0d7
hopefully fixed Python tests
10 years ago
Alexander Mordvintsev
5f47f70183
module blacklist
11 years ago
Alexander Mordvintsev
a2ae1db31c
'adas' extra module doesn't produce .lib on windows (causes link error)
11 years ago
Alexander Mordvintsev
9ab3b89c53
pass header list to gen2.py by a text file (avoid command line length limit on windows)
11 years ago
Alexander Mordvintsev
42ecfc5538
fixed parsing enums with tailing comma
...
gen2.py reports headers it processes
cmake file restructured
11 years ago
Alexander Mordvintsev
964657a155
glob for python module dependences
11 years ago
Alexander Mordvintsev
1d1bfd3d7d
automatic search for headers for python wrapper generation
11 years ago
vbystricky
d58f736935
Split highgui module to videoio and highgui
11 years ago
vbystricky
4286f60387
Extract imgcodecs module from highgui
11 years ago
Mike Maraya
95550c2582
test.py: Check if camera_calibration.tar.gz file exists before downloading it, opencv bug #3782
11 years ago
Alexander Alekhin
3a8af7d691
fix python tests
11 years ago
Michael Pratt
cac1218eef
Build both Python 2 and Python 3 bindings
...
If both Python 2 and Python 3 are found, then build bindings for both of
them during the build process. Currently, one version of Python is
detected automatically, and building for the other requires changes the
CMake config.
The largest chunk of this change generalizes OpenCVDetectPython.cmake to
find both a Python 2 and Python 3 version of Python. Secondly, the
opencv_python module is split into two modules, opencv_python2 and
opencv_python3. Both are built from the same source. but for different
versions of Python.
11 years ago
Vadim Pisarevsky
3858f2291d
removed contrib, legacy and softcsscade modules; removed latentsvm and datamatrix detector from objdetect. removed haartraining and sft apps.
...
some of the stuff will be moved to opencv_contrib module.
in order to make this PR pass buildbot, please, comment off opencv_legacy, opencv_contrib and opencv_softcascade test runs.
11 years ago