Gabe Schwartz
bb209193c9
Updated usage of METH_X definitions for python 3.
...
Python 3 requires METH_VARARGS | METH_KEYWORDS, not just METH_KEYWORDS.
12 years ago
Gabe Schwartz
bce1b352e7
Updated cmake files to use print().
...
In these cases, just using print() is enough to ensure py2/3
compatibility.
12 years ago
Gabe Schwartz
fb9781b97b
Updated cv2.cpp to support Python 3 API.
...
Added a header with defines to enable the module to compile with either
python 2 or 3 without changes.
12 years ago
Gabe Schwartz
931ebab822
Updated generator and parser to support Python 3.
12 years ago
Andrey Kamaev
b8ed00bd64
Compile OpenCV with GCC visibility set to hidden
12 years ago
Egbert van der Wal
dc6a144396
add (optional) index argument to RetrieveFrame method
12 years ago
Pablo Speciale
caf449a991
The deletion of "cv.py" file (Commit b2ba8b9
) breaks "make install"
12 years ago
Andrey Kamaev
298ccf6487
Turn pyopencv_to and pyopencv_from into templates
...
This protects from unwanted implicit conversions between types at compile time.
12 years ago
Andrey Kamaev
f886651cf0
Drop old python samples and tests
12 years ago
Andrey Kamaev
b2ba8b9969
Drop old python interface
12 years ago
Andrey Kamaev
5e048d1fa5
Move C API of opencv_objdetect to separate file
...
Also move cv::linemod to own header
12 years ago
Roman Donchenko
57d4c86b2b
Fixed the shebang lines on the Python scripts.
...
Also, removed the one from modules/python/src2/cv.py and cleared its
executable bit, since it's not a script.
12 years ago
Andrey Kamaev
199a35a105
Move C API of opencv_video to separate file
12 years ago
Andrey Kamaev
b0e6606b98
Cleanup core module API
...
* Drop some low level API
* Remove outdated overloads
* Utilize Input/OutputArray
12 years ago
Andrey Kamaev
69648f0a6f
Make photo.hpp independent from C API
12 years ago
Andrey Kamaev
0738ea7d0f
Make highgui.hpp independent from C API
12 years ago
Dustin Spicuzza
64b5784c0b
Catch exceptions when large allocations fail
12 years ago
Andrey Pavlenko
75ea10e6ff
fix for #2806 (missing 'nu03' field of moments)
12 years ago
Andrey Kamaev
7193a73ca0
Move FileStorage to separate header
12 years ago
Andrey Kamaev
715fa3303e
Move cv::Mat out of core.hpp
12 years ago
Andrey Kamaev
5e7ab8baf3
Move cv::Scalar_ to types.hpp
12 years ago
Andrey Kamaev
2249f19120
Move cv::Range, cv::KeyPoint and cv::DMatch
12 years ago
Vadim Pisarevsky
f8b61e4eca
fixed hopefully last warnings in the doc builder
12 years ago
Vadim Pisarevsky
44157c421f
fixed python test failures (modified stereo correspondence test to use cv2.* stuff), fixed docs
12 years ago
Andrey Kamaev
be7bbe3aa9
Drop cv:: prefix from cv::String used inside the cv namespace
12 years ago
Andrey Kamaev
707d3e0a62
Python wrapper is adapted for cv::String
12 years ago
Vadim Pisarevsky
40dd25d6c2
restored CV_EXPORTS_W in the background subtraction classes
12 years ago
Vadim Pisarevsky
4e1619d8ee
repaired std::string handling
12 years ago
Vadim Pisarevsky
07e0f7bf59
refactored video module; use the new-style algorithms now
12 years ago
Andrey Kamaev
89356ff16d
Move non-CV functionality from core.hpp to separate utility.hpp header
12 years ago
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
a1c456b7c3
Extract common base header for C and C++ APIs
12 years ago
Andrey Kamaev
ad5cddc007
Main module headers are moved 1 level up
...
e.g. <opencv2/core/core.hpp> become <opencv2/core.hpp>
Also renamed <opencv2/core/opengl_interop.hpp> to <opencv2/core/opengl.hpp>
12 years ago
Andrey Kamaev
980fc93b4d
Fix clang + ccache build warnings
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
43d61d961e
fixed problem with Nx2 numpy arrays in geometrical functions ( #2783 )
12 years ago
marina.kolpakova
cc538ddfa6
changes related with code review
12 years ago
marina.kolpakova
f7ac73998a
code review fixes
12 years ago
marina.kolpakova
1613aa45bc
fix python bindings
12 years ago
marina.kolpakova
f3227c3f1a
merged ICFPreprocessor and Channels -> ChannelFeatureBuilder
12 years ago
Vadim Pisarevsky
79e278c008
applied patch #2587
12 years ago
Vadim Pisarevsky
82b6419d12
added tests for fast (ticket #2613 ) and estimateAffine3D ( #2375 )
12 years ago
Vadim Pisarevsky
abd9675a99
fixed bugs #1718 , #2375 ; attached the new tests to test.py.
12 years ago
Vadim Pisarevsky
4044fbcb33
hopefully fixed handling of 'long' Python type in OpenCV bindings (bug #2193 ). added the corresponding test
12 years ago
Vadim Pisarevsky
2320ec76b4
Extended python bindings to support scalar values and tuples in place of InputArray (i.e. Mat) - ticket #2658 . Added tests for #2611 , #2505 , #2658
12 years ago
Vadim Pisarevsky
a519bbc617
Extended python bindings to support scalar values and tuples in place of InputArray (i.e. Mat) - ticket #2658 . Added tests for #2611 , #2505 , #2658
12 years ago
Vadim Pisarevsky
cd46a674d1
applied patch #2611 that also likely fixes #2505
12 years ago
Andrey Kamaev
46c4390a2e
Hardly refactored CMake script for Java wrappers
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
Andrey Kamaev
b401c6a0c3
Fix discrepancies between function signatures in headers and documentation
12 years ago