1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-30 07:43:03 +04:00

Merge pull request #25252 from gursimarsingh:cpp_samples_cleanup

Move API focused C++ samples to snippets #25252

Clean Samples #25006
This PR removes 39 outdated C++ samples from the project, as part of an effort to keep the codebase clean and focused on current best practices.
This commit is contained in:
Gursimar Singh
2024-07-11 17:37:21 +05:30
committed by GitHub
parent 1d9ca7160b
commit 9aa5f3f1db
41 changed files with 152 additions and 1279 deletions
@@ -78,7 +78,8 @@ See the OpenCV sample camshiftdemo.c that tracks colored objects.
*/
CV_EXPORTS_W RotatedRect CamShift( InputArray probImage, CV_IN_OUT Rect& window,
TermCriteria criteria );
/** @example samples/cpp/camshiftdemo.cpp
/** @example samples/cpp/snippets/camshiftdemo.cpp
An example using the mean-shift tracking algorithm
*/
@@ -345,7 +346,7 @@ double findTransformECC(InputArray templateImage, InputArray inputImage,
TermCriteria criteria = TermCriteria(TermCriteria::COUNT+TermCriteria::EPS, 50, 0.001),
InputArray inputMask = noArray());
/** @example samples/cpp/kalman.cpp
/** @example samples/cpp/snippets/kalman.cpp
An example using the standard Kalman filter
*/
@@ -430,6 +431,9 @@ CV_EXPORTS_W Mat readOpticalFlow( const String& path );
*/
CV_EXPORTS_W bool writeOpticalFlow( const String& path, InputArray flow );
/** @example samples/cpp/snippets/dis_opticalflow.cpp
An example using the dense optical flow and DIS optical flow algorithms
*/
/**
Base class for dense optical flow algorithms
*/