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
4dfa0a0383
bindings: basic support for #if preprocessor directives
...
- #if 0
- #ifdef __OPENCV_BUILD
5 years ago
Alexander Alekhin
5d96f984b1
python: reduce code size of cv2.cpp
5 years ago
Alexander Alekhin
7ec91aefc1
python: force using of ArgInfo
5 years ago
Alexander Alekhin
973b367da6
python: emit bindings conversion failures on OPENCV_PYTHON_DEBUG=1
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
Lubov Batanina
778f42ad34
Add high level API (Merge pull request #14780 )
...
* Add high level API
* Fix Model
* Add DetectionModel
* Add ClassificationModel
* Fix classify
* Add python test
* Fix pytest
* Fix comments to review
* Fix detect
* Fix docs
* Modify DetectionOutput postprocessing
* Fix test
* Extract ref boxes
* Fix draw rect
* fix test
* Add rect wrap
* Fix wrap
* Fix detect
* Fix Rect wrap
* Fix OCL_FP16
* Fix MyriadX
* Fix nms
* Fix NMS
* Fix coords
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
f5ca9d3fe1
python: visibility
6 years ago
Ahmed Ashour
5c56b8ce92
java: generated code to have javadoc
6 years ago
Alexander Alekhin
030e955db7
python: support Python list for cv::Range
6 years ago
Alexander Alekhin
f5b58e5fc9
bindings: backport generator from OpenCV 4.x
...
- better handling of enum arguments
- less merge conflicts
6 years ago
Maksim Shabunin
8c1e0537ec
Merge pull request #13889 from mshabunin:enable-narrowing-warning
...
* Enabled -Wnarrowing warning
* Fixed type narrowing issues
* Cast python constants
* Use long long for python constants
* Use int for python constants with fallback to long
* Update cv2.cpp
6 years ago
Dmitry Kurtaev
6bcf0b5519
Merge pull request #13482 from dkurt:fix_python_bindings_without_stitching
...
* Fix python bindings without stitching module
* stitching: move stitching specific code into modules/stitching/misc
6 years ago
Dmitry Kurtaev
6fbcb283b9
Try to fix "enum struct" wrapping for Java
6 years ago
LaurentBerger
2fb409b286
Merge pull request #13267 from LaurentBerger:StitchPython
...
* Python wrapper for detail
* hide pyrotationwrapper
* copy code in pyopencv_rotationwarper.hpp
* move ImageFeatures MatchInfo and CameraParams in core/misc/
* add python test for detail
* move test_detail in test_stitching
* rename
6 years ago
Alexander Alekhin
c8f934b5b1
Merge pull request #13415 from alalek:issue_13406
...
* python: add checks for drawKeypoints() symbol
* python: more hacks in hdr_parser.py
6 years ago
Alexander Alekhin
96c71dd3d2
dnn: reduce set of ignored warnings
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
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
6 years ago
Hamdi Sahloul
03b3be0f51
MSVC: Slience external/meaningless warnings
6 years ago
Alexander Alekhin
89720ae24d
python: fix "unsigned int" / "size_t" overloading conflict
6 years ago
Hamdi Sahloul
a39e0daacf
Utilize CV_UNUSED macro
6 years ago
Sayed Adel
f5d181db3a
python:ppc64 Add missing support for PyLongObject
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
669ee0415a
Rewrite the UMat Python wrapper
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
berak
21f3987d53
python: add support for NMSBoxes
6 years ago
Hamdi Sahloul
b5eb65e53e
Improve Python binding generator with mappable types and phantom headers
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
900df21b7d
Support enum-type detection for binding generator
6 years ago
Hamdi Sahloul
93bad514a8
Easy binding for python code generator
6 years ago
Hamdi Sahloul
293facbae7
Support Python binding for CUDA functionalities
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()
7 years ago
ilovezfs
0c4328fbf3
Python 3.7 compatability
...
The result of PyUnicode_AsUTF8() is now of type const char * rather of
char *.
7 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