cudawarped
d427cebd12
Fix mistake introcuded in previous PR and increase test coverage to avod this happening again
5 years ago
cudawarped
b4a3c92867
Merge pull request #15957 from cudawarped:fix_cudacodec_python
...
Fix cudacodec python
* Add python bindings to cudacodec.
* Allow args with CV_OUT GpuMat& or CV_OUT cuda::GpuMat& to generate python bindings that allow the argument to be an optional output in the same way as OutputArray.
* Add wrapper flag to indicate that an OutputArray is a GpuMat.
* python: drop CV_GPU, extra checks in test
* Remove "cuda::GpuMat" check rom python parser
5 years ago
Alexander Alekhin
7ec91aefc1
python: force using of ArgInfo
5 years ago
berak
b7c8e9e874
python: fix type error msg
5 years ago
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
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