Alexander Alekhin
a0a1fb5fec
python: discover tests from module/misc/python/test paths
6 years ago
Pavel Rojtberg
62775660d1
core: python - test cv::copyTo with pre-allocated dst
6 years ago
Alexander Alekhin
470dfba96c
python: update CMake install rules
6 years ago
Alexander Alekhin
6e2ede8c56
pre: OpenCV 4.1.0 (version++)
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
Pavel Rojtberg
f0ef4b2246
python: sys.path[0] is reserved for the main script
6 years ago
Alexander Alekhin
c9ad5779f2
release: OpenCV 4.0.1 (version++)
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
bb8c19aad3
cmake: fix python install paths
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
ad35b79e3f
python: update install paths
...
- don't require "OPENCV_PYTHON{2,3}_INSTALL_PATH" if OPENCV_SKIP_PYTHON_LOADER=ON
- avoid unnecessary relative paths in generated config-X.Y.py
6 years ago
Alexander Alekhin
a574788e89
move legacy C-API constants into separate files
6 years ago
Alexander Alekhin
ce6acd3ecd
python: bindings loader package
...
Configures and loads OpenCV bindings extension including 3rdparty dependencies
Based on running Python specify:
- configure PYTHON_PATH (via "sys.path")
- configure LD_LIBRARY_PATH / PATH
6 years ago
Alexander Alekhin
2fa9bd221d
core: add utils::findDataFile() / samples::findFile()
6 years ago
Alexander Alekhin
96c71dd3d2
dnn: reduce set of ignored warnings
6 years ago
Jiri Horner
1ba7c728a6
Merge pull request #12827 from hrnr:stitching_4
...
[evolution] Stitching for OpenCV 4.0
* stitching: wrap Stitcher::create for bindings
* provide method for consistent stitcher usage across languages
* samples: add python stitching sample
* port cpp stitching sample to python
* stitching: consolidate Stitcher create methods
* remove Stitcher::createDefault, it returns Stitcher, not Ptr<Stitcher> -> inconsistent API
* deprecate cv::createStitcher and cv::createStitcherScans in favor of Stitcher::create
* stitching: avoid anonymous enum in Stitcher
* ORIG_RESOL should be double
* add documentatiton
* stitching: improve documentation in Stitcher
* stitching: expose estimator in Stitcher
* remove ABI hack
* stitching: drop try_use_gpu flag
* OCL will be used automatically through T-API in OCL-enable paths
* CUDA won't be used unless user sets CUDA-enabled classes manually
* stitching: drop FeaturesFinder
* use Feature2D instead of FeaturesFinder
* interoperability with features2d module
* detach from dependency on xfeatures2d
* features2d: fix compute and detect to work with UMat vectors
* correctly pass UMats as UMats to allow OCL paths
* support vector of UMats as output arg
* stitching: use nearest interpolation for resizing masks
* fix warnings
6 years ago
Alexander Alekhin
cfb02b5370
shape: move sample to opencv_contrib
6 years ago
LaurentBerger
936523ae52
Add python test for copyto with mask
6 years ago
Diego Barrios Romero
7a884ab6a5
Fix closing input file
6 years ago
Alexander Alekhin
aa6e296236
python: eliminate DeprecationWarning: SO -> EXT_SUFFIX
...
- https://python.readthedocs.io/en/stable/whatsnew/3.4.html
- The `sysconfig` key `SO` is deprecated, it has been replaced by `EXT_SUFFIX`
6 years ago
Alexander Alekhin
f731515628
cmake: fix Python detection for standalone bindings
6 years ago
Alexander Alekhin
404893810c
cmake: fix Python detection for standalone bindings
6 years ago
Suleyman TURKMEN
8eb987e393
Update findContours parameter type
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
Dmitry Kurtaev
24ab751547
Merge pull request #12565 from dkurt:dnn_non_intel_gpu
...
* Remove isIntel check from deep learning layers
* Remove fp16->fp32 fallbacks where it's not necessary
* Fix Kernel::run to prevent localsize > globalsize
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
Alexander Alekhin
3cab9e7a9c
3.4: fixes
6 years ago
Dmitry Kurtaev
d259eb28bb
Add python tests for dnn module
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
Alexander Alekhin
95dd4b3f27
bindings: add debug helpers for args conversions
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
ee6415bd1c
Improves a UMat unit test
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
532eace7d6
Extensive wrapping of CUDA functionalities for Python
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