Gursimar Singh
3dcc8c38b4
Merge pull request #25268 from gursimarsingh:samples_cleanup_python
...
Removed obsolete python samples #25268
Clean Samples #25006
This PR removes 36 obsolete python samples from the project, as part of an effort to keep the codebase clean and focused on current best practices. Some of these samples will be updated with latest algorithms or will be combined with other existing samples.
Removed Samples:
> browse.py
camshift.py
coherence.py
color_histogram.py
contours.py
deconvolution.py
dft.py
dis_opt_flow.py
distrans.py
edge.py
feature_homography.py
find_obj.py
fitline.py
gabor_threads.py
hist.py
houghcircles.py
houghlines.py
inpaint.py
kalman.py
kmeans.py
laplace.py
lk_homography.py
lk_track.py
logpolar.py
mosse.py
mser.py
opt_flow.py
plane_ar.py
squares.py
stitching.py
text_skewness_correction.py
texture_flow.py
turing.py
video_threaded.py
video_v4l2.py
watershed.py
These changes aim to improve the repository's clarity and usability by removing examples that are no longer relevant or have been superseded by more up-to-date techniques.
7 months ago
Alexander Alekhin
04fad57fc1
samples: fix python samples compatibility with demo.py
6 years ago
Alexander Alekhin
c371df4aa2
samples: use findFile() in "python"
6 years ago
Alexander Alekhin
5560db73bf
python: 'cv2.' -> 'cv.' via 'import cv2 as cv'
7 years ago
StevenPuttemans
6d34d6b47e
update samples: waitKey() usage
...
Original commit is a5f19f7dd6
8 years ago
Alexander Alekhin
bb5e25ba7c
migration: github.com/opencv/opencv
9 years ago
Simon Hänisch
6489d8a96f
update watershed.py: check if windows are still open
...
change the `while` loop to check if the two windows created by this example still exist, stop the program otherwise
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
Dmitriy Anisimov
1007c06d44
initial commit
11 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
13 years ago
OpenCV Buildbot
04384a71e4
Normalize line endings and whitespace
13 years ago
Andrey Kamaev
b368f99d03
Merged the trunk r8852:8880
13 years ago
Alexander Mordvintsev
6977a89525
descriptions for watershed.py and video.py
13 years ago
Gary Bradski
dfaabd88fc
added cv2.destroyAllWindows()
13 years ago
Gary Bradski
9164ccbaaf
added 0xFF & in front of every waitKey so that it works on linux
13 years ago
Vadim Pisarevsky
16ba62dcd5
added COLOR_... enumeration to imgproc.hpp and EVENT_... enumeration to highgui.hpp
14 years ago
Alexander Mordvintsev
ae5dd1d748
math.pi -> np.pi
...
squares.py sample added
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
Vadim Pisarevsky
386f147597
a few minor fixes in Python samples
14 years ago
Alexander Mordvintsev
55ba0af2bc
use addWeighted for blending
14 years ago
Alexander Mordvintsev
afad87b5f2
inpaint.py sample added
14 years ago
Alexander Mordvintsev
84568cb18e
python Sketcher utility class
14 years ago
Alexander Mordvintsev
aa695abad2
watershed.py sample added
14 years ago