Vitaliy Lyudvichenko
ab8de8f506
Adding of user-defined type conversions for python bindings inside module directories
...
Adding of destructor and placement new constructors for classes wrapped with CV_EXPORTS_W_SIMPLE macro
8 years ago
Alexander Alekhin
c0fe374490
cmake: python, allow dynamic symbols lookup from libpython.so
9 years ago
Matthew Skolaut
f861d0d643
merge #ifs in highgui bindings
9 years ago
Matthew Skolaut
7284a77cd3
fix casting warning in python createButton binding
9 years ago
Matthew Skolaut
9b959072a2
added python binding for createButton
9 years ago
Maksim Shabunin
8011be2810
Python bindings: added std::vector< std::pair< int, double > > type read support
9 years ago
berak
11e563fd5d
python: support for size_t args (default value)
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
Maksim Shabunin
78ddc567f9
Python generator: moved base class handling to the generate step
10 years ago
Maksim Shabunin
c137ba53a0
Wrap ANN_MLP class into Python
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
Maksim Shabunin
82adf7955f
Fix python submodules inheritance detection
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
Mike Izbicki
ac47c0c624
fix to work with python 2.6
...
I had to make this modification locally to get opencv to build with python 2.6. Python 2.6 requires indices in the format string (the `0` I added). This requirement was relaxed in 2.7, so what used to be there would be working for people who could upgrade. I don't think the change has any negative consequences for future python versions, but I'm no expert.
10 years ago
Shiquan Wang
7127634aa0
Mod: Open header files with `io.open` for Python 2/3 compatibility.
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
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
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
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
8e9d1d9fe6
temporarily disabled java bindings for ml; hopefully fixed warnings etc.
10 years ago
Vadim Pisarevsky
e368f17caf
fixed python bindings generation
10 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
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
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