Maksim Shabunin
8011be2810
Python bindings: added std::vector< std::pair< int, double > > type read support
9 years ago
Nikolay Polyarniy
46e08d34dd
T-API python support implemented:
...
- cv2.UMat implemented - python thin wrapper for UMat
- no implicit copy from GPU to Host done, resulting UMat can be passed to next function without overhead
- cv2.UMat.get() - to fetch data to Host
- new tests covers: ORB, BFMatcher, goodFeaturesToTrack, calcOpticalFlowPyrLK
9 years ago
berak
1048b235bf
add Rect2d to python bindings
9 years ago
Maksim Shabunin
f49936a849
Fixed cmake and build issues when using Visual Studio 2015
9 years ago
Wangyida
ca599eee40
python modification for Point3D
9 years ago
Maksim Shabunin
6e9d0d9a0c
Visual Studio 2015 warning and test fixes
9 years ago
boatx
d674965bf9
Fixing typo in variable name.
9 years ago
Maksim Shabunin
fef7509eed
NumpyAllocator: check reference count before actual release, revert flann changes
10 years ago
Jaime Fernandez
c613ee2da4
BUG: ndarray to Mat conversion with NPY_RELAXED_STRIDES set
...
Add logic to avoid nonsense strides when dimension size is 1 and
NumPy is built with NPY_RELAXED_STRIDES from tripping OpenCV.
10 years ago
Mansour Moufid
b99f7a29df
Cast some image coordinates and sizes to double.
...
Conflicts:
modules/gpu/perf/perf_imgproc.cpp
Cast a long integer to double explicitly.
Conflicts:
modules/python/src2/cv2.cpp
Cast some matrix sizes to type int.
Change some vector mask types to unsigned.
Conflicts:
modules/core/src/arithm.cpp
10 years ago
Ying Xiong
2d8b4fea9f
Add #ifdef's such that python wrapper builds independent of other components
10 years ago
Adam Greig
211a131351
Fix Python3 binding's submodules
...
Previously the Python3 cv2 package ends up with no submodules (bgsegm, face,
etc) in it, which makes a lot of functionality unusable. By not writing over
our root reference we ensure the new submodules are added to the correct cv2
module.
10 years ago
Mansour Moufid
7d4cbbd7aa
Cast a long integer to double explicitly.
10 years ago
abidrahmank
797143d515
extending stitching module for Java and Python bindings
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 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
Vadim Pisarevsky
8e9d1d9fe6
temporarily disabled java bindings for ml; hopefully fixed warnings etc.
10 years ago
Vadim Pisarevsky
e368f17caf
fixed python bindings generation
10 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
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
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
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
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
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
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
Alexander Shishkov
6df203c449
Fixes for Linux compilation, small changes
11 years ago
Alexander Mordvintsev
25b9ac18e6
fixed Bug #3143 - flann 'not implemented' error
12 years ago
Roman Donchenko
28a5c127ea
Made the Python bindings not use deprecated NumPy 1.7 API.
12 years ago
abidrahmank
5d863f7516
drawMatches python bindings
12 years ago
Gabe Schwartz
bb209193c9
Updated usage of METH_X definitions for python 3.
...
Python 3 requires METH_VARARGS | METH_KEYWORDS, not just METH_KEYWORDS.
12 years ago
Gabe Schwartz
fb9781b97b
Updated cv2.cpp to support Python 3 API.
...
Added a header with defines to enable the module to compile with either
python 2 or 3 without changes.
12 years ago