tribta
7555ab194f
Samples Python:
...
* Unused variables
* Bad identation
7 years ago
StevenPuttemans
6d34d6b47e
update samples: waitKey() usage
...
Original commit is a5f19f7dd6
8 years ago
Alexander Alekhin
ddc0b42bc3
migration: github.com/opencv/opencv
9 years ago
Vladislav Sovrasov
87fc75c6d7
Improvements in tests, bugfix in digits_video sample
9 years ago
Alexander Alekhin
a8e2922467
rename samples/{python2 -> python}
9 years ago
flp
4ed2d6328b
Python samples adapted for Python3 compatibility
...
Common fixes:
- print function
- int / float division
- map, zip iterators in py3 but lists in py2
Known bugs with opencv 3.0.0
- digits.py, called via digits_video.py: https://github.com/Itseez/opencv/issues/4969
- gaussian_mix.py: https://github.com/Itseez/opencv/pull/4232
- video_v4l2.py: https://github.com/Itseez/opencv/pull/5474
Not working:
- letter_recog.py due to changed ml_StatModel.train() signature
9 years ago
berak
fd60e98c5b
fixes for latest changes in opencv3.0 api
...
fixes for latest changes in opencv3.0 api
waitKey() normalization
fixed mser bindings
10 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
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
Moshe Kaplan
bd042d9cc3
Fixed shebangs, added error checking
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
Alexander Mordvintsev
65e2350606
work on digits_video.py
13 years ago
Andrey Kamaev
aa911275c3
Merged the trunk r8907, r8908
13 years ago
Alexander Mordvintsev
1543b46383
HoG and Hellinger-metric preprocess for digit recognition
...
line breaks in fitline.py description
13 years ago
Marina Kolpakova
ab69f5e091
merged python samles
13 years ago
Alexander Mordvintsev
c6685bc9a7
improved recognition accuracy by better region normalization
13 years ago
Alexander Mordvintsev
60dd599aea
discard digit's internal contours in digits_video.py
13 years ago
Alexander Mordvintsev
981564ffe9
work on digits_video.py
13 years ago
Alexander Mordvintsev
c71c82a8f1
work on digits_video.py
13 years ago
Alexander Mordvintsev
b987154ebc
digits_video.py prints warning if trained classifier (should be created by digits.py) not found
13 years ago
Alexander Mordvintsev
6dffc5332d
digits_video.py (VERY IMMATURE)
...
digits.py now saves the resulting SVM classifier for use in digits_video.py
13 years ago