Alexander Alekhin
83efde6243
Merge pull request #12678 from cv3d:cleanup/python/enums
2018-09-28 16:07:21 +00:00
Alexander Alekhin
5575171652
Merge pull request #12673 from alalek:fix_build_warnings
...
* fix build warnings
* python: forbid wrapping of functions with "void*" arguments
2018-09-28 16:53:05 +03:00
Hamdi Sahloul
e104fcc000
Generate enum bindings automatically
2018-09-28 15:39:51 +09:00
Hamdi Sahloul
ef5579dc86
Merge pull request #12310 from cv3d:chunks/enum_interface
...
* Cleanup macros and enable expansion of `__VA_ARGS__` for Visual Studio
* Macros for enum-arguments backwards compatibility
* Convert struct Param to enum struct
* Enabled ParamType.type for enum types
* Enabled `cv.read` and `cv.write` for enum types
* Rename unnamed enum to AAKAZE.DescriptorType
* Rename unnamed enum to AccessFlag
* Rename unnamed enum to AgastFeatureDetector.DetectorType
* Convert struct DrawMatchesFlags to enum struct
* Rename unnamed enum to FastFeatureDetector.DetectorType
* Rename unnamed enum to Formatter.FormatType
* Rename unnamed enum to HOGDescriptor.HistogramNormType
* Rename unnamed enum to DescriptorMatcher.MatcherType
* Rename unnamed enum to KAZE.DiffusivityType
* Rename unnamed enum to ORB.ScoreType
* Rename unnamed enum to UMatData.MemoryFlag
* Rename unnamed enum to _InputArray.KindFlag
* Rename unnamed enum to _OutputArray.DepthMask
* Convert normType enums to static const NormTypes
* Avoid conflicts with ElemType
* Rename unnamed enum to DescriptorStorageFormat
2018-09-21 18:12:35 +03:00
Alexander Alekhin
808ba552c5
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2018-09-14 23:44:35 +00:00
Hamdi Sahloul
03b3be0f51
MSVC: Slience external/meaningless warnings
2018-09-12 20:02:13 +09:00
Alexander Alekhin
89720ae24d
python: fix "unsigned int" / "size_t" overloading conflict
2018-09-10 11:24:47 +00:00
Alexander Alekhin
dca657a2fd
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2018-09-10 00:10:21 +03:00
Hamdi Sahloul
a39e0daacf
Utilize CV_UNUSED macro
2018-09-07 20:33:52 +09:00
Sayed Adel
f5d181db3a
python:ppc64 Add missing support for PyLongObject
2018-09-06 20:04:05 +00:00
Hamdi Sahloul
669ee0415a
Rewrite the UMat Python wrapper
2018-09-01 01:36:10 +09:00
Alexander Alekhin
c1db75e0c7
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2018-08-29 16:24:56 +03:00
berak
21f3987d53
python: add support for NMSBoxes
2018-08-25 08:44:45 +02:00
Hamdi Sahloul
f1ca05c822
Extend python exception cv.error
...
to provide `file`, `func`, `line`, `code`, `msg`, and `err` attributes
2018-08-25 01:58:42 +09:00
Hamdi Sahloul
93bad514a8
Easy binding for python code generator
2018-08-25 01:58:42 +09:00
Alexander Alekhin
270cc3bcbc
videoio: add routines to query information about backends API
...
into cv::videoio_registry namespace
2018-07-19 17:27:37 +03:00
Alexander Alekhin
b09a4a98d4
opencv: Use cv::AutoBuffer<>::data()
2018-07-04 19:11:29 +03:00
ilovezfs
0c4328fbf3
Python 3.7 compatability
...
The result of PyUnicode_AsUTF8() is now of type const char * rather of
char *.
2018-07-03 00:38:59 -07:00
Alexander Alekhin
c2d40b465d
python: fix arg types of cv2_UMatWrapperObject functions
2018-05-30 18:07:03 +03:00
Alexander Alekhin
1207300e01
python: avoid direct cast PyCFunctionWithKeywords->PyCFunction
2018-05-30 17:24:43 +03:00
Dmitry Kurtaev
d5b9563263
Custom deep learning layers in Python
2018-04-26 09:25:18 +03:00
Alexander Alekhin
21026bf7cd
python: fix support of UI callbacks
2018-04-19 18:42:01 +03:00
Alexander Alekhin
47e476c9cd
Merge pull request #11217 from dan-masek:fix_issue_11206
2018-04-08 15:12:12 +00:00
Alexander Alekhin
d294e9d62a
Merge pull request #11216 from dan-masek:fix_issue_11205
2018-04-04 15:37:57 +00:00
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
2018-04-03 21:16:34 +03:00
Dan Mašek
f6e299b58b
Fix #11206
2018-04-03 03:24:49 +02:00
Dan Mašek
eae3ed0c08
Fix a leak described in issue #11205
2018-04-03 03:02:21 +02:00
Alexander Alekhin
25be4186bc
python: apply CV_OVERRIDE/CV_FINAL
2018-03-28 18:43:28 +03:00
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.
2018-03-25 20:39:29 +02:00
luz.paz
d05714995c
Misc. modules/ cont. pt2
...
Found via `codespell`
2018-02-13 11:28:11 -05:00
Alexander Alekhin
9e298ea1bb
build: eliminate c++17 Python build warning
2018-02-09 17:09:36 +03:00
Alexander Alekhin
768f4cb7bc
python: 'sub-module' for binding sources and documentation meta information
2017-12-09 21:01:46 +00:00
Vadim Pisarevsky
58a83e99c0
Merge pull request #9839 from terfendail:features/python_wrapper/surface_matching_cleanup
2017-10-27 11:22:10 +00:00
Vitaly Tuzov
868ad16041
Python wrappers for Vec and Matx
2017-10-23 18:50:49 +03:00
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.
2017-10-14 19:06:15 +01:00
Maksim Shabunin
2ac57a2b1f
Merge pull request #9457 from alalek:type_traits_issue_7599
2017-09-06 13:34:29 +00:00
Lewis B
1caca2112b
Merge pull request #8934 from lewisjb:python-classes
...
* Refactor Python Classes
2017-09-05 05:38:17 +00:00
Alexander Alekhin
72f789bf34
core: fix type traits
2017-08-31 15:05:46 +03:00
Alexander Alekhin
46f05f2db6
python: disable assertion in NumpyAllocator
2017-07-30 14:44:11 +03:00
Werner Palfinger
0f42031b10
fixed typo in pyopencv_from Point3d
2017-05-30 16:49:23 +02:00
Pavel Rojtberg
930611dfa8
python: move Ptr specializations above generic_vec to allow vector_Ptr_T
2017-04-27 11:28:31 +02:00
Peter Würtz
a4c70aebd0
Expose UMat OpenCL handles and buffer information to python
2017-04-22 09:42:27 +02:00
Hamdi Sahloul
89088937a7
Avoid memory leakage in smart pointers wrapper
2017-04-01 18:27:57 +09:00
Hamdi Sahloul
c75b589f89
Wraps smart pointers properly
2017-04-01 03:19:29 +09:00
Hans Gaiser
11b24eb49f
Expose CirclesGridFinderParameters in findCirclesGrid.
2017-03-02 10:53:45 +01:00
Maksim Shabunin
220d1f0b3e
Merge pull request #8231 from paroj:pytype
2017-02-27 11:17:02 +00:00
Pavel Rojtberg
789dc0a3b7
python: type of initial_button_state must match format string
2017-02-21 11:11:22 +01:00
Hamdi Sahloul
232d6b87f4
cv::Matx python wrapper
2017-02-21 11:29:28 +09:00
Peter Würtz
c659f94dca
Expose more UMat constructors to python
2017-01-22 13:11:13 +01:00
abratchik
8da1303179
add vector_vector_KeyPoint support to python wrappers
2016-10-16 19:09:35 +04:00