opencv/samples/cpp
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
..
example_cmake build: suppress the warning 2022-07-12 19:42:39 +09:00
tutorial_code Merge pull request #23108 from crackwitz:issue-23107 2023-01-09 09:55:31 +00:00
3calibration.cpp Merge pull request #23108 from crackwitz:issue-23107 2023-01-09 09:55:31 +00:00
application_trace.cpp Update Samples 2019-09-05 01:10:51 +03:00
asift.cpp Merge pull request #17907 from Yosshi999:gsoc_asift-py2cpp 2020-08-03 14:11:55 +00:00
bgfg_segm.cpp samples: use findFile() in "cpp" 2018-11-16 18:08:22 +00:00
calibration.cpp Merge pull request #23108 from crackwitz:issue-23107 2023-01-09 09:55:31 +00:00
camshiftdemo.cpp using argv[0] represent binary executable files' name in help() function 2020-02-28 20:36:56 +08:00
cloning_demo.cpp samples: use findFile() in "cpp" 2018-11-16 18:08:22 +00:00
cloning_gui.cpp samples: use findFile() in "cpp" 2018-11-16 18:08:22 +00:00
CMakeLists.txt Revert "suppress warning on GCC 7 and later" 2022-08-07 15:43:10 +03:00
connected_components.cpp samples: use findFile() in "cpp" 2018-11-16 18:08:22 +00:00
contours2.cpp using argv[0] represent binary executable files' name in help() function 2020-02-28 20:36:56 +08:00
convexhull.cpp Update convexhull.cpp 2021-09-11 23:58:14 +03:00
cout_mat.cpp using argv[0] represent binary executable files' name in help() function 2020-02-28 20:36:56 +08:00
create_mask.cpp Update samples 2020-07-23 20:09:37 +03:00
dbt_face_detection.cpp samples: use findFile() in "cpp" 2018-11-16 18:08:22 +00:00
delaunay2.cpp using argv[0] represent binary executable files' name in help() function 2020-02-28 20:36:56 +08:00
demhist.cpp Update Samples 2019-09-05 01:10:51 +03:00
detect_blob.cpp using argv[0] represent binary executable files' name in help() function 2020-02-28 20:36:56 +08:00
detect_mser.cpp using argv[0] represent binary executable files' name in help() function 2020-02-28 20:36:56 +08:00
dft.cpp Update Samples 2019-09-05 01:10:51 +03:00
digits.cpp using argv[0] represent binary executable files' name in help() function 2020-02-28 20:36:56 +08:00
distrans.cpp using argv[0] represent binary executable files' name in help() function 2020-02-28 20:36:56 +08:00
drawing.cpp using argv[0] represent binary executable files' name in help() function 2020-02-28 20:36:56 +08:00
edge.cpp using argv[0] represent binary executable files' name in help() function 2020-02-28 20:36:56 +08:00
em.cpp Updated ml module interfaces and documentation 2015-02-17 11:46:14 +03:00
facedetect.cpp Merge pull request #23108 from crackwitz:issue-23107 2023-01-09 09:55:31 +00:00
facial_features.cpp using argv[0] represent binary executable files' name in help() function 2020-02-28 20:36:56 +08:00
falsecolor.cpp Fix trackbar in falsecolor cpp sample 2021-11-06 10:11:58 +00:00
fback.cpp using argv[0] represent binary executable files' name in help() function 2020-02-28 20:36:56 +08:00
ffilldemo.cpp using argv[0] represent binary executable files' name in help() function 2020-02-28 20:36:56 +08:00
filestorage.cpp samples: use findFile() in "cpp" 2018-11-16 18:08:22 +00:00
fitellipse.cpp using argv[0] represent binary executable files' name in help() function 2020-02-28 20:36:56 +08:00
flann_search_dataset.cpp Merge pull request #17643 from pemmanuelviel:pev--new-flann-demo 2020-08-10 13:26:40 +00:00
grabcut.cpp Updated grabcut example to show the background in a transparant way 2021-07-14 22:02:27 +02:00
image_alignment.cpp using argv[0] represent binary executable files' name in help() function 2020-02-28 20:36:56 +08:00
image.cpp Merge pull request #16046 from alalek:issue_15990 2019-12-05 14:48:18 +03:00
imagelist_creator.cpp update cpp samples and tutorials 2016-06-26 20:55:00 +03:00
imagelist_reader.cpp Merge pull request #13188 from alalek:samples_rename 2018-11-17 00:35:05 +03:00
imgcodecs_jpeg.cpp build: fix warnings 2022-07-02 00:56:10 +03:00
inpaint.cpp Update Samples 2019-09-05 01:10:51 +03:00
intelligent_scissors.cpp Merge pull request #16853 from SimpleVlad:note 2020-03-19 21:39:54 +00:00
intersectExample.cpp Update samples 2020-07-23 20:09:37 +03:00
kalman.cpp Merge pull request #20564 from AleksandrPanov:update_kalman_sample 2021-08-20 10:57:05 +00:00
kmeans.cpp Merge pull request #10258 from savuor:fix/kmeans_channels 2017-12-15 21:48:48 +03:00
laplace.cpp using argv[0] represent binary executable files' name in help() function 2020-02-28 20:36:56 +08:00
letter_recog.cpp using argv[0] represent binary executable files' name in help() function 2020-02-28 20:36:56 +08:00
lkdemo.cpp Merge pull request #9618 from vipinanand4:goodFeaturesToTrack_added_gradiantSize 2017-09-22 14:04:43 +00:00
logistic_regression.cpp ml: use OpenCV license header for logistic regression 2021-03-17 20:29:52 +00:00
lsd_lines.cpp restore LSD 2021-10-01 16:23:16 +03:00
mask_tmpl.cpp samples: use findFile() in "cpp" 2018-11-16 18:08:22 +00:00
matchmethod_orb_akaze_brisk.cpp using argv[0] represent binary executable files' name in help() function 2020-02-28 20:36:56 +08:00
minarea.cpp samples: use findFile() in "cpp" 2018-11-16 18:08:22 +00:00
morphology2.cpp using argv[0] represent binary executable files' name in help() function 2020-02-28 20:36:56 +08:00
neural_network.cpp Issue 6780 2016-07-07 09:29:41 +02:00
npr_demo.cpp samples: use findFile() in "cpp" 2018-11-16 18:08:22 +00:00
opencv_version.cpp Minor refactoring in several C++ samples: 2018-03-06 14:23:20 +03:00
pca.cpp Merge pull request #23108 from crackwitz:issue-23107 2023-01-09 09:55:31 +00:00
peopledetect.cpp Update Samples 2019-09-05 01:10:51 +03:00
phase_corr.cpp update samples: waitKey() usage 2016-12-15 15:39:47 +03:00
points_classifier.cpp samples: use findFile() in "cpp" 2018-11-16 18:08:22 +00:00
polar_transforms.cpp Update Samples 2019-09-05 01:10:51 +03:00
qrcode.cpp Merge pull request #15338 from rayonnant14:my_detect_and_decode_3.4 2020-01-26 22:18:42 +03:00
segment_objects.cpp using argv[0] represent binary executable files' name in help() function 2020-02-28 20:36:56 +08:00
select3dobj.cpp using argv[0] represent binary executable files' name in help() function 2020-02-28 20:36:56 +08:00
shape_example.cpp Misc. ./samples typos 2018-02-08 05:52:08 -05:00
simd_basic.cpp core: support SIMD intrinsics in user code 2019-07-19 20:33:32 +00:00
smiledetect.cpp Update Samples 2019-09-05 01:10:51 +03:00
squares.cpp Fix squares sample failure when a single file passed 2021-04-28 09:36:04 +03:00
stereo_calib.cpp Merge pull request #23108 from crackwitz:issue-23107 2023-01-09 09:55:31 +00:00
stereo_match.cpp Update the stereo sample: 2020-08-20 12:20:25 +02:00
stitching_detailed.cpp using argv[0] represent binary executable files' name in help() function 2020-02-28 20:36:56 +08:00
stitching.cpp samples: use findFile() in "cpp" 2018-11-16 18:08:22 +00:00
text_skewness_correction.cpp Added tutorial for text skewness correction in C++ and Python. 2020-01-23 08:24:39 +03:00
train_HOG.cpp Update train_HOG.cpp 2020-07-23 20:23:31 +03:00
train_svmsgd.cpp samples: avoid using of legacy C-like API 2018-03-26 13:42:35 +03:00
travelsalesman.cpp Fixed compilation warnings in samples: 2018-02-12 18:42:36 +03:00
tree_engine.cpp using argv[0] represent binary executable files' name in help() function 2020-02-28 20:36:56 +08:00
tvl1_optical_flow.cpp samples: use findFile() in "cpp" 2018-11-16 18:08:22 +00:00
videocapture_basic.cpp Update videocapture_basic.cpp 2020-04-24 11:42:45 +03:00
videocapture_camera.cpp samples: videocapture_camera use VideoCapture with 0 index 2018-07-03 15:44:53 +03:00
videocapture_gphoto2_autofocus.cpp FIx misc. source and comment typos 2019-08-15 13:09:52 +03:00
videocapture_gstreamer_pipeline.cpp videoio(docs): fixes 2021-03-07 04:26:49 +00:00
videocapture_image_sequence.cpp Merge pull request #13188 from alalek:samples_rename 2018-11-17 00:35:05 +03:00
videocapture_intelperc.cpp Merge pull request #13188 from alalek:samples_rename 2018-11-17 00:35:05 +03:00
videocapture_openni.cpp Fix spelling typos 2019-12-27 12:46:53 +00:00
videocapture_starter.cpp Large update of videoio doc and samples following mshabunin comments 2016-09-09 18:46:11 +02:00
videostab.cpp samples: apply CV_OVERRIDE/CV_FINAL 2018-03-28 18:43:28 +03:00
videowriter_basic.cpp samples: avoid using of legacy C-like API 2018-03-26 13:42:35 +03:00
warpPerspective_demo.cpp Update warpPerspective_demo.cpp 2020-08-03 12:14:01 +03:00
watershed.cpp Merge pull request #23108 from crackwitz:issue-23107 2023-01-09 09:55:31 +00:00