Andrey Kamaev
e75df56317
Unified handling of InputOutputArrays in Python wrapper generator
...
This makes arguments of type InputOutputArray required in python unless they
have a default value in C++.
As result following python functions changes signatures in non-trivial way:
* calcOpticalFlowFarneback
* calcOpticalFlowPyrLK
* calibrateCamera
* findContours
* findTransformECC
* floodFill
* kmeans
* PCACompute
* stereoCalibrate
And the following functions become return their modified inputs as a return
value:
* accumulate
* accumulateProduct
* accumulateSquare
* accumulateWeighted
* circle
* completeSymm
* cornerSubPix
* drawChessboardCorners
* drawContours
* drawDataMatrixCodes
* ellipse
* fillConvexPoly
* fillPoly
* filterSpeckles
* grabCut
* insertChannel
* line
* patchNaNs
* polylines
* randn
* randShuffle
* randu
* rectangle
* setIdentity
* updateMotionHistory
* validateDisparity
* watershed
12 years ago
Andrey Kamaev
2a6fb2867e
Remove all using directives for STL namespace and members
...
Made all STL usages explicit to be able automatically find all usages of
particular class or function.
12 years ago
Vadim Pisarevsky
f14b7af5ac
changed diagnostic from "warning" to "note" in the python wrapper generator, to suppress some noise in opencv utilities
12 years ago
marina.kolpakova
285d6320be
add #/usr/bin/env python to all python files
12 years ago
OpenCV Buildbot
81f826db2b
Normalize line endings and whitespace
12 years ago
OpenCV Buildbot
04384a71e4
Normalize line endings and whitespace
12 years ago
Vadim Pisarevsky
52ede9c84d
fixed just introduced bug in Python wrapper generator
12 years ago
Vadim Pisarevsky
84087a8566
fixed crash in Python's SURF wrapper (bug #2325 )
12 years ago
Alexander Mordvintesv
0adf68ae62
work on #2100 : pyopencv_to functions now can receive argument information through ArgInfo structure. Non-contiguous input numpy arrays are copied. In case of non-contiguous output array the TypeError is thrown.
12 years ago
Andrey Kamaev
ca0962c738
Megred fix for pyrhon API generator regression r8528
13 years ago
Andrey Kamaev
dde8455db2
removed debug print
13 years ago
Andrey Kamaev
0809ae562e
Fixed regression in python wrappers generator
13 years ago
Alexander Mordvintsev
f6fec7ad2f
fixed python GIL reacquire in case of exception
13 years ago
Alexander Mordvintsev
0e27c772aa
using RAII to manage GIL -- still fails to handle exceptions correctly
13 years ago
Alexander Mordvintsev
58174f6ada
Added GIL-release code into python wrappers
...
Added gabor_threads.py sample
13 years ago
Vadim Pisarevsky
d1b5f43700
adjust the header parser to support "public virtual" construction and make a tweak for multiple inheritance, fix potential memory problem with Python's IplImage.tostring() method (ticket #1486 )
13 years ago
Alexander Mordvintsev
d50cc51070
handling Ptr<> arguments and return values in Python wrappers
...
partially wrapped features2d framework
added feature_homography.py sample
13 years ago
Vadim Pisarevsky
a5df21bf24
removed problem with duplicated CV_OUT InputOutputArray parameters (ticket #1348 )
13 years ago
Vadim Pisarevsky
a51a8ad577
fixed tickets #1301 , #1303 , #1305
13 years ago
Vadim Pisarevsky
c9ed7fee34
fixed C++ implementation of Delaunay triangulation and moved it from sample to imgproc.
13 years ago
Vadim Pisarevsky
f2e1a64c1b
fixed "import cv" in the new python samples. corrected Python bindings to match the documentation and vice versa (NOTE: in cv2.stereoCalibrate the parameter ordering has been changed)
14 years ago
Vadim Pisarevsky
2dea07f9f8
repaired Python bindings for functions using InputOutputArray
14 years ago
Vadim Pisarevsky
562914e33b
upgraded to FLANN 1.6. Added miniflann interface, which is now used in the rest of OpenCV. Added Python bindings for FLANN.
14 years ago
Vadim Pisarevsky
b204e73d9a
propagated some more fixes from 2.3 branch to the trunk
14 years ago
Vadim Pisarevsky
22970b8270
fixed multiple GCC warnings on Ubuntu 11.04
14 years ago
Vadim Pisarevsky
2741dd0ea6
make type registration ordering in cv2.so consistent with the declaration order (fixes the class hierarchy; see ticket #1113 )
14 years ago
Andrey Pavlenko
0f5f60f7f5
- extra spaces are removed
...
- static class member modifier processing is fixed (moved from 'rettype' to 'func_modlist')
14 years ago
Alexander Mordvintsev
30f9710d55
fixed #808 and #848
14 years ago
Vadim Pisarevsky
7f7965bc93
separated opencv 1.x and opencv 2.x wrappers. moved tests/python/* to modules/python/test
14 years ago
Vadim Pisarevsky
335370a7c0
moved Python bindings source code into src subdirectory; preparing to add python/doc and python/test subdirectories
14 years ago
Vadim Pisarevsky
59e2afe4d2
fixed the ordering of parameters in PyArg_ParseTupleAndKeywords, added correct Ptr<CvDTreeSplit>::delete_obj() (ticket #406 )
14 years ago
Vadim Pisarevsky
8a8ba57b20
fixed building Python wrappers when Numpy is not available
14 years ago
Vadim Pisarevsky
5b6a755719
almost finished Python wrappers
14 years ago
Vadim Pisarevsky
893fb90b87
extended Python bindings; not merged into cv.cpp yet; and many of the helper functions, like pyopencv_to_*, pyopencv_from_* etc. are still missing
14 years ago