StevenPuttemans
a5f19f7dd6
adding waitChar key to remove issues with waitKey char comparisons
...
done for cpp/markdown/python filters on search function
also added wrapped functionality for Python
then checked all python samples, removed ord() and 0xFF anding - no longer needed -
9 years ago
Alexander Alekhin
a8e2922467
rename samples/{python2 -> python}
10 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
10 years ago
Adam Gibson
b57be28920
Various Python samples updated for Python 2/3 compatibility.
10 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
e9a28f66ee
Normalized file endings.
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
Moshe Kaplan
bd042d9cc3
Fixed shebangs, added error checking
12 years ago
marina.kolpakova
285d6320be
add #/usr/bin/env python to all python files
13 years ago
OpenCV Buildbot
81f826db2b
Normalize line endings and whitespace
13 years ago
OpenCV Buildbot
04384a71e4
Normalize line endings and whitespace
13 years ago
Marina Kolpakova
162f9fd7ea
merged the trunk r8735:8766, r8769, r8777:8780, r8790 and r8800:8811
13 years ago
Alexander Mordvintsev
d49c697fda
added comments to contours.py and edge.py samples
13 years ago
Gary Bradski
dfaabd88fc
added cv2.destroyAllWindows()
13 years ago
Alexander Mordvintsev
fc771363d3
all video processing samples use camera as default source (and fallback to synth in case of capture error)
14 years ago
Alexander Mordvintsev
5b00763bb0
work on demo.py shell
14 years ago
Vadim Pisarevsky
16ba62dcd5
added COLOR_... enumeration to imgproc.hpp and EVENT_... enumeration to highgui.hpp
14 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
Alexander Mordvintsev
d3da43c8e5
distrans.py sample added
14 years ago
Alexander Mordvintsev
1a208fe132
use cv2 function
...
added color_histogram.py sample
work on VideoSynth (chessboard)
14 years ago
Alexander Mordvintsev
b6c19d365f
switched from argparse to getopt for compatibility with Python 2.6
14 years ago
Alexander Mordvintsev
927b5c88ea
python cv2:
...
simple video capture and synth framework stub
edge detection sample
14 years ago