opencv/samples/python
Christoph Rackwitz a64b51dd94
Merge pull request #23108 from crackwitz:issue-23107
Usage of imread(): magic number 0, unchecked result

* docs: rewrite 0/1 to IMREAD_GRAYSCALE/IMREAD_COLOR in imread()

* samples, apps: rewrite 0/1 to IMREAD_GRAYSCALE/IMREAD_COLOR in imread()

* tests: rewrite 0/1 to IMREAD_GRAYSCALE/IMREAD_COLOR in imread()

* doc/py_tutorials: check imread() result
2023-01-09 09:55:31 +00:00
..
tutorial_code Merge pull request #21224 from UncleLLD:fix-cvtColor-error 2021-12-09 19:11:05 +00:00
_coverage.py python: 'cv2.' -> 'cv.' via 'import cv2 as cv' 2017-12-11 13:46:55 +03:00
_doc.py Define execfile, file, long, raw_input, xrange for Python 3 2018-05-03 09:19:05 +02:00
_run_winpack_demo.cmd samples: update Python launcher (winpack) 2018-11-15 23:36:26 +00:00
.gitignore rename samples/{python2 -> python} 2015-12-18 11:00:32 +03:00
asift.py samples: fix python samples compatibility with demo.py 2019-03-20 18:32:34 +03:00
browse.py fix pylint warnings 2019-10-16 18:49:33 +03:00
calibrate.py Merge pull request #23108 from crackwitz:issue-23107 2023-01-09 09:55:31 +00:00
camera_calibration_show_extrinsics.py Update python samples 2022-01-24 11:13:56 +03:00
camshift.py Fixed Typo Closes #15148 2019-08-19 22:52:00 +05:30
CMakeLists.txt rename samples/{python2 -> python} 2015-12-18 11:00:32 +03:00
coherence.py samples: fix python samples compatibility with demo.py 2019-03-20 18:32:34 +03:00
color_histogram.py fix pylint warnings 2019-10-16 18:49:33 +03:00
common.py Update python samples 2022-01-24 11:13:56 +03:00
contours.py samples: fix python samples compatibility with demo.py 2019-03-20 18:32:34 +03:00
deconvolution.py Fix spelling typos 2019-12-27 12:46:53 +00:00
demo.py build: updates for winpack dldt 2020-03-31 20:29:11 +00:00
dft.py samples: fix python samples compatibility with demo.py 2019-03-20 18:32:34 +03:00
digits_adjust.py samples: fix python samples compatibility with demo.py 2019-03-20 18:32:34 +03:00
digits_video.py Update python samples 2022-01-24 11:13:56 +03:00
digits.py Update python samples 2022-01-24 11:13:56 +03:00
distrans.py samples: fix python samples compatibility with demo.py 2019-03-20 18:32:34 +03:00
drawing.py Merge pull request #14107 from adityak2920:aditya 2020-02-20 15:41:55 +03:00
edge.py fix pylint warnings 2019-10-16 18:49:33 +03:00
facedetect.py Update python samples 2022-01-24 11:13:56 +03:00
feature_homography.py python: 'cv2.' -> 'cv.' via 'import cv2 as cv' 2017-12-11 13:46:55 +03:00
find_obj.py prevent index error in find_obj sample 2021-12-23 11:29:27 +03:00
fitline.py fix pylint warnings 2019-10-16 18:49:33 +03:00
floodfill.py samples: fix python samples compatibility with demo.py 2019-03-20 18:32:34 +03:00
gabor_threads.py samples: fix python samples compatibility with demo.py 2019-03-20 18:32:34 +03:00
gaussian_mix.py fix samples 3.4 2021-06-30 12:50:21 +03:00
grabcut.py Minor update in grabcut.py 2020-02-20 16:19:24 +03:00
hist.py fix samples 3.4 2021-06-30 12:50:21 +03:00
houghcircles.py Update python samples 2021-02-21 23:02:16 +03:00
houghlines.py fix pylint warnings 2019-10-16 18:49:33 +03:00
inpaint.py samples: fix python samples compatibility with demo.py 2019-03-20 18:32:34 +03:00
kalman.py Merge pull request #20564 from AleksandrPanov:update_kalman_sample 2021-08-20 10:57:05 +00:00
kmeans.py fix pylint warnings 2019-10-16 18:49:33 +03:00
laplace.py Merge pull request #14107 from adityak2920:aditya 2020-02-20 15:41:55 +03:00
lappyr.py fix pylint warnings 2019-10-16 18:49:33 +03:00
letter_recog.py samples: fix python samples compatibility with demo.py 2019-03-20 18:32:34 +03:00
lk_homography.py fix samples 3.4 2021-06-30 12:50:21 +03:00
lk_track.py fix samples 3.4 2021-06-30 12:50:21 +03:00
logpolar.py samples: fix python samples compatibility with demo.py 2019-03-20 18:32:34 +03:00
morphology.py samples: fix python samples compatibility with demo.py 2019-03-20 18:32:34 +03:00
mosse.py python: 'cv2.' -> 'cv.' via 'import cv2 as cv' 2017-12-11 13:46:55 +03:00
mouse_and_match.py Merge pull request #23108 from crackwitz:issue-23107 2023-01-09 09:55:31 +00:00
mser.py samples: fix python samples compatibility with demo.py 2019-03-20 18:32:34 +03:00
opencv_version.py samples: fix python samples compatibility with demo.py 2019-03-20 18:32:34 +03:00
opt_flow.py fix pylint warnings 2019-10-16 18:49:33 +03:00
peopledetect.py fix pylint warnings 2019-10-16 18:49:33 +03:00
plane_ar.py Misc. ./samples typos 2018-02-08 05:52:08 -05:00
plane_tracker.py python: 'cv2.' -> 'cv.' via 'import cv2 as cv' 2017-12-11 13:46:55 +03:00
qrcode.py Update python samples 2022-01-24 11:13:56 +03:00
squares.py samples: fix python samples compatibility with demo.py 2019-03-20 18:32:34 +03:00
stereo_match.py fix pylint warnings 2019-10-16 18:49:33 +03:00
text_skewness_correction.py Update python samples 2022-01-24 11:13:56 +03:00
texture_flow.py samples: fix python samples compatibility with demo.py 2019-03-20 18:32:34 +03:00
tst_scene_render.py samples: fix python samples compatibility with demo.py 2019-03-20 18:32:34 +03:00
turing.py fix pylint warnings 2019-10-16 18:49:33 +03:00
video_threaded.py fix pylint warnings 2019-10-16 18:49:33 +03:00
video_v4l2.py fix samples 3.4 2021-06-30 12:50:21 +03:00
video.py Removed deprecated 'clock' import. 2019-12-30 13:00:29 +00:00
watershed.py samples: fix python samples compatibility with demo.py 2019-03-20 18:32:34 +03:00