luz.paz
fcc7d8dd4e
Fix modules/ typos
...
Found using `codespell -q 3 -S ./3rdparty -L activ,amin,ang,atleast,childs,dof,endwhile,halfs,hist,iff,nd,od,uint`
backporting of commit: ec43292e1e
5 years ago
luz.paz
ec43292e1e
Fix modules/ typos
...
Found using `codespell -q 3 -S ./3rdparty -L activ,amin,ang,atleast,childs,dof,endwhile,halfs,hist,iff,nd,od,uint`
5 years ago
Maksim Shabunin
d60ac98ef2
Limited API support for Python3
6 years ago
Maksim Shabunin
10d61a2b44
Limited API support for Python3
6 years ago
Alexander Alekhin
f5b58e5fc9
bindings: backport generator from OpenCV 4.x
...
- better handling of enum arguments
- less merge conflicts
6 years ago
Diego Barrios Romero
7a884ab6a5
Fix closing input file
6 years ago
Alexander Alekhin
5575171652
Merge pull request #12673 from alalek:fix_build_warnings
...
* fix build warnings
* python: forbid wrapping of functions with "void*" arguments
6 years ago
Hamdi Sahloul
e104fcc000
Generate enum bindings automatically
6 years ago
Alexander Alekhin
89720ae24d
python: fix "unsigned int" / "size_t" overloading conflict
6 years ago
Hamdi Sahloul
4e6be21a44
Support enum arguments for Python binding
6 years ago
Hamdi Sahloul
f89e4e7dd0
Support parsing C++11 `enum struct` and `enum class`
6 years ago
Hamdi Sahloul
2bbe31a8f6
Support non-static phantom methods for binding generator
6 years ago
Hamdi Sahloul
7cdb0eafeb
Enable the binding generator to parse shadow files
6 years ago
Hamdi Sahloul
d4ac4fcde1
Python binding: METH_STATIC instead of METH_CLASS for static functions
6 years ago
Hamdi Sahloul
b5eb65e53e
Improve Python binding generator with mappable types and phantom headers
6 years ago
Hamdi Sahloul
900df21b7d
Support enum-type detection for binding generator
6 years ago
Hamdi Sahloul
293facbae7
Support Python binding for CUDA functionalities
6 years ago
Alexander Alekhin
1207300e01
python: avoid direct cast PyCFunctionWithKeywords->PyCFunction
7 years ago
Alexander Alekhin
768f4cb7bc
python: 'sub-module' for binding sources and documentation meta information
7 years ago
Alexander Alekhin
cbf2b51e40
bindings(py): fix handling of 'isalgorithm'
7 years ago
Cartucho
7267e94be7
Merge pull request #9736 from Cartucho/const_and_class_to_json
...
* Adding constants to json file
* adding sub-module to constants name
* adding namespace to functions
* adding namespace to classes
* remove namespace from methods
* static methods
* python signatures generation
* python: more fixes for signatures generation
Python names existence can be checked via command:
python -c "import cv2 as cv; print(repr(<py_name>))"
7 years ago
Alexander Alekhin
200c8a0d3a
python: generate pyopencv_signatures.json file
7 years ago
Lewis B
1caca2112b
Merge pull request #8934 from lewisjb:python-classes
...
* Refactor Python Classes
7 years ago
Alexander Alekhin
b32d914aab
static analyze: python dynamic_cast checks
8 years ago
Alexander Alekhin
6ea6e4bceb
binding: fix headers processing
8 years ago
lewisjb
078b4cc971
Added Python Docstrings
8 years ago
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
berak
11e563fd5d
python: support for size_t args (default value)
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
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
Maksim Shabunin
82adf7955f
Fix python submodules inheritance detection
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
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
e368f17caf
fixed python bindings generation
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
1d1bfd3d7d
automatic search for headers for python wrapper generation
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