Hamdi Sahloul
669ee0415a
Rewrite the UMat Python wrapper
6 years ago
berak
21f3987d53
python: add support for NMSBoxes
6 years ago
Hamdi Sahloul
f1ca05c822
Extend python exception `cv.error`
...
to provide `file`, `func`, `line`, `code`, `msg`, and `err` attributes
6 years ago
Hamdi Sahloul
93bad514a8
Easy binding for python code generator
6 years ago
Alexander Alekhin
270cc3bcbc
videoio: add routines to query information about backends API
...
into cv::videoio_registry namespace
6 years ago
Alexander Alekhin
b09a4a98d4
opencv: Use cv::AutoBuffer<>::data()
6 years ago
ilovezfs
0c4328fbf3
Python 3.7 compatability
...
The result of PyUnicode_AsUTF8() is now of type const char * rather of
char *.
6 years ago
Alexander Alekhin
c2d40b465d
python: fix arg types of cv2_UMatWrapperObject functions
7 years ago
Alexander Alekhin
1207300e01
python: avoid direct cast PyCFunctionWithKeywords->PyCFunction
7 years ago
Dmitry Kurtaev
d5b9563263
Custom deep learning layers in Python
7 years ago
Alexander Alekhin
21026bf7cd
python: fix support of UI callbacks
7 years ago
Dan Mašek
8c1d8eccdd
Merge pull request #11207 from dan-masek:add_redirect_error
...
* Add Python support for error message handlers.
* Move the static variable to the only function that uses it.
* Remove the optional param (user data), since this can already be handled by closures.
* Correct the help string.
* python: added redirectError test
7 years ago
Dan Mašek
f6e299b58b
Fix #11206
7 years ago
Dan Mašek
eae3ed0c08
Fix a leak described in issue #11205
7 years ago
Alexander Alekhin
25be4186bc
python: apply CV_OVERRIDE/CV_FINAL
7 years ago
Andrei Costinescu
38d73123c1
#include <math.h> in cv2.cpp
...
My build fails with the error:
"C:/PROGRA~1/MINGW-~1/X86_64~1.0-P/mingw64/lib/gcc/x86_64-w64-mingw32/7.2.0/include/c++/cmath:1136:11: error: '::hypot' has not been declared".
I have tried to fix it by adding "#include <cmath>" before the line "#include <Python.h>" but then the build has failed with the error:
"C:/PROGRA~1/MINGW-~1/X86_64~1.0-P/mingw64/lib/gcc/x86_64-w64-mingw32/7.2.0/include/c++/math.h:91:12:: error: 'std::_hypot' has not been declared".
Adding "#include <math.h>" allowed me to build opencv.
7 years ago
luz.paz
d05714995c
Misc. modules/ cont. pt2
...
Found via `codespell`
7 years ago
Alexander Alekhin
9e298ea1bb
build: eliminate c++17 Python build warning
7 years ago
Alexander Alekhin
768f4cb7bc
python: 'sub-module' for binding sources and documentation meta information
7 years ago
Vitaly Tuzov
868ad16041
Python wrappers for Vec and Matx
7 years ago
Igor Wodiany
e2499e5b2f
Move vector_size_t and vector_vector_Mat
...
These two typdefs are not compiled when BUILD_opencv_dnn is set to
false, however there are other modules that uses these typedef so
it may cause build errors. Moving typedef to the python module
ensures they are always defined.
7 years ago
Lewis B
1caca2112b
Merge pull request #8934 from lewisjb:python-classes
...
* Refactor Python Classes
7 years ago
Alexander Alekhin
72f789bf34
core: fix type traits
7 years ago
Alexander Alekhin
46f05f2db6
python: disable assertion in NumpyAllocator
7 years ago
Werner Palfinger
0f42031b10
fixed typo in pyopencv_from Point3d
8 years ago
Pavel Rojtberg
930611dfa8
python: move Ptr specializations above generic_vec to allow vector_Ptr_T
8 years ago
Peter Würtz
a4c70aebd0
Expose UMat OpenCL handles and buffer information to python
8 years ago
Hamdi Sahloul
89088937a7
Avoid memory leakage in smart pointers wrapper
8 years ago
Hamdi Sahloul
c75b589f89
Wraps smart pointers properly
8 years ago
Hans Gaiser
11b24eb49f
Expose CirclesGridFinderParameters in findCirclesGrid.
8 years ago
Pavel Rojtberg
789dc0a3b7
python: type of initial_button_state must match format string
8 years ago
Hamdi Sahloul
232d6b87f4
cv::Matx python wrapper
8 years ago
Peter Würtz
c659f94dca
Expose more UMat constructors to python
8 years ago
Alexander Alekhin
cc09f5a7de
Merge pull request #7854 from alalek:backports_2016
...
(2.4) Backports from master branch (#7854 )
8 years ago
abratchik
8da1303179
add vector_vector_KeyPoint support to python wrappers
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
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
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