Alexander Alekhin
|
04fad57fc1
|
samples: fix python samples compatibility with demo.py
|
6 years ago |
luz.paz
|
dbb57cd0ae
|
Misc. ./samples typos
Found via `codespell -q 3 --skip="./3rdparty" -I ../opencv-whitelist.txt`
|
7 years ago |
Alexander Alekhin
|
5560db73bf
|
python: 'cv2.' -> 'cv.' via 'import cv2 as cv'
|
7 years ago |
tribta
|
7555ab194f
|
Samples Python:
* Unused variables
* Bad identation
|
7 years ago |
StevenPuttemans
|
6d34d6b47e
|
update samples: waitKey() usage
Original commit is a5f19f7dd6ae5bc93f73e0417a9e0bfd34c01672
|
8 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 |
Adam Gibson
|
b57be28920
|
Various Python samples updated for Python 2/3 compatibility.
|
9 years ago |
berak
|
10639d63f5
|
mouse_and_match.py missing import cv2
|
11 years ago |
Andrey Kamaev
|
f886651cf0
|
Drop old python samples and tests
|
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
|
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 |
Gary Bradski
|
ad2ee1d572
|
import as cv not cv2. Fixed
|
13 years ago |
Gary Bradski
|
dfaabd88fc
|
added cv2.destroyAllWindows()
|
13 years ago |
Gary Bradski
|
778b51a6a1
|
Adding python example of mouse interaction and use of correlation on an image
|
13 years ago |