-
-
Notifications
You must be signed in to change notification settings - Fork 55.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Clean samples #25006
Comments
Why don't you clean all samples and create a new repo opencv/samples? |
Off-topic, but the |
Clean samples it is the topic. Removing all samples in opencv 5 and ask user to contribute for specific sample with new rule to follow |
We need applications in the repository to make sure they can be built ( And I also agree, that it would be nice to have a separate repository with more utilitarian samples/tools/applications which support multiple OpenCV versions and can depend on other libraries. It would serve as an example for users on how to create their own applications and transition between OpenCV versions.
The interactive-calibration app should be more convenient for this purpose. |
|
Do you mean single |
Tutorials at the top and samples in another repo. |
Ok, I see. Some time ago I had ideas of moving samples to respective modules like it is done in opencv_contrib, for example: https://github.com/opencv/opencv_contrib/tree/4.x/modules/face BTW, opencv_zoo can be seen as a standalone samples repository for modern DL-based algorithms. Perhaps it might be possible to generate some HTML pages/docs for it and integrate them with OpenCV doc. |
Geometry C++ sample combining other shape detection samples #25304 Clean Samples #25006 This PR removes adds a new cpp sample (geometry) which combines different methods of finding and drawing shapes in an image. It makes separate samples for convexHull, fitellipse, minAreaRect, minAreaCircle redudant. Shapes can be changed using hotkeys after running the program ### Pull Request Readiness Checklist See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request - [x] I agree to contribute to the project under Apache 2 License. - [x] To the best of my knowledge, the proposed patch is not based on a code under GPL or another license that is incompatible with OpenCV - [x] The PR is proposed to the proper branch - [x] There is a reference to the original bug report and related work - [ ] There is accuracy test, performance test and test data in opencv_extra repository, if applicable Patch to opencv_extra has the same branch name. - [x] The feature is well documented and sample code can be built with the project CMake
Improving the drawing cpp sample to draw shapes based on user input #25415 Relates to #25006 The updated samples allows user to draw random shapes by using hot keys. ### Pull Request Readiness Checklist See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request - [x] I agree to contribute to the project under Apache 2 License. - [x] To the best of my knowledge, the proposed patch is not based on a code under GPL or another license that is incompatible with OpenCV - [x] The PR is proposed to the proper branch - [x] There is a reference to the original bug report and related work - [ ] There is accuracy test, performance test and test data in opencv_extra repository, if applicable Patch to opencv_extra has the same branch name. - [x] The feature is well documented and sample code can be built with the project CMake
Replaced caffe model with onnx for colorization sample #25433 #25006 Improved sample for colorization with onnx model in cpp and python. Added a demo image in data folder for testing ### Pull Request Readiness Checklist See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request - [x] I agree to contribute to the project under Apache 2 License. - [x] To the best of my knowledge, the proposed patch is not based on a code under GPL or another license that is incompatible with OpenCV - [x] The PR is proposed to the proper branch - [x] There is a reference to the original bug report and related work - [ ] There is accuracy test, performance test and test data in opencv_extra repository, if applicable Patch to opencv_extra has the same branch name. - [x] The feature is well documented and sample code can be built with the project CMake
…mple Improved segmentation sample #25559 #25006 This pull request replaces caffe models with onnx for the dnn segmentation sample in cpp and python fcnresnet-50 and fcnresnet-101 has been replaced u2netp (foreground-background) segmentation onnx model has been added [U2NET](https://github.com/xuebinqin/U-2-Net) ### Pull Request Readiness Checklist - [x] I agree to contribute to the project under Apache 2 License. - [x] To the best of my knowledge, the proposed patch is not based on a code under GPL or another license that is incompatible with OpenCV - [x] The PR is proposed to the proper branch - [x] There is a reference to the original bug report and related work - [ ] There is accuracy test, performance test and test data in opencv_extra repository, if applicable Patch to opencv_extra has the same branch name. - [x] The feature is well documented and sample code can be built with the project CMake
Describe the feature and motivation
samples is one of the main faces of the library. Currently, we have a lot of poorly organized, mainly obsolete samples in OpenCV. We need to clean it up in OpenCV 5 and maybe even in OpenCV 4.
Additional context
No response
The text was updated successfully, but these errors were encountered: