Egbert van der Wal
dc6a144396
add (optional) index argument to RetrieveFrame method
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
715fa3303e
Move cv::Mat out of core.hpp
12 years ago
Andrey Kamaev
5e7ab8baf3
Move cv::Scalar_ to types.hpp
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
marina.kolpakova
cc538ddfa6
changes related with code review
12 years ago
marina.kolpakova
f7ac73998a
code review fixes
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
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
cd46a674d1
applied patch #2611 that also likely fixes #2505
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
Andrey Kamaev
aabbe11e64
Improve function arguments parsing and checking
...
* always use "argN" names for unnamed arguments
* honor space symbol between typename and "*", "&" symbols
* fix indent errors
12 years ago
Jason Newton
00bdca7684
A few changes to comply with upstream requirements for merge.
...
-Change input/output order from (out Labeled, in Image) -> (in Image, Out Labeled) and convert
to Input/OutputArrays in the process.
-Adopt OutputArray for statistics export so that the algorithm is "wrapper friendly" and not requiring a new struct in
language bindings at the expense of using doubles for everything and slowing statistics computation down..
12 years ago
marina.kolpakova
285d6320be
add #/usr/bin/env python to all python files
12 years ago
Jason Newton
85880397c4
connectedcomponents: use opencv integral types, add to docs, fix up things for a python export
12 years ago
Andrey Kamaev
d0ec65e80c
Fix linux build warning
12 years ago
Vadim Pisarevsky
40a30b6f30
fixed type "compatible -> incompatible" in the error message
12 years ago
Vadim Pisarevsky
d652cc72f2
fixed bugs #2100 (kind of) and #1393
...
[edit: cleaned whitespace]
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
Andrey Kamaev
0e9405e591
Honor resently added functionality in hdr_parser and rst_parser; minor fixes in documentation
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
Andrey Kamaev
bcd0aefbca
Fix gcc build errors and warnings
12 years ago
Vadim Pisarevsky
ff90c3eba6
possibly fixes #2242 and #2257
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