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
10 years ago
Alexander Mordvintsev
a2ae1db31c
'adas' extra module doesn't produce .lib on windows (causes link error)
10 years ago
Alexander Mordvintsev
9ab3b89c53
pass header list to gen2.py by a text file (avoid command line length limit on windows)
10 years ago
Alexander Mordvintsev
42ecfc5538
fixed parsing enums with tailing comma
...
gen2.py reports headers it processes
cmake file restructured
10 years ago
Alexander Mordvintsev
964657a155
glob for python module dependences
10 years ago
Alexander Mordvintsev
1d1bfd3d7d
automatic search for headers for python wrapper generation
10 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
Alexander Alekhin
4d0848b3e8
fix -Wmaybe-uninitialized warning (initialize pointers to NULL)
11 years ago
Gabe Schwartz
c19b6ed20e
Fixed pyopencv_to w/FLANN IndexParams in python3.
...
The keys() and values() functions on dictionaries in Python 3 no longer
return lists. pyopencv_to() for flann::IndexParams now iterates over
the dictionary in a way that is version-agnostic.
11 years ago
Alexander Mordvintsev
2756ae2051
exposed OpenCL-control functions to python
11 years ago
Alexander Mordvintsev
dd67ea0210
find -> rindex
11 years ago
Alexander Mordvintsev
120b3a1e77
Work on python wrapped generation automation:
...
- all parsed headers are included into "cv2.cpp" with "pyopencv_generated_include.h"
- types starting with "Ptr_" converted to "Ptr<...>" form (avoids many typedefs in "cv2.cpp")
11 years ago
unknown
75534a4828
Python typdef fixed. Reverted the example to MOG2. Not time to make the command line switch for now.
11 years ago
Alexander Alekhin
95e38e457f
core/umat: usage flags (with proposals from PR #2195 )
11 years ago
Alexander Alekhin
91ca834be9
bug fix for issue 3470
11 years ago
Alexander Smorkalov
3ebdcafdd3
All installed files marked with component names for install customization.
...
(cherry picked from commit b75cbfde45
)
Conflicts:
cmake/OpenCVModule.cmake
11 years ago
Alexander Smorkalov
b75cbfde45
All installed files marked with component names for install customization.
11 years ago
Andrey Pavlenko
f9aa148ba9
eliminating VS2013 build warnings
11 years ago
Vadim Pisarevsky
6da5d21331
fixed many bugs related to Mat::getUMat(), asynchronous kernel execution etc. Also, played a bit with ocl::cvtColor vs cv::cvtColor performance
11 years ago
Michael Pratt
8aafd569c8
Support PyString_AsString() in Python 3 < 3.3
...
In Python 3, version 3.3+, PyUnicode_AsUTF8() provides similar
functionality to Python 2's PyString_AsString().
In older versions of Python 3, there is no public function to provide
the same functionality. However, the "internal" _PyUnicode_AsString()
does provide that functionality, so use it to replace
PyString_AsString().
With this patch, cv2 should compile for Python 3.[0-2].
11 years ago
Vadim Pisarevsky
e14171fd33
fixed crash in Python bindings
11 years ago
Vadim Pisarevsky
303df78cca
removed refcount field from Mat; that helped to find and eliminate some memory leaks. perf tests should probably pass now
11 years ago
Vadim Pisarevsky
de521fc9fa
fixed some more compile bugs (including Python bindings)
11 years ago
Alexander Alekhin
4adede4246
cmake: python module updates
11 years ago
Vadim Pisarevsky
851a8a1cd0
fixed whitespace error
11 years ago
Alexander Mordvintsev
f0b050fa88
exposed LineSegemntDetector to python
11 years ago
Fedor Morozov
c9ace38897
Docs updated, added InputArray, fixes for makePtr,...
11 years ago
Alexander Mordvintsev
79d51c3398
expose findEssentialMat, decomposeEssentialMat and recoverPose to Python
11 years ago
Vladislav Vinogradov
0c7663eb3b
Merge branch 'master' into gpu-cuda-rename
...
Conflicts:
modules/core/include/opencv2/core/cuda.hpp
modules/cudacodec/src/thread.cpp
modules/cudacodec/src/thread.hpp
modules/superres/perf/perf_superres.cpp
modules/superres/src/btv_l1_cuda.cpp
modules/superres/src/optical_flow.cpp
modules/videostab/src/global_motion.cpp
modules/videostab/src/inpainting.cpp
samples/cpp/stitching_detailed.cpp
samples/cpp/videostab.cpp
samples/gpu/stereo_multi.cpp
11 years ago
Roman Donchenko
dadee3752c
Adapt Python bindings to the new Ptr.
11 years ago
Alexander Shishkov
924f7ce373
small changes for compilation
11 years ago
Roman Donchenko
67ae438dae
Refactored NumPy detection.
...
Most importantly, added support for multiple include directores,
but also did some general cleanup.
11 years ago
Roman Donchenko
e9a28f66ee
Normalized file endings.
11 years ago
Roman Donchenko
f55740da70
Deleted all trailing whitespace.
11 years ago
abidrahmank
96c1df14f4
CLAHE Python bindings
11 years ago
Alexander Shishkov
c4fb0e9dbb
few changes for compilation
11 years ago